Client Conversations

Returns every conversation of a client: with one or several agents and across all channels, including chats created by the Chat API . It is a lightweight listing without message content (messages is not included; use messageCount to gauge the volume).

GET https://api.platica.mx/v1/clients/{clientId}/conversations

URL parameters

ParameterTypeDescriptionRequired
clientIdstringCan be the client's ID or their phone number in E.164 format without +

Query parameters

ParameterTypeDescriptionRequired
channelIdstringFilter by channel identifier
agentIdstringFilter by the conversation's principal agent
limitintegerMaximum number of conversations to return. Maximum: 200. Default: 50
offsetintegerNumber of conversations to skip for pagination

Response

{
  "clientId": "client_123",
  "workspaces": [
    {
      "id": "ws_001",
      "name": "Support",
      "conversationsCount": 2,
      "conversations": [
        {
          "id": "conv_001",
          "conversationId": "5215512345678",
          "clientId": "client_123",
          "agentId": "agent_001",
          "source": null,
          "canSendDirectMessage": true,
          "workspaceId": "ws_001",
          "channelId": "wb_001",
          "contactName": "Ana López",
          "phoneNumber": "5215512345678",
          "topic": "Policy question",
          "platform": "whatsapp",
          "status": "active",
          "operation": "automatic",
          "messageCount": 12,
          "owners": ["support@example.com"],
          "tags": ["vip"],
          "creationDate": "2026-07-20T18:00:00Z",
          "lastUpdate": "2026-07-20T18:15:00Z"
        },
        {
          "id": "conv_002",
          "conversationId": "chat_01JCHAT23456789",
          "clientId": "client_123",
          "agentId": "agent_002",
          "source": "api_chat",
          "canSendDirectMessage": true,
          "workspaceId": "ws_001",
          "channelId": "workspace-ws_001-agent-agent_002",
          "contactName": "Ana López",
          "phoneNumber": "5215512345678",
          "topic": "Renewal",
          "platform": "platica",
          "status": "finished",
          "operation": "automatic",
          "messageCount": 6,
          "owners": [],
          "tags": [],
          "creationDate": "2026-07-15T09:00:00Z",
          "lastUpdate": "2026-07-15T09:20:00Z"
        }
      ],
      "pagination": {
        "limit": 50,
        "offset": 0,
        "hasMore": false
      }
    }
  ]
}
FieldDescription
idUnique, canonical document ID of the conversation. Use it in GET and PATCH /v1/conversations/{id}
conversationIdChat thread ID. It uses the chat_* format in the Chat API and does not identify the client
clientIdID of the client attributed to the conversation
agentIdPrincipal agent ID; temporary delegation does not change it
sourceInternal origin when available (for example api_chat); may be null for legacy conversations
canSendDirectMessageCan only be false on WhatsApp, Instagram, and Messenger/Facebook; calculated from the latest user message. Always true for internal Platica chats
workspaceIdID of the workspace the conversation belongs to
channelIdCommunication channel ID
contactNameContact/customer name
phoneNumberCustomer phone number
topicConversation topic or subject
platformMessaging platform (whatsapp, instagram, facebook, platica, etc.)
statusOperational stage: initiated, active, finished, spam, or expired
operationConversation operation mode
messageCountTotal number of messages. The listing does not include message content
ownersList of responsible-user emails
tagsTags associated with the conversation
creationDateCreation date in ISO 8601 format
lastUpdateLast update date in ISO 8601 format
FieldDescription
limitMaximum number of results per page
offsetNumber of results skipped
hasMoreIndicates whether more results are available