Create a custom field
Defines a new field. Send a label, and the key is derived from it.
type is one of text, number, date, select. A select needs options, at least one and at most 50, and a value is then checked against them, case-insensitively.
A label whose key matches a standard contact variable, such as name, phone or timezone, is refused, because the field would replace that value in the agent’s prompt. caller_pref is refused too, because it holds the contact’s memory.
Cookie-auth callers must send the x-csrf-token header.
Required API key scope: contacts:write.
POST
cURL
Authorizations
Query Parameters
Body
application/json
The field.
cURL
