# List Inboxes

`GET https://api.inboxjot.com/v1/inboxes`

Lists the inboxes of the workspace with their stats, oldest first. Needs a Full key. A key limited to one domain answers 403.

Lists are paged with cursors. Read `next_cursor` and send it as `after` for the next page. A page has 50 items unless you set `per_page`, up to 100.

## Query Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `search` | string | No | Text to find in the inbox name or address. Under 3 characters, it matches the start. |
| `per_page` | integer | No | How many items to return, from 1 to 100. Defaults to 50. |
| `after` | string | No | A `next_cursor` from the last page. Returns the items after it. |
| `before` | string | No | A `prev_cursor` from the last page. Returns the items before it. When you send both, `before` wins. |

## Response

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | object[] | No | The inboxes on this page. |
| `data[].id` | string | No | The inbox id. |
| `data[].name` | string | No | The inbox name. |
| `data[].local_part` | string | No | The part before the @, or `*` for every address on the host. |
| `data[].domain_id` | string \| null | No | The receiving domain, or `null` for the shared address. |
| `data[].address` | string | No | The full address, such as `support@inbound.acme.dev`. |
| `data[].host` | string | No | The host after the @. |
| `data[].destination` | string | No | `webhook` posts each message to one webhook. `api` only stores it. `forward` sends it on to `forward_to`. |
| `data[].webhook_endpoint` | object \| null | No | The webhook for `webhook` inboxes. |
| `data[].webhook_endpoint.id` | string | No | The webhook id. |
| `data[].webhook_endpoint.name` | string \| null | No | The webhook name, or `null` when the token cannot read webhooks. |
| `data[].webhook_endpoint.url` | string \| null | No | The URL it posts to, or `null` when the token cannot read webhooks. |
| `data[].forward_to` | string \| null | No | The address a `forward` inbox sends mail to, or `null`. |
| `data[].forward_status` | string \| null | No | `pending` until someone at `forward_to` clicks the confirmation link, then `confirmed`. `null` for other inboxes. |
| `data[].status` | string | No | `receiving`, `paused` while new mail waits in the inbox, or `pending` while a forward waits for confirmation. |
| `data[].paused_at` | string \| null | No | When receiving was paused, or `null`. |
| `data[].paused_by` | object \| null | No | The member who paused it. `null` when an API key paused it or it is not paused. |
| `data[].paused_by.id` | string | No | The user id. |
| `data[].paused_by.name` | string | No | The user name. |
| `data[].stats` | object | No | Counts over the last 30 days. |
| `data[].stats.received` | integer | No | Messages received in the last 30 days. |
| `data[].stats.failed` | integer | No | Messages whose webhook failed. |
| `data[].stats.held` | integer | No | Messages held as spam or a virus. |
| `data[].stats.last_message_at` | string \| null | No | When the last message arrived. |
| `data[].stats.received_last_day` | integer | No | Messages received in the last 24 hours. |
| `data[].stats.delivered_last_day` | integer | No | Messages from the last 24 hours that reached the app. |
| `data[].stats.spam_last_day` | integer | No | Messages from the last 24 hours held as spam. |
| `data[].stats.avg_delivery_ms` | integer \| null | No | The mean time from receipt to delivery over the last 24 hours, in milliseconds. `null` when no message was delivered. |
| `data[].created_at` | string | No | When it was created. |
| `data[].updated_at` | string | No | When it last changed. |
| `prev_cursor` | string \| null | No | Send it as `before` to get the page before. `null` on the first page. |
| `next_cursor` | string \| null | No | Send it as `after` to get the next page. `null` on the last page. |
| `total` | integer | No | How many inboxes the workspace has, across every page. |

## Request

cURL:

```bash
curl -X GET https://api.inboxjot.com/v1/inboxes \
  -H "Authorization: Bearer $INBOXJOT_API_KEY"
```

## Responses

| Status | Description |
| --- | --- |
| 200 | Returns a page of inboxes. |
| 400 | A parameter is missing or invalid. |
| 401 | The API key is missing, revoked or expired. |
| 403 | The key is a Sending key, or the request comes from outside its IP allowlist. |
| 429 | Too many requests for this key. Wait for the seconds in the Retry-After header. |
| 500 | Something failed on our side. Retry later. |

200:

```json
{
  "data": [
    {
      "id": "inb_06d2mfk8r6pn2tc8yw3hd",
      "name": "Support",
      "local_part": "support",
      "domain_id": "dom_06d2mfk8r1xq7v3hn5kd2",
      "address": "support@inbound.acme.dev",
      "host": "inbound.acme.dev",
      "destination": "webhook",
      "webhook_endpoint": {
        "id": "whk_06d2mfk8r2bc5yn1qz8gh",
        "name": "Helpdesk",
        "url": "https://acme.dev/hooks/mail"
      },
      "forward_to": null,
      "forward_status": null,
      "status": "receiving",
      "paused_at": null,
      "paused_by": null,
      "stats": {
        "received": 182,
        "failed": 2,
        "held": 1,
        "last_message_at": "2026-11-20T09:14:02.000Z"
      },
      "created_at": "2026-11-02T10:12:00.000Z",
      "updated_at": "2026-11-02T10:12:00.000Z"
    }
  ],
  "prev_cursor": null,
  "next_cursor": null,
  "total": 1
}
```

400:

```json
{
  "name": "validation_error",
  "status": 400,
  "message": "Invalid cursor",
  "errors": [
    {
      "message": "Invalid cursor",
      "location": "after"
    }
  ],
  "request_id": "5f0c6a2e-8d1b-4c7a-9e3f-2b6d4a1c8e90"
}
```

401:

```json
{
  "name": "unauthorized",
  "status": 401,
  "message": "Unauthorized",
  "errors": [],
  "request_id": "5f0c6a2e-8d1b-4c7a-9e3f-2b6d4a1c8e90"
}
```

403:

```json
{
  "name": "forbidden",
  "status": 403,
  "message": "This key cannot be used from 203.0.113.7",
  "errors": [],
  "request_id": "5f0c6a2e-8d1b-4c7a-9e3f-2b6d4a1c8e90"
}
```

429:

```json
{
  "name": "rate_limit_exceeded",
  "status": 429,
  "message": "Too many attempts. Try again later.",
  "errors": [],
  "request_id": "5f0c6a2e-8d1b-4c7a-9e3f-2b6d4a1c8e90"
}
```

500:

```json
{
  "name": "unknown_error",
  "status": 500,
  "message": "Something went wrong. Please try again later.",
  "errors": [],
  "request_id": "5f0c6a2e-8d1b-4c7a-9e3f-2b6d4a1c8e90"
}
```
