Forms
These endpoints let your own systems publish and change forms, for example the same form for many clients or events, and send a personal link to a list of people. What people send back is on Form submissions.
Visitors fill forms in through the public link, not through the API. If you’d rather have Doxtly react the moment a submission arrives than ask for it yourself, use a workflow.
Send a personal link and match the answer
Section titled “Send a personal link and match the answer”A client should fill in the form, and you want to know which client it was without asking them to type a reference. Turn on the form’s link parameters, then send the link with "queryParams": { "client": "LIN-204" }. When the submission comes in, read it and find LIN-204 under params. The list doesn’t carry params, so this takes the single read, and the key needs Send form links and Read submission.
Before you start
Section titled “Before you start”The overview explains sending requests and lists, and the errors page the errors every endpoint can answer. Each list below names the fields it accepts. Authentication explains how keys work.
A form is a title plus a schema: the elements a visitor sees and the settings that govern the link. The form schema section describes every key. The same options, as they appear in the app, are in Form settings and Fields.
List forms
Section titled “List forms”GET/v1/forms
The forms of your organization, with how often each was opened and filled in. Use it to find a form’s identifier, or to build a report of how your forms are doing.
Key permission: get_forms (List forms)
Headers: X-Api-Key, X-Api-Secret
Query parameters: the list parameters. Filter and sort by id, title, isActive, schemaVersion, viewsCount, opensCount, createdAt and updatedAt. Search by title.
Response: 200, with these fields for each item:
| Field | Type | Meaning |
|---|---|---|
id |
string | The form’s identifier. |
publicToken |
string | The token in the form’s public address (/f/{publicToken}): the form’s link and embeds use it, and it is what you give the plugins or the embed script. Always present. |
answersById |
boolean | true for a form made before public tokens that still opens at its id too (/f/{id}), as its old links, QR codes and plugin embeds use it, until you generate a new address. Always false for a form made since. |
title |
string | Its title. |
isActive |
boolean | Whether its link takes submissions. |
schemaVersion |
integer | Starts at 1 and goes up by one with every update. |
submissionsCount |
integer | Its submissions, leaving out those kept aside as spam. |
viewsCount |
integer | How often the form itself was shown: for a protected link, only after the password was given. |
opensCount |
integer | How often the link was opened, the password prompt included. The same visitor again within half an hour isn’t counted. |
createdAt, updatedAt |
string | When it was created and last changed. |
| Status | When |
|---|---|
400 |
A filter, sort, or page isn’t valid. |
The errors every endpoint can answer apply here too.
Example
Section titled “Example”curl -G 'https://api.doxtly.com/v1/forms' \ -H "X-Api-Key: $DOXTLY_API_KEY" \ -H "X-Api-Secret: $DOXTLY_API_SECRET" \ --data-urlencode 'filter[isActive][eq]=true' \ --data-urlencode 'sort=title' \ --data-urlencode 'perPage=2'Response 200:
{ "items": [ { "id": "01a1ab82-db7d-7658-80f4-d132e727ae40", "publicToken": "mfPF9_TselUP0X7j-YqU2pwxSJMphWZU11zd-DJ9vME", "answersById": true, "title": "Agreement details", "isActive": true, "schemaVersion": 1, "submissionsCount": 0, "viewsCount": 0, "opensCount": 0, "createdAt": "2026-11-05T12:40:42+01:00", "updatedAt": "2026-11-05T12:40:42+01:00" }, { "id": "01a1ab60-e6d6-7e76-8012-25cc713c4d5a", "publicToken": "ofYVRJ6yTEW_a2ev2EShRC6VhJ73PEJBhvYCwUQPoes", "answersById": true, "title": "Book a consultation", "isActive": true, "schemaVersion": 2, "submissionsCount": 6, "viewsCount": 7, "opensCount": 7, "createdAt": "2026-11-05T12:03:36+01:00", "updatedAt": "2026-11-05T13:47:40+01:00" } ], "meta": { "total": 28, "page": 1, "perPage": 2, "totalPages": 14, "hasMore": true, "hasPrevious": false }}Create a form
Section titled “Create a form”POST/v1/forms
Creates a form and makes its link live straight away, unless you send isActive: false. Useful for publishing the same form for many clients or events from a script.
Key permission: create_form (Create form)
Headers: X-Api-Key, X-Api-Secret, Content-Type: application/json
Request body:
| Field | Type | Required | Rules |
|---|---|---|---|
title |
string | Yes | Not blank, up to 255 characters. |
schema |
object | Yes | See the form schema. |
isActive |
boolean | No | Default true. |
departmentIds |
array of strings | No | UUIDs of the departments responsible for the form. Empty means the whole organization, which is the default. |
themeId |
string or null | No | The theme of its public page: a built-in theme’s key (branding, standard, neutral, calm, bold, exam, dark) or the id of one of your themes. Left out or null, a new form gets your organization’s default theme and an update keeps the form’s own. standard keeps the look of before themes. Another organization’s theme shows as neutral. |
newTheme |
object or null | No | A theme to make as this is saved, {name, tokens, standardLook, customCss}, as an import’s resolve plans one. It replaces themeId; a theme you already have that is exactly alike, CSS included, is reused. |
A form has no CSS of its own: its look and any custom CSS come from its theme (see Themes of public pages). Before version 3.3.0, forms took a customCss field; a client that still sends it is not refused, and the field is ignored.
Response: 201, the form as in Get a form, with a Location header such as /v1/forms/01a1abe4-735c-76f4-9892-0edeaaad3cb3.
| Status | When |
|---|---|
400 |
A department isn’t one of your organization’s. |
400 |
An image’s content isn’t base64, is over 10 MB, or isn’t a PNG, JPEG, GIF or WebP picture. |
400 |
passwordGuessingProtection is captcha and the form has a password, but no active reCAPTCHA integration has passed its test. |
403 |
Your plan doesn’t include forms, or its limit of forms is reached. |
422 |
A field of the body breaks its rules. violations says which. |
The errors every endpoint can answer apply here too.
Example
Section titled “Example”curl -X POST 'https://api.doxtly.com/v1/forms' \ -H "X-Api-Key: $DOXTLY_API_KEY" \ -H "X-Api-Secret: $DOXTLY_API_SECRET" \ -H 'Content-Type: application/json' \ -d '{ "title": "Partner intake", "isActive": true, "schema": { "submitLabels": { "en": "Send" }, "submissionTitle": "New partner {{ company }}", "successMessage": "Thank you, we will be in touch.", "elements": [ { "id": "company", "elementType": "field", "type": "text", "dataPath": "company", "label": "Company name", "required": true }, { "id": "service", "elementType": "field", "type": "select", "dataPath": "service", "label": "Service", "options": [ { "value": "consulting", "label": "Consulting" }, { "value": "training", "label": "Training" } ] } ] } }'Response 201:
{ "id": "01a1abe4-735c-76f4-9892-0edeaaad3cb3", "publicToken": "sAFZpCfzVDHA4ZGG7cg-mHG1Vz3Q6gSgRdoEtCpaLio", "title": "Partner intake", "schema": { "elements": [ { "elementType": "field", "type": "text", "dataPath": "company", "label": "Company name", "placeholder": null, "info": null, "helperText": null, "required": true, "pattern": null, "cssClass": null, "options": null, "scaleConfig": null, "textareaConfig": null, "numberConfig": null, "dateConfig": null, "timeConfig": null, "dateTimeConfig": null, "fileConfig": null, "computedConfig": null, "codeConfig": null, "defaultValue": null, "spamProtection": false, "id": "company", "condition": { "enabled": false, "mode": "simple", "dataPath": null, "operator": null, "value": null, "expression": null } }, { "elementType": "field", "type": "select", "dataPath": "service", "label": "Service", "placeholder": null, "info": null, "helperText": null, "required": false, "pattern": null, "cssClass": null, "options": [ { "value": "consulting", "label": "Consulting", "condition": null }, { "value": "training", "label": "Training", "condition": null } ], "scaleConfig": null, "textareaConfig": null, "numberConfig": null, "dateConfig": null, "timeConfig": null, "dateTimeConfig": null, "fileConfig": null, "computedConfig": null, "codeConfig": null, "defaultValue": null, "spamProtection": false, "id": "service", "condition": { "enabled": false, "mode": "simple", "dataPath": null, "operator": null, "value": null, "expression": null } } ], "submitLabels": { "en": "Send" }, "submitButtonClass": null, "submissionTitle": "New partner {{ company }}", "wizard": null, "password": null, "metadata": null, "queryParams": null, "saveUserLocation": false, "successMessage": "Thank you, we will be in touch.", "successRedirect": null, "enableRecaptcha": false, "recaptchaIntegrationId": null, "saveFormData": true, "originValidation": null, "ipBlacklist": null, "honeypot": null, "useRateLimits": true, "allowSubmissionEditing": false, "passwordGuessingProtection": "rate_limits", "antiSpam": { "threshold": 4, "action": "quarantine" } }, "isActive": true, "schemaVersion": 1, "submissionsCount": 0, "createdAt": "2026-11-05T14:27:18+01:00", "updatedAt": "2026-11-05T14:27:18+01:00", "departments": []}Get a form
Section titled “Get a form”GET/v1/forms/{id}
The whole form, schema included. Read it before an update: a PUT replaces the form, so you start from what’s there.
Key permission: read_form (Read form)
Headers: X-Api-Key, X-Api-Secret
Path parameters: id, the form’s identifier.
Response: 200:
| Field | Type | Meaning |
|---|---|---|
id |
string | The form’s identifier. |
publicToken |
string | The token in the form’s public address (/f/{publicToken}): the form’s link and embeds use it, and it is what you give the plugins or the embed script. Always present. |
title |
string | Its title. |
schema |
object | The form schema. Every key is present. |
isActive |
boolean | Whether its link takes submissions. |
schemaVersion |
integer | Goes up by one with every update. |
submissionsCount |
integer | Its submissions, leaving out those kept aside as spam. |
createdAt, updatedAt |
string | When it was created and last changed. |
departments |
array | The responsible departments, each with id and name. Empty for the whole organization. |
themeId |
string | The theme of its public page; every form has one, standard for the look of before themes. |
schema.password holds the form’s password only when the key also has create_form, update_form, delete_form, delete_submission or send_form_link. Any other key gets null, even when the form is protected. The view and open counts are in the list only.
| Status | When |
|---|---|
404 |
No such form in your organization. |
The errors every endpoint can answer apply here too.
Example
Section titled “Example”curl 'https://api.doxtly.com/v1/forms/01a1abe4-735c-76f4-9892-0edeaaad3cb3' \ -H "X-Api-Key: $DOXTLY_API_KEY" \ -H "X-Api-Secret: $DOXTLY_API_SECRET"Response 200:
{ "id": "01a1abe4-735c-76f4-9892-0edeaaad3cb3", "publicToken": "sAFZpCfzVDHA4ZGG7cg-mHG1Vz3Q6gSgRdoEtCpaLio", "title": "Partner intake", "schema": { "elements": [ { "elementType": "field", "type": "text", "dataPath": "company", "label": "Company name", "placeholder": null, "info": null, "helperText": null, "required": true, "pattern": null, "cssClass": null, "options": null, "scaleConfig": null, "textareaConfig": null, "numberConfig": null, "dateConfig": null, "timeConfig": null, "dateTimeConfig": null, "fileConfig": null, "computedConfig": null, "codeConfig": null, "defaultValue": null, "spamProtection": false, "id": "company", "condition": { "enabled": false, "mode": "simple", "dataPath": null, "operator": null, "value": null, "expression": null } }, { "elementType": "field", "type": "select", "dataPath": "service", "label": "Service", "placeholder": null, "info": null, "helperText": null, "required": false, "pattern": null, "cssClass": null, "options": [ { "value": "consulting", "label": "Consulting", "condition": null }, { "value": "training", "label": "Training", "condition": null } ], "scaleConfig": null, "textareaConfig": null, "numberConfig": null, "dateConfig": null, "timeConfig": null, "dateTimeConfig": null, "fileConfig": null, "computedConfig": null, "codeConfig": null, "defaultValue": null, "spamProtection": false, "id": "service", "condition": { "enabled": false, "mode": "simple", "dataPath": null, "operator": null, "value": null, "expression": null } } ], "submitLabels": { "en": "Send" }, "submitButtonClass": null, "submissionTitle": "New partner {{ company }}", "wizard": null, "password": null, "metadata": null, "queryParams": null, "saveUserLocation": false, "successMessage": "Thank you, we will be in touch.", "successRedirect": null, "enableRecaptcha": false, "recaptchaIntegrationId": null, "saveFormData": true, "originValidation": null, "ipBlacklist": null, "honeypot": null, "useRateLimits": true, "allowSubmissionEditing": false, "passwordGuessingProtection": "rate_limits", "antiSpam": { "threshold": 4, "action": "quarantine" } }, "isActive": true, "schemaVersion": 1, "submissionsCount": 0, "createdAt": "2026-11-05T14:27:18+01:00", "updatedAt": "2026-11-05T14:27:18+01:00", "departments": []}Update a form
Section titled “Update a form”PUT/v1/forms/{id}
Replaces the form with what you send, and raises schemaVersion by one. Submissions already received stay as they are.
Key permission: update_form (Update form)
Headers: X-Api-Key, X-Api-Secret, Content-Type: application/json
Path parameters: id, the form’s identifier.
Request body: the same as Create a form, with one difference: leaving departmentIds out keeps the departments the form has, and sending [] makes it the whole organization’s.
Response: 200, the form as in Get a form.
| Status | When |
|---|---|
400 |
As for Create a form, apart from the plan’s limit. |
404 |
No such form in your organization. |
422 |
A field of the body breaks its rules. |
The errors every endpoint can answer apply here too.
Example
Section titled “Example”curl -X PUT 'https://api.doxtly.com/v1/forms/01a1abe4-735c-76f4-9892-0edeaaad3cb3' \ -H "X-Api-Key: $DOXTLY_API_KEY" \ -H "X-Api-Secret: $DOXTLY_API_SECRET" \ -H 'Content-Type: application/json' \ -d '{ "title": "Partner intake 2027", "isActive": true, "schema": { "submitLabels": { "en": "Send" }, "elements": [ { "id": "company", "elementType": "field", "type": "text", "dataPath": "company", "label": "Company name", "required": true } ] } }'Response 200:
{ "id": "01a1abe4-735c-76f4-9892-0edeaaad3cb3", "publicToken": "sAFZpCfzVDHA4ZGG7cg-mHG1Vz3Q6gSgRdoEtCpaLio", "title": "Partner intake 2027", "schema": { "elements": [ { "elementType": "field", "type": "text", "dataPath": "company", "label": "Company name", "placeholder": null, "info": null, "helperText": null, "required": true, "pattern": null, "cssClass": null, "options": null, "scaleConfig": null, "textareaConfig": null, "numberConfig": null, "dateConfig": null, "timeConfig": null, "dateTimeConfig": null, "fileConfig": null, "computedConfig": null, "codeConfig": null, "defaultValue": null, "spamProtection": false, "id": "company", "condition": { "enabled": false, "mode": "simple", "dataPath": null, "operator": null, "value": null, "expression": null } } ], "submitLabels": { "en": "Send" }, "submitButtonClass": null, "submissionTitle": null, "wizard": null, "password": null, "metadata": null, "queryParams": null, "saveUserLocation": false, "successMessage": null, "successRedirect": null, "enableRecaptcha": false, "recaptchaIntegrationId": null, "saveFormData": true, "originValidation": null, "ipBlacklist": null, "honeypot": null, "useRateLimits": true, "allowSubmissionEditing": false, "passwordGuessingProtection": "rate_limits", "antiSpam": { "threshold": 4, "action": "quarantine" } }, "isActive": true, "schemaVersion": 2, "submissionsCount": 0, "createdAt": "2026-11-05T14:27:18+01:00", "updatedAt": "2026-11-05T14:27:18+01:00", "departments": []}Delete a form
Section titled “Delete a form”DELETE/v1/forms/{id}
Deletes the form for good. Use it to clean up forms you created for a one-off event.
Key permission: delete_form (Delete form)
Headers: X-Api-Key, X-Api-Secret
Path parameters: id, the form’s identifier.
Response: 204, with no body.
| Status | When |
|---|---|
404 |
No such form in your organization. |
409 |
Workflows still use it (code used_by_workflows, with workflows: their id and name). Change them first. |
The errors every endpoint can answer apply here too.
Example
Section titled “Example”curl -X DELETE 'https://api.doxtly.com/v1/forms/01a1abe4-735c-76f4-9892-0edeaaad3cb3' \ -H "X-Api-Key: $DOXTLY_API_KEY" \ -H "X-Api-Secret: $DOXTLY_API_SECRET"The response is 204 with no body.
Duplicate a form
Section titled “Duplicate a form”POST/v1/forms/{id}/duplicate
Makes a new, inactive copy of a form, for example the same questions for another client or event. The copy is identical to the form, with its elements, pages, conditions, every setting, its theme and departments, and its pictures stored again as its own files. It takes the title you send in title; without one, the original’s with the word for a copy at the end, in the language of the answers: “ (copy)” for Accept-Language: en, “ (copia)” for es, “ (Kopie)” for de and so on, “ (kopia)” when you send none. The original’s title is shortened so that the two fit in 255 characters. To switch it on, use Update a form.
A copy has its own identifier and link, and starts at schemaVersion 1 with no submissions. Everything else in the schema is the original’s, including password, originValidation, ipBlacklist and the reCAPTCHA settings. A workflow started by the original doesn’t start from the copy. See Duplicating a form.
Key permission: duplicate_form (Duplicate form)
Headers: X-Api-Key, X-Api-Secret
Path parameters: id, the form’s identifier.
Body: optional.
| Field | Type | Description |
|---|---|---|
title |
string | The copy’s title, up to 255 characters, spaces around it removed. Leave it out for the original’s title with the word for a copy after it. |
Response: 201, with the copy in the shape of Get a form, and its path in the Location header. One more field, missingPictures, lists the file names of pictures that couldn’t be found in storage. The copy is still made, and those images have no picture. It’s an empty list when all of them came over.
| Status | When |
|---|---|
403 |
Your plan’s limit of forms is reached. Nothing is created. |
404 |
No such form in your organization. |
422 |
title is blank or longer than 255 characters. |
The errors every endpoint can answer apply here too.
Example
Section titled “Example”curl -X POST 'https://api.doxtly.com/v1/forms/01a1aaf9-ffc7-7bfe-90e3-3d6fd0ecae37/duplicate' \ -H "X-Api-Key: $DOXTLY_API_KEY" \ -H "X-Api-Secret: $DOXTLY_API_SECRET" \ -H "Accept-Language: en"Response 201, with elements trimmed and the settings left at their defaults left out:
{ "id": "01a1adf2-d0f4-7a1f-bea7-ff4a93d95cbe", "publicToken": "1XBrUklauD8Xucf5y_p5wF4w7QaPpZ-YSY8y3ZRplnc", "title": "Course certificate request (copy)", "schema": { "elements": [], "submitLabels": { "en": "Request certificate" }, "submissionTitle": "{{ participant.name }}, {{ course.title }}", "password": null, "successMessage": "We will email your certificate shortly.", "enableRecaptcha": false, "recaptchaIntegrationId": null, "originValidation": null, "ipBlacklist": null, "passwordGuessingProtection": "rate_limits" }, "isActive": false, "schemaVersion": 1, "submissionsCount": 0, "createdAt": "2026-11-06T00:02:14+01:00", "updatedAt": "2026-11-06T00:02:14+01:00", "departments": [ { "id": "01a1aaf0-a7c9-73f2-976d-21d34283af74", "name": "Training" } ], "missingPictures": []}Importing a form from a link is done in the app, where a person reviews the draft before anything is saved. The API has no endpoint for it, and a key can’t call it.
Export a form
Section titled “Export a form”GET/v1/forms/{id}/export
The form as it was last saved, as a portable file to import into this organization or another (Import and export). It holds the schema with its pictures inside, its theme by value, and the reCAPTCHA integration and drive files it uses as requirements, named so the importing organization can pick its own. It never holds submissions, the password or the workflows the form starts.
Key permission: export_form (Export forms)
Headers: X-Api-Key, X-Api-Secret
Path parameters: id, the form’s identifier.
Response: 200, with format (doxtly.form), version, title, requirements and content. Importing it is done in the app.
| Status | When |
|---|---|
404 |
No such form in your organization. |
Send a form’s link
Section titled “Send a form’s link”POST/v1/forms/{id}/send-link
Sends the form’s public link to a list of people, each in a message of their own, by email, SMS or WhatsApp. This is how you invite a client from your CRM: add their answers as queryParams.
Key permission: send_form_link (Send form links)
Headers: X-Api-Key, X-Api-Secret, Content-Type: application/json
Path parameters: id, the form’s identifier.
Request body:
| Field | Type | Required | Rules |
|---|---|---|---|
channel |
string | No | email (default), sms or whatsapp. |
templateId |
string | No | A template of yours written for this link, of the channel’s kind. Left out, your default message goes. |
language |
object | No | A language source: {"mode": "organization"} (default) or {"mode": "fixed", "code": "en"}. |
recipients |
array of strings | Yes | At least one: valid email addresses, or phone numbers in international form for sms and whatsapp. |
queryParams |
object | No | Name and value pairs added to the link. |
The template gets the link’s own variables and nothing else: {{ formUrl }}, {{ formName }}, {{ senderName }} and {{ organizationName }}. Every email counts towards your plan; SMS and WhatsApp are billed by your provider.
Response: 200:
| Field | Type | Meaning |
|---|---|---|
url |
string | The link that was sent. |
channel |
string | The channel it went by. |
sendings |
array | One entry per recipient, in the order you sent them. |
sendings[].recipient |
string | The address or number. |
sendings[].status |
string | success or failed: whether the message went out. |
sendings[].id |
string or null | The record of the sending. null for a failure that couldn’t be recorded. |
sendings[].errorMessage |
string or null | Why it failed. |
A 200 doesn’t mean everyone got the message. As long as one went out, the answer is 200, so check each recipient’s status and send again only to those that failed.
| Status | When |
|---|---|
400 |
The form isn’t active, the template isn’t one of yours written for this link, or your organization has no integration for the channel. |
403 |
Your plan doesn’t include sending emails, or the recipients would take you over its limit. |
404 |
No such form in your organization. |
422 |
A field breaks its rules, or a recipient isn’t an address or a number. |
4xx, 500, 503 |
No message could be sent to anybody. The status follows the cause. |
The errors every endpoint can answer apply here too.
Example
Section titled “Example”curl -X POST 'https://api.doxtly.com/v1/forms/01a1cd27-9e62-7d58-bf81-45e7b594ef85/send-link' \ -H "X-Api-Key: $DOXTLY_API_KEY" -H "X-Api-Secret: $DOXTLY_API_SECRET" \ -H 'Content-Type: application/json' \ -d '{"channel":"email","recipients":["anna@lindenlogistics.example","jan@lindenlogistics.example"],"queryParams":{"client":"LIN-204"}}'Response 200:
{ "url": "https://northbridge.app.doxtly.com/f/L1gY32P7vR_V8ZLftijjVLZhh6jPNmjm7a-ynPM1QpY?client=LIN-204", "channel": "email", "sendings": [ { "recipient": "anna@lindenlogistics.example", "status": "success", "id": "01a1cea0-4af8-7e54-a513-f5cf37057968", "errorMessage": null }, { "recipient": "jan@lindenlogistics.example", "status": "success", "id": "01a1cea0-4b3a-71cb-80fd-5cfdd437ea8f", "errorMessage": null } ]}The form schema
Section titled “The form schema”schema is one object with the form’s elements and settings. When you send it, any key can be left out and takes the default shown. When you read it, every key is present.
| Key | Type | Default | What it does |
|---|---|---|---|
elements |
array | [] |
The elements, in order. |
submitLabels |
object | null |
The text of the submit button per language, by language code: { "en": "Send", "pl": "Wyślij" }. A value is at most 100 characters; a language not offered answers 422. The public page chooses among them. |
submitButtonClass |
string | null |
A CSS class for the submit button. |
submissionTitle |
string | null |
The title template of each submission, such as New client {{ company }}, in the expression language. Text that can’t be read is refused with 422. |
successMessage |
string | null |
What the visitor reads after submitting. Markdown works, and so do variables such as {{ dataPath }} and {{ _submission.reference }}. A value is always printed as text. Text that can’t be read is refused with 422. |
successMessages |
object | null |
The success message in each language, by language code: { "en": "Thank you, we will be in touch.", "pl": "Dziękujemy, odezwiemy się." }. Each version is up to 20,000 characters and is written as successMessage is. The page shows the version of its own language, else the browser’s, else your organization’s. A language code Doxtly doesn’t know, or a text that can’t be read, answers 422. When it’s given, successMessage holds its first version. |
successRedirect |
object | null |
Sends the visitor to another page in place of the message: { "url": "https://www.northbridge.example/thank-you", "params": [{ "name": "ref", "variable": "_submission.reference" }] }. url is required, http or https, at most 2000 characters, and params at most 30 rows with unique names, each with a variable written without braces. null keeps the message. |
wizard |
object | null |
Spreads the form over pages. See below. |
password |
string | null |
The password the link asks for. |
passwordGuessingProtection |
string | rate_limits |
rate_limits, captcha or none. Any other value is read as rate_limits. |
metadata |
object | null |
Fixed values your workflows receive as _metadata. See below. |
queryParams |
object | null |
Which link parameters are captured. See below. |
saveUserLocation |
boolean | false |
Asks the visitor’s browser for their location, and keeps it. |
saveFormData |
boolean | true |
Whether the answers are stored with each submission. Off, your workflows don’t get them either. |
allowSubmissionEditing |
boolean | false |
Lets your team correct a submission. While on, the answers and every uploaded file are kept, whatever saveFormData and a field’s persistFile say. |
showResults |
boolean | false |
Gives the form a Results page and the results endpoints. Off, they answer 404. |
enableRecaptcha |
boolean | false |
Checks submissions with reCAPTCHA. |
recaptchaIntegrationId |
string | null |
Which reCAPTCHA integration to check with. null uses your default. |
originValidation |
object | null |
Lets only the listed addresses open and send the form. See below. |
ipBlacklist |
object | null |
Blocks addresses. See below. |
honeypot |
object | null |
A hidden field that catches bots. See below. |
useRateLimits |
boolean | true |
Applies your rate limits to this form. |
antiSpam |
object | see below | What counts as spam, and what happens to it. |
dataSources |
array | [] |
The files from a drive the form reads, as the data source object. What they hold is on the public page for everyone who opens it. |
Keys of these settings with the wrong type aren’t refused: they take their default. Check the response if a setting doesn’t seem to apply.
Elements
Section titled “Elements”Every element has these keys. Elements nest: a section, a container or a dynamic fieldset holds others in children, and the same rules apply at any depth, with violations naming the path, such as schema.elements[0].children[1].label.
| Key | Type | Required | What it does |
|---|---|---|---|
id |
string | Yes | Your name for the element. Not blank. |
elementType |
string | Yes | field, section, container, dynamic_fieldset, header, paragraph, image, video or divider. |
condition |
object | No | When the element is shown. See Conditions. Left out, it’s always shown. |
cssClass |
string | No | A CSS class. |
The other keys depend on elementType:
elementType |
Keys |
|---|---|
field |
See Fields. |
section |
title, description, page (the page, a whole number from 1; empty shows the section inline), children. |
container |
columns (below), gap (a whole number), padding (a CSS value such as 16px), children. |
dynamic_fieldset |
dataPath (required; letters, digits, _ and .), label (required), minItems, maxItems, addButtonLabel, addInitialRow (default true), children. A row can’t hold a section or another dynamic_fieldset, directly or inside a container: that answers 422. |
header |
content (required), level (h1 to h6, default h2), alignment (left, center, right or justify; default left). |
paragraph |
content (required): formatted text in Markdown, with headings, bold, italic, lists, links, tables and quotes. |
image |
imageAsset (below), alt, width (default 600), alignment (left, center or right; default center). |
video |
url (required, a valid URL), title, aspectRatio (16:9, 4:3 or 1:1; default 16:9). |
divider |
variant (solid, dashed or dotted; default solid), thickness (1 to 5, default 1), marginY (0 to 8, default 2). |
A container’s columns says how much of the 12-column grid it takes at each screen size: xs (default 12), and optionally sm, md, lg and xl, each from 1 to 12. See Fields for what each element looks like.
An image’s imageAsset has a filename, which is always required. How you fill in the rest decides what happens:
| You send | Result |
|---|---|
content, as base64 or a data URI |
A new picture is stored: PNG, JPEG, GIF or WebP, up to 10 MB. |
fileId, with no content |
The picture the form already holds stays. A file the form doesn’t hold leaves the image empty. |
When you read a form, each picture comes back with fileId, filename, size and a url to show it from, and content is null. The url is signed and lasts about two hours, so don’t store it. Sending the image back unchanged keeps the picture.
Fields
Section titled “Fields”An element with elementType: "field":
| Key | Type | Required | What it does |
|---|---|---|---|
type |
string | No | text (the default), number, email, textarea, checkbox, select, radio, scale, rating, matrix, ranking, date, time, datetime, password, file, photo, signature, drawing, computed, qrcode or barcode. |
dataPath |
string | Yes, except for computed, qrcode and barcode |
Where the answer lands in the submission. Letters, digits, _ and ., and a dot nests: contact.email. Unique across the form. |
label |
string | Yes | The field’s label. |
required |
boolean | No | Default false. |
placeholder |
string | No | Shown inside an empty field. Takes effect on text, number, email, textarea and password. |
info |
string | No | Text above the field. Markdown works. |
helperText |
string | No | Text under the field. Markdown works. |
pattern |
string | No | A regular expression the answer must match, and it has to be valid. Takes effect on text, number, email and password. It’s read as Unicode, so ^[\p{L} ]+$ accepts Polish letters. |
defaultValue |
string, integer or boolean | No | The value the field starts with. Text may hold variables, such as {{ _contact.firstName ?? "" }} for a personal link. |
spamProtection |
boolean | No | Judges this field with the anti-spam protection. Takes effect on text, email and textarea only. |
options |
array | For select, radio, matrix and ranking |
The choices. Each has value and label, both required, and an optional condition. For a matrix, the answers (columns) every row is given; for a ranking, the items put in order, at least two: fewer answers 422, “A ranking needs at least two options to put in order.” |
textareaConfig |
object | No | minLength, maxLength (not below minLength), rows. |
numberConfig |
object | No | min, max, step. |
scaleConfig |
object | No | min, max (above min) and step (above 0) are whole numbers, required when you send it. minLabel and maxLabel are optional. |
matrixConfig |
object | For matrix |
rows, the statements, up to 50, each with value and label. A grid without rows or with two rows of the same value answers 422, “Add at least one row to the grid, each with its own value.” |
dateConfig |
object | No | format, how the date is displayed, such as dd.MM.yyyy, and constraints. |
timeConfig |
object | No | format, such as HH:mm, and constraints. |
dateTimeConfig |
object | No | For datetime: format, such as dd.MM.yyyy HH:mm, and constraints. The value is always yyyy-MM-ddTHH:mm, the organization’s wall clock. |
codeConfig |
object | For qrcode and barcode |
size (S, M or L, default M), alignment (left, center or right, default left), color (#rrggbb, default #000000). mode, fixed or formula, and value, the text or the formula (required, and a formula must parse). For a barcode format: code128 (the default), code39, code93, ean13, ean8, upca, itf, codabar or msi, and showText, default true. For a QR code errorCorrection: L, M (the default), Q or H. |
fileConfig |
object | No | maxSize in bytes, capped at 25 MB. allowedTypes, a list of MIME types or families such as image/*. persistFile, default true. buttonLabel. camera, boolean: a phone offers to take the photo at once. |
drawingConfig |
object | No | For drawing. color (#rrggbb, default #000000; the designer offers #000000, #1E88E5 and #E53935), respondentPicksColor (default true), strokeWidth (thin, medium or thick, default medium), width (200 to 1200, default 600) and height (100 to 1200, default 400), the canvas in pixels on a wide screen, and allowText and allowShapes (both default true), whether the Text tool and the Rectangle and Ellipse tools are offered beside the pen. background, the picture drawn over, or null for a white canvas: send a new one as { "fileId": "", "filename": "car.png", "content": "data:image/png;base64,…" }, as an image element’s imageAsset, and keep a stored one by its fileId and filename. A form you read gives it with url, the address it is shown from. |
resultsConfig |
object | No | How the field takes part in the results. include: true or false, or null for the default of its type (on for choices, ratings, scales, checkboxes, numbers, dates, times and text; off for email, textarea and computed; password, file, photo, signature, drawing, qrcode, barcode, matrix and ranking are never summed up, whatever it says). ranges, for number and computed: up to 20 ranges, each with from and to (both ends included, one of them null for an open range) and an optional label of up to 50 characters, such as [{ "from": 18, "to": 24 }, { "from": 50, "label": "50+" }]. A range with neither end, or with from greater than to, is refused with 422. |
computedConfig |
object | For computed |
See below. |
A matrix answer is an object with the value of the option chosen for each row, by the row’s value: {"communication": "satisfied", "prices": "neutral"}. A ranking answer is the list of every option’s value, each once, first to last: ["contracts", "gdpr", "negotiation"]. A submission that breaks these is refused with 422: a row or an answer the field doesn’t have gives “Choose one of the given answers in each row.”, a required grid with a row left empty “Answer every row.”, and a ranking that leaves out, repeats or adds an option “Put every option in order, each once.”
The constraints of a date, time or date and time field are the allowed dates and times, checked in the organization’s time zone: earliest and latest (each {"kind": "today", "offsetDays": 0}, {"kind": "fixed", "value": "2026-12-24"} or {"kind": "formula", "expression": "ADDDAYS(start, 30)"}), weekdays (1 for Monday to 7 for Sunday), dates (mode block or allow, fixed days and ranges such as 2026-12-27..2026-12-31, and an optional formula), earliestTime and latestTime (a fixed HH:mm or a formula), minuteStep (1, 5, 10, 15, 30 or 60) and, for a date and time, blockedSlots, a formula giving the moments already taken.
A computed field’s computedConfig takes expression (required, an expression without braces such as qty * price, and it must parse), display (input or text, default input) and format, how the value is shown: kind (auto, number, text, date or datetime), precision (0 to 10), minIntegerDigits (0 to 20), separators (language, or { "decimal": ",", "thousands": " " } with up to 3 characters each; left out, a decimal point and no grouping), prefix and suffix (up to 20), pattern (for date and datetime) and fallback (up to 100). How to write the expression is on Formulas.
Conditions
Section titled “Conditions”A condition shows an element or an option only when something holds. enabled and mode are required whenever you send one.
| Key | Type | What it does |
|---|---|---|
enabled |
boolean | While false, nothing else is checked and the element is always shown. |
mode |
string | simple or expression. |
dataPath |
string | In simple mode, required: the field to look at. |
operator |
string | In simple mode, required: equals, not_equals, contains, greater_than, less_than, is_empty or is_not_empty. |
value |
string | In simple mode, required, except with is_empty and is_not_empty. |
expression |
string | In expression mode, required, and it must parse: an expression without braces, such as client_type == "company" and employees > 50. |
{ "enabled": true, "mode": "simple", "dataPath": "service", "operator": "equals", "value": "training"}Settings objects
Section titled “Settings objects”| Key | Shape | Rules |
|---|---|---|
wizard |
enabled (default false), showProgressBar (default true), progressStyle, nextLabels, nextButtonClass, prevLabels, prevButtonClass |
progressStyle is steps (the default) or bar. nextLabels and prevLabels are the button texts by language code, with the rules of submitLabels; a language without one shows the page’s own word. The form is split into pages only with enabled on and at least one section that has a page. |
queryParams |
enabled (default false), paramWhitelist, a list of { "name": "client", "required": true } |
name is required, and starts with a letter or _, followed by letters, digits and _. An empty list captures every parameter. |
originValidation |
enabled (default false), entries, a list of origins or regular expressions |
While enabled, at least one entry. An entry starting with / is a pattern and must be a valid one, such as /^https:\/\/example\.com$/i. List every address the form is opened from: your website for an embed, and the app’s own address for the public link and iframes. |
ipBlacklist |
enabled (default false), entries, a list of addresses |
While enabled, at least one entry. An IPv4 or IPv6 address, a CIDR range such as 192.168.1.0/24, or an IPv4 range such as 192.168.1.0-192.168.1.255. |
honeypot |
enabled (default false), fieldName |
While enabled, fieldName is required, starts with a letter or _, continues with letters, digits and _, and can’t be a key the form submits under. |
antiSpam |
threshold (default 4), action (default quarantine) |
threshold is from 1 to 10, action is quarantine or reject. It applies only while a field has spamProtection on. An unknown action is read as quarantine. |
metadata |
Keys with text or numbers, or nested objects of the same | A key can’t be empty, start or end with a space, or hold . or a control character. A top-level key can’t start with _. A boolean is stored as text. |
Protecting forms explains when to use each protection.