v51

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014102371.0 MB
Service Agent

Get list of talk messages for a specific chat

Returns a list of talk messages for a specific chat.

get/service_agents/talk_messages

Query parameters

chat_idstring required

Chat ID to filter messages

page_sizeinteger
Example:25

Number of results to return per page.

page_tokenstring

Cursor token for pagination. Use the next_page_token value from the previous response.

Response

A list of talk messages for the specified chat.

next_page_tokenstring

Cursor token for the next page of results. Pass this value as the page_token parameter in the next request.

Example response

{
  "result": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "customer_id": "7c4d2f3a-1b8e-4f5c-9a6d-3e2f1a0b4c5d",
      "owner_type": "agent",
      "owner_id": "d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90",
      "chat_id": "f6a7b8c9-d0e1-2f3a-4b5c-6d7e8f9a0b1c",
      "parent_id": "a7b8c9d0-e1f2-3a4b-5c6d-7e8f9a0b1c2d",
      "type": "normal",
      "text": "Hello team, any updates on the project?",
      "medias": [
        {
          "type": "file",
          "address": {
            "type": "tel",
            "target": "+14155551234",
            "target_name": "John Smith",
            "name": "Main Office",
            "detail": "Primary contact number"
          },
          "agent_id": "c3d4e5f6-a7b8-9c0d-1e2f-3a4b5c6d7e8f",
          "file_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
          "link_url": "https://example.com/document.pdf"
        }
      ],
      "metadata": {
        "reactions": [
          {
            "emoji": "👍",
            "owner_type": "agent",
            "owner_id": "d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90",
            "tm_create": "2026-01-15T09:30:00.000000Z"
          }
        ]
      },
      "tm_create": "2026-01-15T09:30:00.000000Z",
      "tm_update": "2026-01-16T14:20:00.000000Z",
      "tm_delete": "2026-01-17T18:45:00.000000Z"
    }
  ]
}