---
title: "List SMS messages"
method: GET
path: "/v1/messages"
---

# List SMS messages

`GET /v1/messages`

## Request

- Base URL: `https://api.skysay.ai`
- URL: `https://api.skysay.ai/v1/messages`
- Auth: none declared

One bounded page, newest first by `created_at`, ties by creation order, as an object: the items under `messages` and `pagination`. Follow `pagination.next_cursor` while `pagination.has_more` is true; a walk returns every row that exists for the whole walk exactly once.

## Query parameters

- `organization_id` string
- `project_id` string
- `limit` integer
- `cursor` string
- `conversation_id` string

## Response `200`

One page. Server-Timing and X-Skysay-Query-Count describe the read; Cache-Control is no-store.

- object
  - `messages` object[], required: At most `limit` items, at most 500.
  - `pagination` ListPagination, required
    - `has_more` boolean, required: True while older rows remain. A page is the whole list only when this is false.
    - `limit` integer, required: The page size used.
    - `next_cursor` string, nullable, required: Send as `cursor` to read the next page; null on the last page.
    - `returned` integer, required: Items on this page.

## Other responses

- `400`: `limit` outside its range or missing where required, a `cursor` that is not a `next_cursor`, no organization for an operator credential, or a project of another organization.
- `404`: `conversation_id` names no conversation of this workspace and project.

---

[API](https://skmtc.dev/skysay/apis/skysay-api.md) · [All operations](https://skmtc.dev/skysay/apis/skysay-api/llms.txt) · [OpenAPI document](https://skmtc.dev/skysay/apis/skysay-api/revisions/95b8c66f99aa?raw)
