Skip to content

Form Viewer โ€‹

The consumption surface for dynamic forms โ€” open a form definition for display, upload file attachments, and submit answers. This is the side that powers public-facing form pages and any embedded form widgets.

The corresponding authoring endpoints live under Form Builder.

Scopes โ€‹

ScopeReach
forms:readListing forms, opening a form by URL or ID.
forms:submitSubmitting payloads and uploading files.

A typical "customer-facing" API key carries forms:read + forms:submit only; no builder scope, no admin scopes.

Endpoints โ€‹

List Forms โ€‹

GET /api/form/

Returns a page of forms โ€” the viewer view, which exposes only the publishable surface (not authoring internals).

Required scope: forms:read ยท also accepts API key

Query parameters โ€” standard pagination set; see Conventions โ€บ Pagination. Defaults: sort_by=created, sort_order=desc, hydrate=true.

Response 200 โ€” FormInDbCursorPage

Get Form Filter Metadata โ€‹

GET /api/form/filters

Returns filter/operator/sort options for List Forms.

Required scope: forms:read

Response 200 โ€” open metadata object.

Open Form โ€‹

GET /api/form/{url_or_id}

Opens a form for display โ€” returns the viewer-side schema (fields, validations, layout) needed to render the form. The path segment accepts either the form's published URL slug or its raw ID.

Required scope: forms:read ยท also accepts API key

Path parameters

NameTypeRequiredDescription
url_or_idstringyesThe form's URL slug or raw ID.

Response 200 โ€” FormReadViewer

Submit Form โ€‹

POST /api/form/{id}

Submits a completed form payload. The server validates against the form definition and creates a Submission record.

Required scope: forms:submit

Path parameters

NameTypeRequiredDescription
idstringyesForm ID.

Request body โ€” FormSubmissionWriteCreate

Response 200 โ€” FormSubmissionRead

Upload Files to Form โ€‹

POST /api/form/{id}/upload

Uploads file attachments associated with a form submission. Most file-upload-equipped forms call this before the final Submit Form step and reference the returned file handles inside the submission body.

Required scope: forms:submit

Path parameters

NameTypeRequiredDescription
idstringyesForm ID.

Request body โ€” Body_Form_Viewer-Upload_Files_to_Form (multipart/form-data).

Max upload size: 100 MB per request โ€” see Conventions โ€บ Uploads.

Response 200 โ€” upload result with file handles to reference in the submission body.

See also โ€‹

S-Launch