Conversations
Add a conversation attribute
Adds an attribute every conversation can hold, such as the issue type. Teammates fill it in the conversation's details and the AI can fill it as the customer writes. Returns the attribute.
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the attributes:write ability
Body
application/jsondata_typestringrequiredtext, long_text, number, decimal, choice, multiple_choice, boolean, date, datetime, file, contact or company.
Available options:textlong_textnumberdecimalchoicemultiple_choicebooleandatedatetimefilecontactcompany
descriptionstringWhat it means, up to 500 characters. The AI reads it to decide the value, so say what to look for.
Maximum length: 500
filled_bystringai, teammates or both. The AI fills only text, numbers, yes or no, dates and lists.
Available options:aiteammatesboth
keystringrequiredThe attribute's key, lowercase letters, digits and underscores, such as issue_type.
Maximum length: 64
labelstringrequiredWhat the team calls it, up to 80 characters, such as Issue type.
Maximum length: 80
option_descriptionsobjectWith choice or multiple_choice, what some options mean, by option, 300 characters each, such as {"Billing": "Charges, invoices and refunds"}. The AI reads them.
optionsstring[] | nullWith choice or multiple_choice, the values it may take, at most 200.
Maximum items: 200
required_to_closebooleantrue to stop teammates closing a conversation while it is empty.
team_idsstring[] | nullThe teams that see it in the inbox, every team when empty.
Maximum items: 100
Response 201
CreateddataobjectrequiredShow child attributesHide child attributes
created_atstringrequiredWhen it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
data_typestringrequiredWhat the value is: text, long_text, number, decimal, choice, multiple_choice, boolean, date, datetime, file, contact or company.
descriptionstringrequiredWhat it means; the AI reads it to decide the value. Empty when not set.
filled_bystringrequiredWho fills it: ai, teammates or both.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
keystringrequiredThe attribute's key, as conditions and variables name it: conversation.ai.<key>.
labelstringrequiredWhat the team calls the attribute.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
option_descriptionsobjectrequiredWhat some options mean, by option, for the AI to read. Empty when none is described.
optionsstring[] | nullrequiredWith choice or multiple_choice, the values it may take. Empty otherwise.
required_to_closebooleanrequiredWhether teammates must fill it before closing a conversation.
statusstringrequiredactive while it is filled, archived once it stopped.
team_idsstring[] | nullrequiredThe teams that see it in the inbox. Empty when every team does.
updated_atstringrequiredWhen it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.
Related
/conversation-attributes/orderReorder conversation attributesGET/conversation-attributes/{attribute}/usageSee what uses a conversation attribute