Create custom attribute
Contacts
Create custom attribute
Creates a new custom attribute for contacts
POST
Create custom attribute
Authorizations
API key in Bearer token format
Path Parameters
ID of the chatbot
Body
application/json
Attribute name (must start with a letter and can only contain letters, numbers, underscores, and hyphens)
Pattern:
^[a-zA-Z][a-zA-Z0-9_-]*$Example:
"department"
Attribute data type
Available options:
text, number, boolean, date Example:
"text"
Display label for the attribute
Example:
"Department"
Description of the attribute
Example:
"Employee department"
Whether the attribute is archived
Example:
false