---
title: "GET /chatChannel/{channelID}/messages"
method: GET
path: "/chatChannel/{channelID}/messages"
tags: ["messages"]
---

# GET /chatChannel/{channelID}/messages

`GET /chatChannel/{channelID}/messages`

Get chat messages from a chat channel. Results are paginated using cursor-based pagination.

## Path parameters

- `channelID` string, uuid, required

## Query parameters

- `startingAfter` string, uuid
- `limit` integer

## Response `200`

Successful response

- ChatMessagesPage
  - `data` ChatMessage[], required
    - `id` string, uuid
    - `userID` string, uuid — The id of the user that created this chat message
    - `content` string — The content of the chat message
    - `images` string[] — A list of URLs pointing to any image attachments on the comment
    - `files` string[] — A list of URLs pointing to any file attachments on the comment
    - `createdAt` string, date-time
  - `hasMore` boolean, required — Indicates if more chat messages are available after the last returned message.

## Other responses

- `400` — Invalid request body
- `401` — API Key is missing or invalid
- `404` — Could not find requested chat channel or startingAfter message

---

[API](https://skmtc.dev/heartbeat/apis/heartbeat-api.md) · [All operations](https://skmtc.dev/heartbeat/apis/heartbeat-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/heartbeat/heartbeat-api/revisions/6c3cf537d508/schema)
