List chats

Returns every chat with source: "api_chat" from workspaces authorized for the API key, without restricting results to the user who created them. It includes the same summary as List Conversations , without messages.

GET https://api.platica.mx/v1/chat

Example filtered by client:

GET https://api.platica.mx/v1/chat?clientId=client_123&limit=20

Query parameters

ParameterTypeDescriptionRequired
clientIdstringFilters chats attributed to a specific client
agentIdstringFilters by the chat's principal agent
limitintegerMaximum number of chats to return. Maximum: 200. Default: 50
offsetintegerNumber of chats to skip for pagination

Response

{
  "chats": [
    {
      "id": "conversation_doc_01JCHAT",
      "conversationId": "chat_01JCHAT23456789",
      "clientId": "client_123",
      "agentId": "agent_01JABCDEF23456789",
      "canSendDirectMessage": true,
      "workspaceId": "ws_001",
      "channelId": "workspace-ws_001-agent-agent_01JABCDEF23456789",
      "contactName": "Ana López",
      "phoneNumber": "5215512345678",
      "topic": "Plan selection",
      "platform": "platica",
      "source": "api_chat",
      "status": "active",
      "operation": "automatic",
      "messageCount": 4,
      "owners": ["sales@example.com"],
      "tags": ["prospect"],
      "creationDate": "2026-07-20T18:00:00.000Z",
      "lastUpdate": "2026-07-20T18:30:00.000Z"
    }
  ],
  "pagination": {
    "limit": 50,
    "offset": 0,
    "hasMore": false
  }
}
FieldDescription
idUnique, canonical document ID. Use it in GET /v1/chat/{id} and Conversation endpoints
conversationIdThread ID (chat_*). Each new Chat API conversation gets a distinct one; use it to continue with POST /v1/chat. It is not a client ID
clientIdClient the chat is attributed to
agentIdPrincipal agent; temporary delegation to a subagent does not change it
canSendDirectMessageAlways true for internal Platica chats
workspaceIdID of the authorized workspace containing the chat
channelIdInternal channel ID
contactNameContact/customer name
phoneNumberCustomer phone number, when available
topicChat topic or subject
platformPlatform; platica for these chats
sourceAlways api_chat
statusChat status: active, finished, or expired
operationChat operation mode
messageCountTotal number of messages; the listing does not include messages
ownersList of responsible-user emails
tagsAssociated tags
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