---
title: "List messages"
method: GET
path: "/s2s/conversations/{conversationId}/messages"
tags: ["S2S Conversations"]
---

# List messages

`GET /s2s/conversations/{conversationId}/messages`

Read the conversation's messages, oldest first, cursor-paginated
(max 100 per page). Pass `after` = the last message id you have.
Reading messages does NOT mark the conversation read — use the explicit
read receipt.

## Path parameters

- `conversationId` string, required

## Query parameters

- `after` string
- `limit` number, double

## Response `200`

Ok

- object
  - `next_after` string, nullable, required
  - `has_more` boolean, required
  - `items` S2SMessage[], required
    - `id` string, required
    - `conversationId` string, required
    - `text` string
    - `author` S2SAuthor, required
      - `type` 'contact' | 'agent' | 'bot' | 'system', required
      - `id` string
      - `name` string
      - `avatar` string
    - `attachments` S2SAttachment[], required
      - `url` string, required
      - `name` string
      - `contentType` string
    - `replyToMessageId` string
    - `rating` string
    - `unread` boolean, required
    - `createdAt` string, date-time, required

---

[API](https://skmtc.net/gleap/apis/gleap-server.md) · [All operations](https://skmtc.net/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleap/gleap-server/revisions/93af2e90fb6a/schema)
