Skip to content

Form Builder โ€‹

The authoring surface for dynamic forms. These endpoints back the visual form editor in the S-Launch UI and any custom tooling that needs to create, modify, or version form definitions. The runtime/consumption surface lives under Form Viewer.

Scopes โ€‹

ScopeReach
formbuilder:readListing, reading, fetching thumbnails.
formbuilder:writeCreating, updating, deleting, uploading thumbnails.

Endpoints โ€‹

List Forms โ€‹

GET /api/formbuilder/

Returns a page of form definitions.

Required scope: formbuilder: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/formbuilder/filters

Returns filter/operator/sort options for List Forms.

Required scope: formbuilder:read

Response 200 โ€” open metadata object.

Get Form by ID โ€‹

GET /api/formbuilder/{id}

Returns a single form definition โ€” the authoring view, which exposes the full schema, validation, and step structure.

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

Path parameters

NameTypeRequiredDescription
idstringyesForm ID.

Response 200 โ€” FormRead

Get Form Thumbnail โ€‹

GET /api/formbuilder/{id}/thumbnail

Returns the thumbnail image for the form (used by gallery views in the UI).

Required scope: formbuilder:read

Path parameters

NameTypeRequiredDescription
idstringyesForm ID.

Response 200 โ€” image bytes.

Create Form โ€‹

POST /api/formbuilder/

Creates a new form definition.

Required scope: formbuilder:write

Request body โ€” FormWriteCreate

Response 201 โ€” FormRead

Update Form by ID โ€‹

PUT /api/formbuilder/{id}

Replaces the form definition.

Required scope: formbuilder:write

Path parameters

NameTypeRequiredDescription
idstringyesForm ID.

Request body โ€” FormWriteReplace

Response 200 โ€” FormRead

Patch Form โ€‹

PATCH /api/formbuilder/{id}

Partial form definition update.

Required scope: formbuilder:write

Path parameters

NameTypeRequiredDescription
idstringyesForm ID.

Request body โ€” FormWriteUpdate

Response 200 โ€” FormRead

Delete Form by ID โ€‹

DELETE /api/formbuilder/{id}

Deletes the form definition. Existing Submissions for the form are retained as historical records.

Required scope: formbuilder:write

Path parameters

NameTypeRequiredDescription
idstringyesForm ID.

Response 204 โ€” empty.

Upload Form Thumbnail โ€‹

POST /api/formbuilder/{id}/thumbnail

Uploads a thumbnail image for the form.

Required scope: formbuilder:write

Path parameters

NameTypeRequiredDescription
idstringyesForm ID.

Request body โ€” Body_Form_Builder-upload_thumbnail (multipart/form-data).

Response 200 โ€” FormRead

See also โ€‹

  • Form Viewer โ€” the consumption side of the same forms.
  • Submissions โ€” submission records produced when users complete a form.

S-Launch