Skip to content
dimmiDocs

Conversations

Reply to the customer

POST/api/v1/conversations/{conversation}/replies

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the conversations:write ability

Path parameters

conversationstringrequired

Id 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/json
attachment_idsstring[] | null

Up to 10 ids (att_...) of files already uploaded.

Maximum items: 10

author_idstring

Import only: the teammate (mem_...) who wrote it; you by default.

bodystringrequired

The reply in Markdown, written to the customer. Never include notes, secrets or other customers' details. A reply needs a body or at least one attachment.

Maximum length: 65536

client_message_idstring

A unique string, so a retried call finds the first reply instead of sending twice.

Minimum length: 1 · Maximum length: 64

created_atstring

Import only (needs imports:manage): when the reply was written, RFC 3339, not before the conversation's latest entry. Nothing is sent and nothing reacts.

Format: date-time

delayboolean

Ignored for agents: only replies sent from the dashboard wait for undo.

expected_last_message_idstring

The newest message (msg_...) you read. The reply is refused if the customer wrote since, so you never answer a question that changed.

external_idstring

Import only: the reply's id in the tool it comes from; sending it again returns the first copy.

snoozeobject
Show child attributes
optionstring

The key of one of this conversation's snooze choices, from GET /snooze-options, at most 40 characters. With then=snooze send exactly one of until, preset or option.

Maximum length: 40

presetstring

When the snooze ends, as a preset: later_today, tomorrow, next_week or one_week, such as "tomorrow". With then=snooze send exactly one of until, preset or option.

untilstring

When the snooze ends, as an ISO 8601 time, such as 2026-12-01T09:00:00Z. With then=snooze send exactly one of until, preset or option.

Format: date-time

thenstring

What the conversation does after sending: keep (default), open, close or snooze.

Response 201

Created
dataobjectrequired
Show child attributes
aiobjectrequired
Show child attributes
action_callobject
Show child attributes
actionobject
Show child attributes
namestringrequired

The key of the action the agent ran.

titlestringrequired

The action's name as people read it.

argumentsobject

The values the agent passed to the action. Shown to the team only; left out for customers.

decided_byobject
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 teammate who approved or declined the action call.

decision_reasonstring

Why a teammate approved or declined the call, in their words. Shown to the team only; left out when none was given.

expires_atstring

When a call waiting for a decision lapses. Shown to the team only; left out when it does not expire.

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.

result_summarystring

What the action came to, in words. Shown to the team only; left out until there is a result.

statestringrequired

Where the call stands: awaiting_verification, awaiting_confirmation, pending_approval, approved, declined, expired, canceled, running, succeeded or failed.

summarystringrequired

One line saying what the change is, written from its arguments.

confirmationobject
Show child attributes
action_call_idstringrequired

Id of the action call waiting for the customer's yes, starting with aax_. Send it to confirm or cancel the change.

detailsobject[] | nullrequired

The lines of the confirmation card, each a label and a value; empty when there are none.

Show child attributes
labelstringrequired

Name of one line on the confirmation card the customer is asked to approve, such as "Amount".

valuestringrequired

The value shown beside that line's label on the confirmation card.

expires_atstring | nullrequired

When the confirmation lapses if the customer does not answer. Null when it does not expire.

Format: date-time

statusstringrequired

Where the call stood when the card was written, such as awaiting_confirmation, succeeded, canceled or expired.

textstringrequired

The summary of the change the customer is asked to confirm, written from its arguments.

titlestringrequired

The card's title: the name of the change.

generatedbooleanrequired

True when the AI agent wrote this message.

outcomestring

How the agent's run ended, such as answered, handoff, unknown, greeted or refused. Left out when not recorded.

run_idstring

Id of the agent run that wrote the message, starting with air_. Shown to the team only; left out for customers.

sourcesobject[] | nullrequired

The sources the answer cites, each with a title and address; empty when it cites none.

Show child attributes
excerptstring

A 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.

slugstring

Slug 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.

titlestringrequired

Title of a source the AI answer cites, such as a help article's title.

urlstringrequired

Web address of the cited source, for checking the answer against it.

attachmentsobject[] | nullrequired

Files sent with the entry. Empty when there are none or the entry was deleted.

Show child attributes
blockedbooleanrequired

True when the malware scan refused the file, so it cannot be downloaded.

content_idstring | nullrequired

The id an email's text uses to show this picture in place, written there as cid:<content id>. Null for an ordinary attachment.

content_typestringrequired

The file's media type, such as image/png or application/pdf.

filenamestringrequired

The file's name, such as invoice.pdf.

heightinteger | nullrequired

Height of an image in pixels. Null when it is not known or the file is not an image.

Format: int32

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.

scannedbooleanrequired

True when the malware scan found the file clean. A file with a url that is not scanned was never checked.

size_bytesintegerrequired

The file's size in bytes.

Format: int64

urlstring | nullrequired

A 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 | nullrequired

Width of an image in pixels. Null when it is not known or the file is not an image.

Format: int32

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.

bodystring | nullrequired

The entry's text, read as body_format says. Null once the entry is deleted.

body_formatstringrequired

How to read body: markdown, or plain for text a customer typed in a mail client, which is never markup.

broadcastobject
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

Name of the broadcast this message went out with.

conversation_idstringrequired

Id of the conversation the entry belongs to, such as conv_....

created_atstringrequired

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

Format: date-time

deleted_atstring | nullrequired

When the entry was deleted; it keeps its place with its text gone. Null when not deleted.

Format: date-time

deleted_byobjectrequired
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

Name of the teammate who deleted the entry.

delivery_errorstring | nullrequired

Why sending the message to the customer failed. Null when it did not fail.

delivery_statusstring | nullrequired

How far a message to the customer got: pending, sent, delivered, read or failed; not_applicable for entries that are not delivered anywhere.

edited_atstring | nullrequired

When the entry's text was last edited. Null when never edited.

Format: date-time

eventanyrequired

For an entry of type event, an object saying what happened, such as an assignment. Null for messages and notes.

has_originalbooleanrequired

True when an email's whole text, quoted thread included, is kept and can be asked for beyond what body shows.

idstringrequired

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

mentionsobject[] | nullrequired

The teammates and teams a note names, with their names. Empty for anything but a note.

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 mentioned teammate's or team's name as it was when the note was written.

typestringrequired

What the note mentions: member or team.

objectstringrequired

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

reactionsobject[] | nullrequired

A note's emoji reactions, each with who reacted. Empty for anything but a note.

Show child attributes
countintegerrequired

How many teammates reacted to the note with this emoji.

Format: int64

emojistringrequired

The emoji teammates reacted with, such as 👍.

member_idsstring[] | nullrequired

Ids of the teammates who reacted with it, in the order they did (each starts with mem_).

read_atstring | nullrequired

When 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[] | null

The 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 attributes
countintegerrequired

How many matches this redaction rule replaced.

Format: int64

rulestringrequired

The key of the redaction rule that matched.

scheduled_send_atstring | nullrequired

When a reply still waiting to leave will be sent; its writer may undo it until then. Null otherwise.

Format: date-time

sent_atstring | nullrequired

When the message was sent. Null when it has not been sent.

Format: date-time

source_deleted_atstring | nullrequired

When 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

substantivebooleanrequired

True for a real message exchanged with the customer; false for notes, events and automatic messages.

truncatedbooleanrequired

True when an email's body was cut at the size limit.

typestringrequired

What 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_atstringrequired

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

Format: date-time

metaobjectrequired
Show child attributes
conversationobjectrequired
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.