Create Form
POST/v1/forms/create
IMPORTANT: Use unmapped_field for custom fields. Do NOT add UTM tracking fields - they are automatically added by the system.
Example form_config: { "name": "Contact Form", "namespace": "<use namespace from context>", "fields": [ { "label": "Name", "required": true, "schema": { "unmapped_field": {"id": "name", "type": "FIELD_TYPE_STRING"} } }, { "label": "Email", "required": true, "schema": { "unmapped_field": {"id": "email", "type": "FIELD_TYPE_EMAIL"} } }, { "label": "Message", "required": true, "schema": { "unmapped_field": {"id": "message", "type": "FIELD_TYPE_TEXT_AREA"} } } ] }
Valid field types: FIELD_TYPE_STRING, FIELD_TYPE_EMAIL, FIELD_TYPE_PHONE, FIELD_TYPE_TEXT_AREA, FIELD_TYPE_DROPDOWN, FIELD_TYPE_DATE, FIELD_TYPE_BOOLEAN, FIELD_TYPE_CURRENCY, FIELD_TYPE_FILE, FIELD_TYPE_RADIO, FIELD_TYPE_RICH_TEXT_ELEMENT
Request
Responses
- 200
- default
A successful response.
An unexpected error response.