Skip to content
dimmiDocs

Conversations

Conversations API

Read, reply to, tag, assign, and manage customer conversations, inboxes, saved replies, office hours, SLA policies, and redaction rules in dimmi.

How the inbox worksSee how conversations, replies, views, and team assignment fit together.

Conversation attributes

6 endpoints

Conversation bulk changes

1 endpoint

Conversation rating settings

2 endpoints

Conversations

33 endpoints
GETList conversations/conversationsLists a page of one inbox view. With no filters it shows only your own open conversations (filter[view]=mine), so pass filter[view]=all to see the whole inbox.GETList the AI agent's runs on a conversation/conversations/{conversation}/ai/runsLists each time the AI agent worked on a conversation: whether it answered, handed off to the team or skipped, why, and what it cost. Use it to explain...GETList a conversation's ratings/conversations/{conversation}/ratingsReads how the customer rated a closed conversation: each answered ask, newest first, with its score from 1 (terrible) to 5 (amazing), its face and word...GETGet a conversation's tickets/conversations/{conversation}/ticketsGET /conversations/{conversation}/tickets: Reads a conversation's own ticket and the trackers it joined. dimmi REST API reference.GETRead a conversation's thread/conversations/{conversation}/messagesReads a conversation's entries, the latest page first, each page oldest to newest. Type message is what the customer and the team said to each other (author...GETGet a conversation's attributes/conversations/{conversation}/attributesGET /conversations/{conversation}/attributes: Reads a conversation's attribute values and who set each. Returns each active attribute with its value, null...GETList a conversation's SLA clocks/conversations/{conversation}/sla-clocksLists every clock of a conversation and of its customer ticket, newest first. Returns clocks in states running, paused, met, breached or canceled.GETGet a conversation's AI attributes/conversations/{conversation}/ai-attributesReads what the AI found on a conversation for each active attribute. Returns each value found with its attribute, and when the conversation was last read.GETList a conversation's feature requests/conversations/{conversation}/feedback-postsGET /conversations/{conversation}/feedback-posts: Lists the feature requests a conversation was linked to. Returns the requests with status and votes.POSTStart a conversation/conversationsStarts a conversation with its first message. As a teammate (author member, the default) you reach out first on a channel that can start threads, such...POSTTag a conversation/conversations/{conversation}/tagsAdds tags to a conversation, by id or by name; a name no tag has yet becomes a new tag. Returns the conversation with its tags as they are now.POSTAdd an internal note/conversations/{conversation}/notesWrites a note only the team sees; it never reaches the customer and changes neither status nor assignee. Works on closed and spam conversations too.POSTMerge conversations into one/conversations/{conversation}/mergesMoves every message of the source conversations into this one, in the order they happened. The sources are closed and moved to the trash. Only conversations...POSTConvert a conversation to a ticket/conversations/{conversation}/ticketTurns a conversation into a customer ticket of a type. ai_fill proposes field values from the transcript, kept as suggestions until accepted.POSTReply to the customer/conversations/{conversation}/repliesSends a reply the customer receives on the conversation's channel (email, messenger or API). Use only when the person asked you to reply, after showing them...POSTRestore a conversation from the trash/conversations/{conversation}/restorePOST /conversations/{conversation}/restore: Puts a trashed conversation back where it was. Returns the conversation as it is now. dimmi REST API reference.POSTRecord a customer's message/conversations/{conversation}/messagesRecords a message the customer wrote elsewhere, on a conversation of the API channel only. Nothing is sent to the customer; the team gets it like any...POSTLink a conversation to a feature request/conversations/{conversation}/feedback-postsLinks a conversation to the request post_id names, or posts a new one from it with a title, and votes for the conversation's customer. Search GET...POSTReact to a note/conversations/{conversation}/messages/{message}/reactionsAdds your emoji reaction to a note. Only notes take reactions, never what the customer sees. Reacting twice changes nothing; a note holds at most 20...GETGet a conversation/conversations/{conversation}Reads one conversation by id (conv_...) or number (1042 for #1042): status, priority, subject, customer, channel, inbox, assignee, team, tags, AI agent...GETGet a conversation's customer context/conversations/{conversation}/contextReads what the panel beside a conversation shows about its customer in one call: the contact with custom attributes, their company, the ways they reach you...GETGet an AI agent run/conversations/{conversation}/ai/runs/{run}Reads one AI agent run with its steps, the trace of what it did and why it ended as it did. Returns the run and its steps; stored payloads show only when...GETGet a customer email in full/conversations/{conversation}/messages/{message}/originalReads the whole of a customer's email when the thread shows less of it (has_original or truncated is true): the full text and the sanitized HTML, quoted...PATCHUpdate a conversation/conversations/{conversation}Changes several things in one step: status (close, reopen, snooze), assignee, team, priority, subject, inbox, tags, spam and your unread mark.PATCHSet a conversation's attributes/conversations/{conversation}/attributesSets or clears some of a conversation's attribute values. A value set here is never replaced by the AI. Returns the conversation's attributes as they now are.PATCHEdit a note/conversations/{conversation}/messages/{message}Rewrites one of your own notes; it shows as edited. Replies have reached the customer and cannot be edited, and nobody edits another teammate's note.DELETEMove a conversation to the trash/conversations/{conversation}DELETE /conversations/{conversation}: Takes a conversation out of every list and count. Its messages stay, so it can be put back. Returns nothing.DELETERemove a tag from a conversation/conversations/{conversation}/tags/{tag}DELETE /conversations/{conversation}/tags/{tag}: Takes one tag off a conversation. The tag itself stays in the workspace. Returns the conversation...DELETEDelete a message/conversations/{conversation}/messages/{message}Deletes a message: your own reply or note at any time, a teammate's or the customer's only with moderation rights, such as for a pasted card number.DELETEUnlink a conversation from a feature request/conversations/{conversation}/feedback-posts/{post}DELETE /conversations/{conversation}/feedback-posts/{post}: Takes a conversation's link to a request back. The customer's vote stays. dimmi REST API reference.DELETERemove your reaction/conversations/{conversation}/messages/{message}/reactions/{emoji}DELETE /conversations/{conversation}/messages/{message}/reactions/{emoji}: Takes your own emoji reaction off a note. Removing one that is not there changes...POSTResend a failed reply/conversations/{conversation}/messages/{message}/retrySends a reply whose delivery failed (delivery_status failed, with delivery_error saying why) once more, after the cause is fixed. Only a failed reply can be...GETDownload a raw email/conversations/{conversation}/messages/{message}/original/rawDownloads a received email exactly as it arrived, headers and hidden text included. Only for those allowed to read raw mail, and it may be purged by retention.

Inboxes

8 endpoints
GETList inboxes/inboxesLists the inboxes you can open. Conversations land in an inbox from the channels it connects. Returns the inboxes with their access, default team and settings.POSTCreate an inbox/inboxesPOST /inboxes: Adds an inbox, with its own API channel so conversations can be started in it right away. Returns the new inbox. dimmi REST API reference.GETGet an inbox/inboxes/{inbox}GET /inboxes/{inbox}: Reads one inbox: its name, access, default team and assignment settings. Returns the inbox. dimmi REST API reference.GETExplain an inbox's automatic assignment/inboxes/{inbox}/assignment-statusExplains why conversations wait for automatic assignment: who is in the inbox's pool, how much each holds against their limits, why each may not take...PATCHUpdate an inbox/inboxes/{inbox}PATCH /inboxes/{inbox}: Changes an inbox's name, default team or settings, such as how it assigns new conversations. Returns the inbox as it is now.PATCHSet an inbox's office hours/inboxes/{inbox}/hoursGives an inbox office hours of its own, as a copy of the default named after it, or makes it follow the workspace's default again. The AI agent, the Slack...PUTSet who can open an inbox/inboxes/{inbox}/accessOpens an inbox to everyone, or restricts it to the teams and teammates listed, replacing the whole list. Owners and admins open every inbox whatever...DELETEDelete an inbox/inboxes/{inbox}Deletes an inbox, moving its conversations and channels to another inbox in the same step. The default inbox cannot be deleted. Returns nothing.

Redaction rules

5 endpoints

Saved replies

5 endpoints

Saved reply imports

1 endpoint

Schedules

5 endpoints

SLA policies

5 endpoints

Tags

4 endpoints