Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Send your API key as Authorization: Bearer YOUR_API_KEY.

Query Parameters

locationId
string
required

The sub-account. It is the only thing that identifies the tenant on these routes, and it is re-checked against your access on every call. A sub-account that keeps its contacts in a CRM answers 400.

Body

application/json

The field.

label
string
required
Maximum string length: 60
Example:

"Service needed"

type
enum<string>

Defaults to text.

Available options:
text,
number,
date,
select
Example:

"select"

options
string[]

Required for select, at least one.

Maximum array length: 50
{key}
any

Response

The field as defined, with the key your prompts will use.

success
boolean
required
data
object
required
{key}
any