# List Emails

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

Lists the emails of the workspace, newest first. Needs a Full key. A key limited to one domain lists only the emails sent from that domain.

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 |
| --- | --- | --- | --- |
| `query` | string | No | An email id, a recipient address, or text to find in the recipient or the subject. |
| `status` | string | No | One status or a comma-separated list: `scheduled`, `queued`, `sending`, `sent`, `soft_bounced`, `delivered`, `opened`, `clicked`, `bounced`, `rejected`, `failed`, `canceled` or `complained`. |
| `status_op` | string | No | `is` keeps emails with these statuses. `not` leaves them out. Defaults to `is`. |
| `source` | string | No | Where the email came from: `api`, `smtp`, `dashboard`, `mcp`, `campaign` or `automation`. |
| `sent_after` | string | No | An ISO 8601 date. Keeps emails sent after it. |
| `sent_before` | string | No | An ISO 8601 date. Keeps emails sent before it. |
| `sort` | string | No | `sent` or `to`. Defaults to `sent`. |
| `direction` | string | No | `asc` or `desc`. Defaults to `desc`. |
| `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 emails on this page. |
| `data[].id` | string | No | The email id. |
| `data[].from` | string | No | Sender address. |
| `data[].to` | string[] | No | Recipient addresses, without display names. |
| `data[].cc` | string[] | No | Carbon copy addresses. |
| `data[].bcc` | string[] | No | Blind carbon copy addresses. |
| `data[].subject` | string | No | Email subject. |
| `data[].tags` | object[] | No | The tags sent with the email. |
| `data[].tags[].name` | string | No | The tag name. |
| `data[].tags[].value` | string | No | The tag value. |
| `data[].status` | string | No | One of `scheduled`, `queued`, `sending`, `sent`, `delivered`, `opened`, `clicked`, `soft_bounced`, `bounced`, `rejected`, `failed`, `canceled` or `complained`. |
| `data[].source` | string | No | Where the email came from: `api`, `smtp`, `dashboard`, `mcp`, `campaign` or `automation`. |
| `data[].scheduled_at` | string \| null | No | When a scheduled email goes out. |
| `data[].sent_at` | string \| null | No | When Inboxjot handed the email to the mail server. |
| `data[].created_at` | string | No | When the email was created. |
| `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. |

## Request

cURL:

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

## Responses

| Status | Description |
| --- | --- |
| 200 | Returns a page of emails. |
| 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": "eml_06d2mfk8r4tq9xv2bnc7s",
      "from": "Acme <hello@acme.dev>",
      "to": [
        "riti@example.com"
      ],
      "cc": [],
      "bcc": [],
      "subject": "Your receipt from Acme",
      "tags": [
        {
          "name": "category",
          "value": "receipt"
        }
      ],
      "status": "delivered",
      "source": "api",
      "scheduled_at": null,
      "sent_at": "2026-10-15T14:02:34.000Z",
      "created_at": "2026-10-15T14:02:33.000Z"
    }
  ],
  "prev_cursor": null,
  "next_cursor": "eml_06d2mfk8r4tq9xv2bnc7s"
}
```

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"
}
```
