---
title: "Get a list of webchat messages."
method: GET
path: "/webchat_messages"
tags: ["Webchat"]
---

# Get a list of webchat messages.

`GET /webchat_messages`

Retrieves a paginated list of webchat messages for the authenticated customer.

## Query parameters

- `page_size` integer
- `page_token` string
- `session_id` string, uuid

## Response `200`

A list of webchat messages.

- 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` WebchatManagerMessage[]
    - `id` string, uuid, required — The unique identifier of the message. Returned from the `POST /messages` or `GET /messages` response.
    - `customer_id` string, uuid, required — The unique identifier of the associated customer. Returned from the `GET /customers` response.
    - `widget_id` string, uuid, required — The widget this message belongs to (denormalized from the session). Returned from the `POST /widgets` or `GET /widgets` response.
    - `session_id` string, uuid, required — The session this message belongs to. Returned from the `POST /sessions` or `GET /sessions` response.
    - `direction` 'inbound' | 'outbound', required — The direction of the message.
    - `status` 'sent' | 'delivered' | 'failed', required — The status of the message.
    - `sender_id` string, uuid — The agent ID for an agent-typed outbound reply; empty for flow/AI-originated or inbound messages.
    - `text` string, required — The text content of the message.
    - `tm_create` string, date-time — Timestamp when the message was created.
    - `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/revisions/79e779080bcc/schema)
