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 these contacts belong to. Your access to it is checked on every call. A sub-account with a CRM answers 400.

Body

application/json

The field.

label
string
required

The field's name. Its key, which a prompt reads as {{key}}, is made from it and never changes.

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