---
title: "Get list of talk messages for a specific chat"
method: GET
path: "/service_agents/talk_messages"
tags: ["Service Agent"]
---

# Get list of talk messages for a specific chat

`GET /service_agents/talk_messages`

Returns a list of talk messages for a specific chat.

## Query parameters

- `chat_id` string, required
- `page_size` integer
- `page_token` string

## Response `200`

A list of talk messages for the specified chat.

- object
  - `next_page_token` string — Cursor token for the next page of results. Pass this value as the page_token parameter in the next request.
  - `result` TalkManagerMessage[]
    - `id` string, uuid — The unique identifier of the message. Returned from the `POST /service_agents/talk_messages` or `GET /service_agents/talk_messages` response.
    - `customer_id` string, uuid — The unique identifier of the customer who owns this message. Returned from the `GET /customers` response.
    - `owner_type` string — Resource's owner type.
    - `owner_id` string, uuid — The unique identifier of the message author. Returned from the corresponding owner resource endpoint.
    - `chat_id` string, uuid — The unique identifier of the talk this message belongs to. Returned from the `GET /service_agents/talk_chats` response.
    - `parent_id` string, uuid — The unique identifier of the parent message (for threaded replies). Returned from the `GET /service_agents/talk_messages` response.
    - `type` 'normal' | 'system' — Type of the message.
    - `text` string — Message text content.
    - `medias` TalkManagerMedia[] — Media attachments.
      - `type` 'address' | 'agent' | 'file' | 'link' — Type of the media content.
      - `address` CommonAddress — Contains source or destination detail info.
        - `type` '' | 'agent' | 'conference' | 'email' | 'extension' | 'line' | 'sip' | 'tel' | 'web_session' — Type of address.
        - `target` string — The address endpoint. Format depends on type: phone number for tel (e.g. +14155551234), UUID for agent/conference/extension, email for email, SIP URI for sip.
        - `target_name` string — Address's name.
        - `name` string — Optional label for this address.
        - `detail` string — Additional notes about this address.
      - `agent_id` string, uuid — The unique identifier of the agent. Valid only if the type is `agent`. Returned from the `GET /agents` response.
      - `file_id` string, uuid — The unique identifier of the file. Valid only if the type is `file`. Returned from the `GET /storage_files` response.
      - `link_url` string, uri — The URL of the linked resource. Valid only if the type is `link`.
    - `metadata` TalkManagerMetadata
      - `reactions` TalkManagerReaction[] — List of reactions on the message.
        - `emoji` string — Emoji character for the reaction.
        - `owner_type` string — Type of the owner who reacted.
        - `owner_id` string, uuid — The unique identifier of the owner who reacted. Returned from the corresponding owner resource endpoint (e.g., `GET /agents`).
        - `tm_create` string, date-time — Timestamp when the reaction was created.
    - `tm_create` string, date-time — Timestamp when the message was created.
    - `tm_update` string, date-time — Timestamp when the message was last updated.
    - `tm_delete` string, date-time — Timestamp when the message was deleted.

## Other responses

- `401` — Authentication required (UNAUTHENTICATED).
- `500` — Internal error (INTERNAL).

---

[API](https://skmtc.net/voipbin/apis/voipbin-api.md) · [All operations](https://skmtc.net/voipbin/apis/voipbin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voipbin/voipbin-api/versions/79e779080bcc/schema)
