# Retrieve Inbox

`GET https://api.inboxjot.com/v1/inboxes/{inbox_id}`

Retrieves one inbox with its stats. Needs a Full key. A key limited to one domain answers 403.

## Path Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `inbox_id` | string | Yes | The inbox id. |

## Response

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

## Request

cURL:

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

## Responses

| Status | Description |
| --- | --- |
| 200 | Returns the inbox. |
| 400 | A path parameter is 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. |
| 404 | The inbox does not exist in this workspace. |
| 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
{
  "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"
}
```

400:

```json
{
  "name": "validation_error",
  "status": 400,
  "message": "length is greater than 100",
  "errors": [
    {
      "message": "length is greater than 100",
      "location": "inbox_id"
    }
  ],
  "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"
}
```

404:

```json
{
  "name": "not_found",
  "status": 404,
  "message": "Inbox not found",
  "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"
}
```
