Conversations
Set a conversation's attributes
Sets or clears some of a conversation's attribute values. A value set here is never replaced by the AI. Returns the conversation's attributes as they now are.
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the conversations:write ability
Path parameters
conversationstringrequiredId of the conversation, such as conv_01jx2m8k4t, or its number, such as 1042 for #1042. Find it with GET /conversations or GET /search.
Body
application/jsonvaluesobjectrequiredThe values to set, by key, such as {"issue_type": "Billing"}; null clears one. Each must fit its attribute's type.
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
checked_atstring | nullrequiredWhen the AI last read the conversation. Null when it never has.
Format: date-time
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
valuesobject[] | nullrequiredEach active attribute with its value, and each archived one that still holds one.
Show child attributesHide child attributes
attributeobjectrequiredShow 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
filesobject[] | nullrequiredWith a file attribute, the files the value holds, each with a short-lived link. Empty otherwise.
Show child attributesHide child attributes
blockedbooleanrequiredTrue when the malware scan refused the file, so it cannot be downloaded.
content_idstring | nullrequiredThe id an email's text uses to show this picture in place, written there as cid:<content id>. Null for an ordinary attachment.
content_typestringrequiredThe file's media type, such as image/png or application/pdf.
filenamestringrequiredThe file's name, such as invoice.pdf.
heightinteger | nullrequiredHeight of an image in pixels. Null when it is not known or the file is not an image.
Format: int32
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
scannedbooleanrequiredTrue when the malware scan found the file clean. A file with a url that is not scanned was never checked.
size_bytesintegerrequiredThe file's size in bytes.
Format: int64
urlstring | nullrequiredA link that reads the file for a few minutes; fetch it again when it lapses. Null until the malware scan lets the file through.
widthinteger | nullrequiredWidth of an image in pixels. Null when it is not known or the file is not an image.
Format: int32
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
set_byobjectrequiredShow child attributesHide child attributes
atstringrequiredWhen it was set, as an RFC 3339 time.
Format: date-time
bystringrequiredai, member, workflow or import.
idstring | nullrequiredThe teammate's id when a teammate set it. Null otherwise.
namestring | nullrequiredThe teammate's or the workflow's name. Null for the AI and imports.
reasonstring | nullrequiredWhy the AI chose the value, in a sentence. Null when the AI gave none or someone else set it.
surenessnumber | nullrequiredHow sure the AI was, from 0 to 1. Null when the AI did not say or someone else set it.
Format: double
valueanyrequiredThe value, in the attribute's type: text, a number, true or false, a YYYY-MM-DD date, an RFC 3339 date and time, an option, a list of options or file ids, or a contact or company id. Null when empty.
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.