---
title: "List messages in a stored conversation"
method: GET
path: "/messages/{conversation_id}"
tags: ["Messaging"]
---

# List messages in a stored conversation

`GET /messages/{conversation_id}`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/messages/{conversation_id}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Path parameters

- `conversation_id` string, required

## Query parameters

- `workspace_id` string, required
- `limit` integer
- `offset` integer
- `cursor` string: Opaque cursor for stable older-page pagination

## Response `200`

OK

- MessagePage
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `items` DirectMessage[], nullable, required
    - `$schema` string, uri: A URL to the JSON Schema for this object.
    - `attachments_json` string, required
    - `author_remote_id` string, required
    - `body` string, required
    - `conversation_id` string, required
    - `created_at` string, date-time, required
    - `direction` string, required
    - `error_message` string, required
    - `id` string, required
    - `remote_created_at` string, date-time, required
    - `remote_message_id` string, required
    - `send_status` string, required
    - `updated_at` string, date-time, required
    - `workspace_id` string, required
  - `next_cursor` string

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
