Skip to content
dimmiDocs

Conversations

Start a conversation

POST/api/v1/conversations

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the conversations:write ability

Body

application/json
assignee_idstring

mem_..., me, or null for nobody. A teammate's conversation is theirs by default.

authorstring

member (default): you write first and the customer receives it. contact: you record what the customer wrote.

Available options:contactmember

author_idstring

Import only, author member: the teammate (mem_...) who wrote the first message.

bodystringrequired

The first message in Markdown. As a teammate, the customer receives exactly this text.

Maximum length: 65536

channel_connection_idstring

The channel to send on (chn_..., an email address's channel_connection from GET /email-addresses). Required with author member.

closed_atstring

Import only, with status closed: when it closed; the first message's time by default.

Format: date-time

contactobjectrequired
Show child attributes
emailstring

The 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_idstring

Your 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

idstring

Id of an existing contact, starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. It wins over external_id and email.

namestring

The name to give the customer when they are new, at most 255 characters, such as Ana Silva.

Maximum length: 255

created_atstring

Import 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_idstring

Import 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_idstring

With author contact: the inbox (inbox_...) whose API channel takes the message.

statusstring

Import only: open (default) or closed.

Available options:openclosed

subjectstring

The subject of the conversation, at most 255 characters.

Minimum length: 1 · Maximum length: 255

Response 201

Created
dataobjectrequired
Show child attributes
ai_handoff_reasonstring | nullrequired

Why 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_approvalsintegerrequired

How many of the AI agent's actions in this conversation are waiting for a teammate to approve them.

Format: int32

ai_reply_countintegerrequired

How many replies the AI agent has sent in this conversation.

Format: int32

ai_statestringrequired

Who may speak next: off (the AI agent is not in it), active (the agent answers) or handed_off (only humans from now on).

assigneeobjectrequired
Show child attributes
avatar_urlstring | nullrequired

Address of the teammate's picture, or null when they have none.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

namestringrequired

The teammate's name.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

assignment_waitobjectrequired
Show child attributes
reasonstringrequired

Why the conversation waits for an assignee: no_available_member or all_at_capacity.

sincestringrequired

When the conversation started waiting for an assignee.

Format: date-time

channelobjectrequired
Show child attributes
idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

namestringrequired

The name the team gave this channel connection.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

typestringrequired

The kind of channel: widget, email, api, slack, whatsapp, facebook or instagram.

closed_atstring | nullrequired

When the conversation was closed. Null when it has never been closed.

Format: date-time

contactobjectrequired
Show child attributes
avatar_urlstring | nullrequired

URL of the contact's picture. Null when they have none.

emailstring | nullrequired

The contact's email address. Null when unknown.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

kindstringrequired

How well the contact is known: user when your app identified them, lead for anyone else.

namestring | nullrequired

The contact's name. Null when unknown.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

timezonestring | nullrequired

The contact's IANA time zone, such as Europe/Berlin, for reading times in their local time. Null when unknown.

created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

first_customer_message_atstring | nullrequired

When the customer first wrote in this conversation. Null when they have not written yet.

Format: date-time

first_reply_atstring | nullrequired

When the customer got their first reply. Null when nobody has replied yet.

Format: date-time

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

inboxobjectrequired
Show child attributes
idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

namestringrequired

Display name of the inbox, team or member this short form stands for.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

last_activity_atstring | nullrequired

When anything last happened in the conversation. Null when nothing has yet.

Format: date-time

last_messageobjectrequired
Show child attributes
authorobjectrequired
Show child attributes
avatar_urlstring | nullrequired

Link to the author's picture. Null when they have none.

idstring | nullrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

namestringrequired

The author's name as shown on the entry.

typestringrequired

Who wrote the entry: contact, member, agent (the AI), system or integration.

created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

excerptstringrequired

Start of the message as plain text, cut to 140 characters with a trailing … when longer. Empty when the message has no body.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

typestringrequired

Kind of timeline entry: message, note or event.

last_message_atstring | nullrequired

When the latest message was written. Null when there are no messages.

Format: date-time

message_countintegerrequired

How many messages the conversation holds.

Format: int32

numberintegerrequired

The human reference number, such as 1042 for #1042. Unique within the workspace and never reused.

Format: int64

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

prioritystringrequired

How urgent the conversation is: none, low, medium, high or urgent.

snoozed_untilstring | nullrequired

When a snoozed conversation wakes and reopens. Null unless status is snoozed.

Format: date-time

spambooleanrequired

True when the conversation is marked as spam. A flag beside status, so unmarking it restores where it stood.

statusstringrequired

Where the conversation stands: open (needs the team), snoozed (until snoozed_until) or closed.

subjectstring | nullrequired

The conversation's subject line. Null when it has none.

tagsobject[] | nullrequired

The tags on the conversation, each with its id and name. Empty when it has none.

Show child attributes
colorstring | nullrequired

The tag's color as a hex value, such as #ff5500, kept as the workspace wrote it; null when it has none.

iconstring | nullrequired

Name of the tag's icon; null when it has none.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

namestringrequired

The tag's name.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

teamobjectrequired
Show child attributes
idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

namestringrequired

Display name of the inbox, team or member this short form stands for.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

unreadbooleanrequired

True when the conversation has something the calling member has not read. Judged for the caller, not for the whole team.

updated_atstringrequired

When 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 attributes
avatar_urlstring | nullrequired

Web address of the viewing teammate's picture. Null when not given.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

namestringrequired

Name of the teammate currently viewing the conversation.

waiting_sincestring | nullrequired

Since 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

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.