Forms

Dynamic form generation and submission

Get form schema

get

Returns the form schema and configuration for generating a form UI.

Path parameters
form_idintegerRequired

Form identifier

Responses
chevron-right
200

Form schema retrieved

application/json

Dynamic form with JSON schema defining field definitions, validation rules, and actions. Used for generating form UIs and processing form submissions. Supports multi-language translations and pretty URLs. The schema defines input types, labels, and required fields.

pkintegerRequiredExample: 1
namestringOptionalExample: Contact Form
urlstringOptionalExample: /contact/
templatestringOptionalExample: cms/form.html
is_activebooleanRequiredExample: true
created_datestring · date-timeOptional
modified_datestring · date-timeOptional
get
/forms/{form_id}/generate

Submit form data

post

Submits form data for processing. The request body structure depends on the form schema. Returns validation errors if the data does not match the form schema.

Path parameters
form_idintegerRequired

Form identifier

Body

Form data structure depends on the form schema

Other propertiesanyOptional
Responses
chevron-right
200

Form submitted successfully

application/json
objectOptional
post
/forms/{form_id}/generate

Last updated

Was this helpful?