---
title: "List messages in a conversation"
method: GET
path: "/v1/amb/conversations/{conversation_id}/messages"
tags: ["amb-conversations"]
---

# List messages in a conversation

`GET /v1/amb/conversations/{conversation_id}/messages`

## Request

- Base URL: `https://us1.platform.bird.com`
- URL: `https://us1.platform.bird.com/v1/amb/conversations/{conversation_id}/messages`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `bird_session`

Returns the messages in a conversation, newest first, both received and
sent. To page through older messages, use `starting_after`. The sort
order is fixed, so to render the messages in conversation order, reverse
the page yourself. Messages do not expire based on age.

## Query parameters

- `direction` 'outbound' | 'inbound': Whether a message was sent by the business or received from the customer: - `outbound`: A reply the business sent into the conversation. - `inbound`: A message the customer sent.
- `limit` integer
- `starting_after` string
- `ending_before` string

## Headers

- `X-Workspace-Id` string
- `X-Organization-Id` string

## Response `200`

Paginated list of messages in the conversation.

- AMBMessageList (unresolved $ref)

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Insufficient permissions
- `404`: Resource not found
- `422`: The request has invalid field values, violates a business rule, or carries a query parameter the endpoint does not declare. Field validation errors use `type: validation_error` and include the affected fields in `details`. Business-rule errors identify the failed rule in `type`.
- `429`: Rate limit exceeded
- `500`: Internal server error
- `503`: The service is temporarily unavailable. If `Retry-After` is present, wait for that delay before retrying; otherwise, retry with exponential backoff. Reuse the same idempotency key and request when retrying a mutation.

---

[API](https://skmtc.dev/messagebird/apis/bird-api.md) · [All operations](https://skmtc.dev/messagebird/apis/bird-api/llms.txt) · [OpenAPI document](https://skmtc.dev/messagebird/apis/bird-api/revisions/3e2a50466454?raw)
