Conversations
Resend a failed reply
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.
messagestringrequiredId of the message, starting with msg_, such as msg_01jx2m8k4t. Find it with GET /conversations/{conversation}/messages.
Response 201
CreateddataobjectrequiredShow child attributesHide child attributes
aiobjectrequiredShow child attributesHide child attributes
action_callobjectShow child attributesHide child attributes
actionobjectShow child attributesHide child attributes
namestringrequiredThe key of the action the agent ran.
titlestringrequiredThe action's name as people read it.
argumentsobjectThe values the agent passed to the action. Shown to the team only; left out for customers.
decided_byobjectShow 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 teammate who approved or declined the action call.
decision_reasonstringWhy a teammate approved or declined the call, in their words. Shown to the team only; left out when none was given.
expires_atstringWhen a call waiting for a decision lapses. Shown to the team only; left out when it does not expire.
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.
result_summarystringWhat the action came to, in words. Shown to the team only; left out until there is a result.
statestringrequiredWhere the call stands: awaiting_verification, awaiting_confirmation, pending_approval, approved, declined, expired, canceled, running, succeeded or failed.
summarystringrequiredOne line saying what the change is, written from its arguments.
confirmationobjectShow child attributesHide child attributes
action_call_idstringrequiredId of the action call waiting for the customer's yes, starting with aax_. Send it to confirm or cancel the change.
detailsobject[] | nullrequiredThe lines of the confirmation card, each a label and a value; empty when there are none.
Show child attributesHide child attributes
labelstringrequiredName of one line on the confirmation card the customer is asked to approve, such as "Amount".
valuestringrequiredThe value shown beside that line's label on the confirmation card.
expires_atstring | nullrequiredWhen the confirmation lapses if the customer does not answer. Null when it does not expire.
Format: date-time
statusstringrequiredWhere the call stood when the card was written, such as awaiting_confirmation, succeeded, canceled or expired.
textstringrequiredThe summary of the change the customer is asked to confirm, written from its arguments.
titlestringrequiredThe card's title: the name of the change.
generatedbooleanrequiredTrue when the AI agent wrote this message.
outcomestringHow the agent's run ended, such as answered, handoff, unknown, greeted or refused. Left out when not recorded.
run_idstringId of the agent run that wrote the message, starting with air_. Shown to the team only; left out for customers.
sourcesobject[] | nullrequiredThe sources the answer cites, each with a title and address; empty when it cites none.
Show child attributesHide child attributes
excerptstringA line or two of what the cited source says: a help article's description, or the start of the passage the answer drew on. Left out for a source customers may not read.
slugstringSlug of the published help article the source is, for opening it in a help center or the messenger. Left out when the source is not a public help article.
titlestringrequiredTitle of a source the AI answer cites, such as a help article's title.
urlstringrequiredWeb address of the cited source, for checking the answer against it.
attachmentsobject[] | nullrequiredFiles sent with the entry. Empty when there are none or the entry was deleted.
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
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.
bodystring | nullrequiredThe entry's text, read as body_format says. Null once the entry is deleted.
body_formatstringrequiredHow to read body: markdown, or plain for text a customer typed in a mail client, which is never markup.
broadcastobjectShow 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.
namestringrequiredName of the broadcast this message went out with.
conversation_idstringrequiredId of the conversation the entry belongs to, such as conv_....
created_atstringrequiredWhen it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
deleted_atstring | nullrequiredWhen the entry was deleted; it keeps its place with its text gone. Null when not deleted.
Format: date-time
deleted_byobjectrequiredShow 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.
namestringrequiredName of the teammate who deleted the entry.
delivery_errorstring | nullrequiredWhy sending the message to the customer failed. Null when it did not fail.
delivery_statusstring | nullrequiredHow far a message to the customer got: pending, sent, delivered, read or failed; not_applicable for entries that are not delivered anywhere.
edited_atstring | nullrequiredWhen the entry's text was last edited. Null when never edited.
Format: date-time
eventanyrequiredFor an entry of type event, an object saying what happened, such as an assignment. Null for messages and notes.
has_originalbooleanrequiredTrue when an email's whole text, quoted thread included, is kept and can be asked for beyond what body shows.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
mentionsobject[] | nullrequiredThe teammates and teams a note names, with their names. Empty for anything but a note.
Show 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 mentioned teammate's or team's name as it was when the note was written.
typestringrequiredWhat the note mentions: member or team.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
reactionsobject[] | nullrequiredA note's emoji reactions, each with who reacted. Empty for anything but a note.
Show child attributesHide child attributes
countintegerrequiredHow many teammates reacted to the note with this emoji.
Format: int64
emojistringrequiredThe emoji teammates reacted with, such as 👍.
member_idsstring[] | nullrequiredIds of the teammates who reacted with it, in the order they did (each starts with mem_).
read_atstring | nullrequiredWhen the customer saw a teammate's or AI agent's reply. Null when not seen or when the channel does not report it; email never does.
Format: date-time
redactionsobject[] | nullThe redaction rules that changed the text before it was stored, each with its rule and how many matches it replaced. Left out when none did.
Show child attributesHide child attributes
countintegerrequiredHow many matches this redaction rule replaced.
Format: int64
rulestringrequiredThe key of the redaction rule that matched.
scheduled_send_atstring | nullrequiredWhen a reply still waiting to leave will be sent; its writer may undo it until then. Null otherwise.
Format: date-time
sent_atstring | nullrequiredWhen the message was sent. Null when it has not been sent.
Format: date-time
source_deleted_atstring | nullrequiredWhen the author deleted the message where they wrote it, such as in Slack; its text is kept. Null when they did not.
Format: date-time
substantivebooleanrequiredTrue for a real message exchanged with the customer; false for notes, events and automatic messages.
truncatedbooleanrequiredTrue when an email's body was cut at the size limit.
typestringrequiredWhat the entry is: message (exchanged with the customer), note (internal, never shown to the customer) or event (something that happened, such as an assignment).
updated_atstringrequiredWhen it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
metaobjectrequiredShow child attributesHide child attributes
conversationobjectrequiredShow 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.