Get a conversation

SDK platic.conversations.get()

Get one conversation by its id. The response does not include its messages: read them with List messages.

The ID is always the conversation's id, as returned by List conversations and Search conversations. A phone number or the old V1 conversationId key is never accepted.

Example

const { data, included, meta } = await platic.conversations.get("8Yc2kQ1mZ0rTq4Lp7WvX", {
  fields: ["status", "operation", "assigneeIds", "cases"],
  include: ["assignees"],
});

console.log(data.status, data.operation, meta.resourceVersion);

A conversation that does not exist or that the credential cannot read throws NotFoundError with code CONVERSATION_NOT_FOUND.

Path parameters

ParameterTypeDescriptionRequired
conversationIdstringThe conversation's id. See How IDs work✓

Query parameters

ParameterTypeDescription
fieldsstringFields to return, comma-separated. Replaces the default fields; id is always returned
includestringRelations to resolve in included: agents, channels, assignees
workspacestringThe workspace to read, for an API key that covers several. Other credentials always read their own workspace

Without fields, the conversation has the default fields of the list plus createdAt and cases:

id, contactId, contactName, channelId, platform, agentId, status, operation,
topic, assigneeIds, assignedToTeam, tags, lastActivityAt, createdAt, cases

You can also ask for activeAgentId, title, summary, email and legacyConversationKey. Every field, the rules for null, [] and left-out fields, and what each relation adds are described in List conversations.

Response

{
  "status": "success",
  "data": {
    "id": "8Yc2kQ1mZ0rTq4Lp7WvX",
    "contactId": "cl_3h7Jt9Q2",
    "contactName": "Ana López",
    "channelId": "wb-123",
    "platform": "whatsapp",
    "agentId": "ag_sales",
    "status": "active",
    "operation": "supervised",
    "topic": "Refund",
    "assigneeIds": ["usr_ana"],
    "assignedToTeam": false,
    "tags": ["vip"],
    "lastActivityAt": "2026-11-30T18:00:00.000Z",
    "createdAt": "2026-11-28T09:12:00.000Z",
    "cases": {
      "open": true,
      "openCount": 1,
      "openIds": ["Es4kP9wLx2QmZ7bN1cVd"],
      "topPriority": "high",
      "oldestOpenAt": "2026-11-30T17:40:00.000Z",
      "releasedAt": null,
      "untakenCount": 0,
      "attention": false
    }
  },
  "included": {
    "agents": [{ "id": "ag_sales", "name": "Sales", "resolved": true }],
    "assignees": [{ "id": "usr_ana", "name": "Ana López", "email": "ana@acme.com", "resolved": true }]
  },
  "meta": {
    "fields": ["id", "contactId", "contactName", "channelId", "platform", "agentId", "status", "operation", "topic", "assigneeIds", "assignedToTeam", "tags", "lastActivityAt", "createdAt", "cases"],
    "include": ["agents", "assignees"],
    "requestId": "req_7f3c",
    "resourceVersion": "MTczMjk4OTYwMDAwMA"
  }
}
FieldDescription
dataThe conversation, with the selected fields
includedRelated records, only when you sent include. Each one has resolved: false when it could not be found
meta.fieldsFields applied, including those a relation needs
meta.includeRelations applied
meta.requestIdID of the request, for support
meta.resourceVersionVersion of the conversation. Send it in If-Resource-Version when you update the conversation so you do not overwrite a change made since you read it
meta.warningsOnly when there is something to report, for example UNKNOWN_STATUS when the stored state is not one the API knows and status is null

status and operation are explained in Status and operation. The cases fields are described in the cases summary.

Errors

Statusdetails.codeWhen it happens
400INVALID_REQUESTA query parameter is invalid. details.issues says which
400INVALID_REQUESTThe workspace in ?workspace= is not covered by the credential. details.available lists the ones it covers
400INVALID_FIELDA name in fields does not exist. details.allowed lists the accepted ones
400INVALID_INCLUDEA name in include does not exist. details.allowed lists the accepted ones
401UNAUTHENTICATEDThe credential is missing or invalid
403FORBIDDENThe credential has no access to conversations in this workspace
404CONVERSATION_NOT_FOUNDNo conversation has this id in the workspace, or the credential cannot read it
404NOT_A_CONVERSATIONThe ID belongs to a comment post you can read. details.postId and details.href (/v1/posts/{postId}) say where to read it

The general error format is in Errors.

The email block

On an email thread (platform: "email"), ask for email in fields to get the thread's details. On other platforms the field is left out.

{
  "id": "Hk3pQ9wLx2QmZ7bN1cVd",
  "platform": "email",
  "email": {
    "subject": "Your quote",
    "mailbox": "sales@acme.com",
    "provider": "gmail",
    "contactEmail": "ana@example.com"
  }
}
FieldDescription
subjectSubject of the thread, without "Re:" or "Fwd:"
mailboxThe channel's mailbox
providergmail, outlook or domain (a mailbox on your domain)
contactEmailThe contact's email

Each email message has its own email block, with subject, addresses and references. See Get a message. To write or reply, see Email through the API.