Endpoint
Headers
| Header | Value |
|---|---|
Accept | application/json |
Authorization | Bearer {API_TOKEN} |
Content-Type | application/json |
Path parameters
ID of the active form to submit to.
Body parameters
You can submit form data in two ways. Pick the one that matches how your form is built.Map of form field keys to values. Use this when your form fields are namespaced or you want to keep submission metadata separate from the payload.
data is not provided, every other field in the JSON body (excluding _token and _method) is treated as a form field. Empty and null values are stripped before processing.
Response fields
true when the submission is accepted.Number of automation entries created from this submission.
Human-readable status. Present when no automations are mapped to the form, e.g.
"Form submitted. No automations mapped.".Example response
Error responses
| Status | Meaning |
|---|---|
404 | Form not found or not active |
422 | "No form data provided." — request body is empty |
422 | Validation error from the form mapping (returned via message) |
500 | "Form submission failed." |
