Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Node example

Runnable demo for @formsreach/node — list forms and submissions with a developer API key.

Prerequisites

  • Node.js ≥ 20
  • A FormsReach developer API key with scopes forms:read and submissions:read (not the public form fr_… key)

Setup

From the monorepo root:

pnpm install
pnpm --filter @formsreach/node build

Run

cd examples/node
FORMSREACH_API_KEY=your_developer_key pnpm start

Optional: target a specific form

FORMSREACH_API_KEY=… FORM_ID=your-form-uuid pnpm start

Expected output

  • Count and names of your forms
  • Detail for the selected form (or first form)
  • Up to 10 submissions plus nextCursor when present
  • CSV export character length

Related