Create custom attribute
Contacts
Create custom attribute
Creates a new custom attribute for contacts
POST
Create custom attribute
Documentation Index
Fetch the complete documentation index at: https://chatbase.co/docs/llms.txt
Use this file to discover all available pages before exploring further.
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