Skip to main content

Conversation Basics

A conversation is a thread between a contact and your team in one inbox. This page explains what every conversation endpoint has in common.

Display IDs​

In every path, {conversation_id} is the conversation's display ID: the id field in conversation responses and the number shown in the dashboard URL (…/conversations/1501). A few ticket and event responses also show the conversation's internal ID — their pages say so.

Statuses​

Conversation statuses. The status names in the API differ from the labels in the dashboard:

API valueDashboard labelMeaning
openBotThe conversation is handled by the bot / automation.
pendingManualThe conversation is handled by a human agent.
snoozedSnoozedHidden until snoozed_until, then reopened.
resolvedResolvedClosed.

Change the status with Toggle Conversation Status — for example pending to hand a conversation from the bot over to a human.

Tickets​

Every conversation is split into tickets; a new ticket starts when a resolved conversation is reopened. The first ticket opens with the conversation and closes when the conversation is resolved, so one long-lived conversation — a WhatsApp thread, for example — can hold many tickets. Messages and events carry a ticket_id.

No generic update or delete​

There is no PATCH /conversations/{id} and no DELETE /conversations/{id}. Change a conversation through the dedicated endpoints below (status, priority, assignment, labels, custom attributes, SLA, and so on). A conversation is deleted only when its contact is deleted.

To create a conversation, use Add Conversation. If the contact already has a conversation in that inbox, it returns that conversation and adds your message to it instead.

Endpoints in this section​

The fields of the conversation object are explained on Get Conversation.

Who can see a conversation​

All conversation endpoints only return conversations the caller is allowed to see. Member endpoints (/conversations/{conversation_id}/...) return 403 when the caller is not allowed to see that conversation.

  • New rules system: the caller is the assignee, or their role has Inbox read all conversations for the conversation's inbox, or Inbox read (Team) for the inbox and the conversation belongs to one of the caller's teams, or Inbox read unassigned conversations for the inbox and the conversation has no assignee and no team.
  • Legacy: agents with "see all conversations" see everything; other agents see conversations assigned to them, conversations of their teams, and inboxes where they have Inbox read all conversations.
  • Agent-bot tokens can see every conversation, but may only call: create conversation, get conversation, change status, change priority, assign, set labels, set custom attributes, apply SLA, send survey, and create message. The full list of endpoints open to bots, outside conversations too, is under Authentication.

Actions on a conversation also need the matching inbox permission of the caller's role (new rules system), scoped to the conversation's inbox — for example Inbox resolve to resolve it. These are listed per endpoint; the full list is under Inbox permissions.