POST/api/v1/forms

Create a form

Creates a form in the project. Provide the form configuration in the data object, including the required name; fields, sender, settings, and template can also be supplied. The response contains the created form and its configuration.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 body field

Form creation parameters provided in the data object.

dataobjectoptional
Object containing the form name and optional fields, sender, settings, and template configuration.

1 status code
200Returns the created form object, including its ID, name, fields, sender, template, and settings.
dataobjectoptional

Error handling

The data object must include name. The fields, sender_id, settings, and template_id properties can be supplied as additional form configuration.