Skip to content
dimmiDocs

Conversations

Update a conversation

PATCH/api/v1/conversations/{conversation}

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

Tags to put on the conversation, or on each one in a bulk change, as a list of up to 50 tag ids (tag_...) or tag names; a name no tag has yet becomes a new tag. Such as ["tag_01jx2m8k4t", "billing"].

Maximum items: 50

ai_enabledboolean

false keeps every AI agent off the conversation, or each one in a bulk change, until turned on again; true lets the agent answer again, even after a handover.

assignee_idstring

Who the conversation, or each one in a bulk change, goes to: a teammate's id starting with mem_, such as mem_01jx2m8k4t (find it with GET /members), me for yourself, or null to hand it to nobody.

inbox_idstring

Id of the inbox to move the conversation, or each one in a bulk change, to, starting with inbox_, such as inbox_01jx2m8k4t. Find it with GET /inboxes.

notestring

Only with status closed: a note for the team kept with the closing, 1 to 65536 characters, such as Refund sent, nothing more to do.

Minimum length: 1 · Maximum length: 65536

prioritystring

How urgent the conversation is, or each one in a bulk change: none, low, medium, high or urgent, such as "high".

Available options:nonelowmediumhighurgent

remove_tagsstring[] | null

Tags to take off the conversation, or off each one in a bulk change, as a list of up to 50 tag ids (tag_...), such as ["tag_01jx2m8k4t"]. Find them with GET /tags.

Maximum items: 50

snooze_optionstring

Only with status snoozed: the key of one of the workspace's own snooze choices, from GET /snooze-options, at most 40 characters. Send exactly one of snoozed_until, snooze_preset or snooze_option.

Maximum length: 40

snooze_presetstring

Only with status snoozed: later_today (three hours on), tomorrow or next_week (at nine) or one_week (seven days on, at nine), in your time zone, such as "tomorrow". Send exactly one of snoozed_until, snooze_preset or snooze_option.

snoozed_untilstring

Only with status snoozed: when the snooze ends, as an RFC 3339 (ISO 8601) time from a minute to a year ahead, such as 2026-12-01T09:00:00Z. Send exactly one of snoozed_until, snooze_preset or snooze_option.

Format: date-time

spamboolean

true moves the conversation, or each one in a bulk change, to the spam view and out of every other; false brings it back.

statusstring

The status to set: open, closed or snoozed, such as "closed". snoozed also needs exactly one of snoozed_until, snooze_preset or snooze_option. A closed conversation cannot be snoozed: reopen it first.

Available options:openclosedsnoozed

subjectstring

The new subject of the conversation, or of every conversation in a bulk change, 1 to 255 characters, such as Refund for order 1042.

Minimum length: 1 · Maximum length: 255

team_idstring

Id of the team the conversation, or each one in a bulk change, goes to, starting with team_, such as team_01jx2m8k4t (find it with GET /teams), or null for no team.

unreadboolean

true marks the conversation, or each one in a bulk change, unread for you alone; false marks it read.

Response 200

OK
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

metaobjectrequired
Show child attributes
changedstring[] | nullrequired

Names of the conversation fields this request changed, in the order they were applied, such as ["status", "add_tags"]. Empty when nothing changed.

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.