---
title: "List messages in a mailbox"
method: GET
path: "/api/v1/messages"
tags: ["messages"]
---

# List messages in a mailbox

`GET /api/v1/messages`

## Request

- Base URL: `https://postfleet.ai`
- URL: `https://postfleet.ai/api/v1/messages`
- Auth: HTTP bearer

Lists the most recent messages (inbound and outbound) for a mailbox, newest first. Requires an `api` or `mcp` key with `can_read`.

## Query parameters

- `mailbox_id` string, required
- `limit` integer

## Response `200`

Messages.

- object
  - `messages` MessageListItem[], required
    - `id` string, required
    - `direction` 'in' | 'out', required
    - `from_addr` string, required
    - `to_addr` string, required
    - `subject` string, required
    - `created_at` string, required
    - `comprehension` object, nullable
      - `status` string
      - `classification` string, nullable

## Other responses

- `400`: `mailbox_id` query param required.
- `401`: Missing or invalid bearer token, or a key whose scope is not permitted for this endpoint.
- `403`: Key cannot read messages, or is scoped to a different mailbox (`code:key_scope`).

---

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