Conversations
Start a conversation
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the conversations:write ability
Body
application/jsonassignee_idstringmem_..., me, or null for nobody. A teammate's conversation is theirs by default.
authorstringmember (default): you write first and the customer receives it. contact: you record what the customer wrote.
Available options:contactmember
author_idstringImport only, author member: the teammate (mem_...) who wrote the first message.
bodystringrequiredThe first message in Markdown. As a teammate, the customer receives exactly this text.
Maximum length: 65536
channel_connection_idstringThe channel to send on (chn_..., an email address's channel_connection from GET /email-addresses). Required with author member.
closed_atstringImport only, with status closed: when it closed; the first message's time by default.
Format: date-time
contactobjectrequiredShow child attributesHide child attributes
emailstringThe customer's email address, at most 320 characters, such as ana@example.com. Used to find them when no id or external_id is given; a new contact is added when none matches.
Format: email · Maximum length: 320
external_idstringYour own system's id of the customer, 1 to 255 characters, such as user_8421. Used to find them when no id is given; a new contact is added when none matches.
Minimum length: 1 · Maximum length: 255
idstringId of an existing contact, starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. It wins over external_id and email.
namestringThe name to give the customer when they are new, at most 255 characters, such as Ana Silva.
Maximum length: 255
created_atstringImport only (needs imports:manage): when the conversation really started, RFC 3339, from 2000 to now. Any import field records history: nothing is sent and nothing reacts.
Format: date-time
external_idstringImport only: the conversation's id in the tool it comes from; sending it again returns the first copy.
Minimum length: 1 · Maximum length: 255
inbox_idstringWith author contact: the inbox (inbox_...) whose API channel takes the message.
statusstringImport only: open (default) or closed.
Available options:openclosed
subjectstringThe subject of the conversation, at most 255 characters.
Minimum length: 1 · Maximum length: 255
Response 201
CreateddataobjectrequiredShow 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.