Skip to content
dimmiDocs

Conversations

Edit a note

PATCH/api/v1/conversations/{conversation}/messages/{message}

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.

messagestringrequired

Id of the message, starting with msg_, such as msg_01jx2m8k4t. Find it with GET /conversations/{conversation}/messages.

Body

application/json
bodystringrequired

The note's new text in Markdown, replacing the old text whole.

Maximum length: 65536

Response 200

OK
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
next_cursorstring | nullrequired

Cursor of the next page; send it back as the cursor to read on. Null on the last page.

per_pageintegerrequired

Page size: the most rows one page of this list holds.

Format: int64

prev_cursorstring | nullrequired

Cursor of the previous page. Null on the first page.

totalinteger

How many rows match in all, across every page. Left out when the endpoint did not count.

Format: int64

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.