v50

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-211931021.7 MB
Form Fields

Create a new Form Field

OAuth Scope

This endpoint requires the following OAuth scope manage_forms.

Record UUID

UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the x-record-uuid response header.

post/formfield.json

Request body

form_uuidstring uuid

The UUID of the form this field belongs to.

namestring

The name of the form field.

field_data_jsonstring

JSON configuration for this question, including type, mandatory, choices and conditions.

sort_orderinteger

The sort order of the form field.

uuidstring uuid

Unique identifier for this record

Example request

{
  "form_uuid": "123e4567-474c-4bd2-8215-23f946efea8b",
  "uuid": "123e4567-dda7-4c78-a49b-23f94ae6855b"
}

Response

Success

errorCodenumber
messagestring

Example response

{
  "message": "OK"
}