Conversations
Restore a conversation from the trash
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.
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
ai_handoff_reasonstring | nullrequiredWhy the AI agent stepped aside, such as customer_requested, unknown, max_replies, frustration, safety or human_replied. Null when it has not handed off.
ai_pending_approvalsintegerrequiredHow many of the AI agent's actions in this conversation are waiting for a teammate to approve them.
Format: int32
ai_reply_countintegerrequiredHow many replies the AI agent has sent in this conversation.
Format: int32
ai_statestringrequiredWho may speak next: off (the AI agent is not in it), active (the agent answers) or handed_off (only humans from now on).
assigneeobjectrequiredShow child attributesHide child attributes
avatar_urlstring | nullrequiredAddress of the teammate's picture, or null when they have none.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
namestringrequiredThe teammate's name.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
assignment_waitobjectrequiredShow child attributesHide child attributes
reasonstringrequiredWhy the conversation waits for an assignee: no_available_member or all_at_capacity.
sincestringrequiredWhen the conversation started waiting for an assignee.
Format: date-time
channelobjectrequiredShow child attributesHide child attributes
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
namestringrequiredThe name the team gave this channel connection.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
typestringrequiredThe kind of channel: widget, email, api, slack, whatsapp, facebook or instagram.
closed_atstring | nullrequiredWhen the conversation was closed. Null when it has never been closed.
Format: date-time
contactobjectrequiredShow child attributesHide child attributes
avatar_urlstring | nullrequiredURL of the contact's picture. Null when they have none.
emailstring | nullrequiredThe contact's email address. Null when unknown.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
kindstringrequiredHow well the contact is known: user when your app identified them, lead for anyone else.
namestring | nullrequiredThe contact's name. Null when unknown.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
timezonestring | nullrequiredThe contact's IANA time zone, such as Europe/Berlin, for reading times in their local time. Null when unknown.
created_atstringrequiredWhen it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
first_customer_message_atstring | nullrequiredWhen the customer first wrote in this conversation. Null when they have not written yet.
Format: date-time
first_reply_atstring | nullrequiredWhen the customer got their first reply. Null when nobody has replied yet.
Format: date-time
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
inboxobjectrequiredShow child attributesHide child attributes
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
namestringrequiredDisplay name of the inbox, team or member this short form stands for.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
last_activity_atstring | nullrequiredWhen anything last happened in the conversation. Null when nothing has yet.
Format: date-time
last_messageobjectrequiredShow child attributesHide child attributes
authorobjectrequiredShow child attributesHide child attributes
avatar_urlstring | nullrequiredLink to the author's picture. Null when they have none.
idstring | nullrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
namestringrequiredThe author's name as shown on the entry.
typestringrequiredWho wrote the entry: contact, member, agent (the AI), system or integration.
created_atstringrequiredWhen it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
excerptstringrequiredStart of the message as plain text, cut to 140 characters with a trailing … when longer. Empty when the message has no body.
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.
typestringrequiredKind of timeline entry: message, note or event.
last_message_atstring | nullrequiredWhen the latest message was written. Null when there are no messages.
Format: date-time
message_countintegerrequiredHow many messages the conversation holds.
Format: int32
numberintegerrequiredThe human reference number, such as 1042 for #1042. Unique within the workspace and never reused.
Format: int64
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
prioritystringrequiredHow urgent the conversation is: none, low, medium, high or urgent.
snoozed_untilstring | nullrequiredWhen a snoozed conversation wakes and reopens. Null unless status is snoozed.
Format: date-time
spambooleanrequiredTrue when the conversation is marked as spam. A flag beside status, so unmarking it restores where it stood.
statusstringrequiredWhere the conversation stands: open (needs the team), snoozed (until snoozed_until) or closed.
subjectstring | nullrequiredThe conversation's subject line. Null when it has none.
tagsobject[] | nullrequiredThe tags on the conversation, each with its id and name. Empty when it has none.
Show child attributesHide child attributes
colorstring | nullrequiredThe tag's color as a hex value, such as #ff5500, kept as the workspace wrote it; null when it has none.
iconstring | nullrequiredName of the tag's icon; null when it has none.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
namestringrequiredThe tag's name.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
teamobjectrequiredShow child attributesHide child attributes
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
namestringrequiredDisplay name of the inbox, team or member this short form stands for.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
unreadbooleanrequiredTrue when the conversation has something the calling member has not read. Judged for the caller, not for the whole team.
updated_atstringrequiredWhen it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
viewersobject[]The teammates looking at the conversation right now, each with id, name and avatar. Present only when the list asked for viewers.
Show child attributesHide child attributes
avatar_urlstring | nullrequiredWeb address of the viewing teammate's picture. Null when not given.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
namestringrequiredName of the teammate currently viewing the conversation.
waiting_sincestring | nullrequiredSince when the customer has waited for an answer: their latest message is newer than the latest reply. Null when nobody waits or it is closed.
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.