---
title: "List mailboxes"
method: GET
path: "/api/v1/mailboxes"
tags: ["mailboxes"]
---

# List mailboxes

`GET /api/v1/mailboxes`

## Request

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

Lists the mailboxes the key can use, newest first — the way an agent discovers the `mailbox_id` every other endpoint needs. An account-scoped key gets every mailbox on the account; a mailbox-bound key gets only its own (this route is the one account-plane read a bound key may make, so it can identify itself rather than being stranded). `domain_id: null` means the shared platform domain.

## Response `200`

Mailboxes.

- object
  - `mailboxes` Mailbox[], required
    - `id` string, required
    - `address` string, required
    - `display_name` string, nullable, required
    - `domain_id` string, nullable, required: Custom domain id, or null for the shared platform domain.
    - `domain_name` string, nullable, required: Custom domain name, or null for the shared platform domain.
    - `created_at` string, required
    - `extraction_schema_id` string, nullable: Omitted for mailbox-bound keys — it is an account-plane identifier they cannot act on.

## Other responses

- `401`: Missing or invalid bearer token, or a key whose scope is not permitted for this endpoint.

---

[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)
