---
title: "List Inboxes"
url: "https://docs.yoagent.dev/reference/rest-api/operations/listinboxes"
---

# List Inboxes

GET

/v0/inboxes

```sh
curl -s "https://api.yoagent.dev/v0/inboxes" \
  -H "Authorization: Bearer $YOAGENT_KEY"
```

```js
const response = await fetch("https://api.yoagent.dev/v0/inboxes", {
  headers: {
    Authorization: `Bearer ${process.env.YOAGENT_KEY}`,
  },
});
if (!response.ok) throw new Error(await response.text());
const data = await response.json();
```

```python
import os

import requests

response = requests.get(
    "https://api.yoagent.dev/v0/inboxes",
    headers={"Authorization": f"Bearer {os.environ['YOAGENT_KEY']}"},
    timeout=60,
)
response.raise_for_status()
data = response.json()
```

- api.yoagent.dev/v0/inboxes

List the organization’s inboxes, newest first; `project_id` narrows it to one project, `is_catch_all` to the catch-all inboxes or to the others, `search` to those whose address or display name holds it.

## Authorizations

- **[ApiKey](https://docs.yoagent.dev/reference/rest-api#apikey)**

## Parameters

### Query Parameters

**limit**

_Limit_

integer

default: 20 >= 1 <= 100

How many items a page holds.

**page_token**

_Page Token_

Any of:

**string**

The next_page_token of the previous page

string

**null**

null

The previous page’s `next_page_token`, for the page after it; omitted: the first page.

**project_id**

_Project Id_

Any of:

**string**

string

/^prj\_\[0-7]\[0-9a-hjkmnp-tv-z]{25}$/

**null**

null

Only those of this project; omitted: of every project the caller sees.

**is_catch_all**

_Is Catch All_

Any of:

**boolean**

boolean

**null**

null

Only the catch-all inboxes (true), or only the others (false).

**search**

_Search_

Any of:

**string**

string

\>= 1 characters <= 200 characters

**null**

null

A part of the address or the display name, in any case.

## Responses

### 200

Successful Response

application/json

_InboxList_

A page of inboxes.

object

**count**

required

_Count_

integer

**next_page_token**

required

_Next Page Token_

Any of:

**string**

string

**null**

null

**inboxes**

required

_Inboxes_

Array\<object>

_InboxOut_

An inbox.

object

**version**

required

_Version_

Goes up by one on every change: of two copies, the one with the higher version is the newer.

integer

**inbox_id**

required

_Inbox Id_

string

/^inb\_\[0-7]\[0-9a-hjkmnp-tv-z]{25}$/

**project_id**

required

_Project Id_

string

/^prj\_\[0-7]\[0-9a-hjkmnp-tv-z]{25}$/

**address**

required

_Address_

Its local part may come from a sender: auto-create makes inboxes for addresses mail arrived at.

string

**is_catch_all**

required

_Is Catch All_

boolean

**display_name**

required

_Display Name_

Set by whoever made the inbox (an agent, too): text from outside, like `metadata` and `client_id`.

Any of:

**string**

string

**null**

null

**metadata**

required

_Metadata_

object

**_key_**

additional properties

**client_id**

required

_Client Id_

Any of:

**string**

string

**null**

null

**deletable**

required

_Deletable_

Whether the caller may delete it (`inbox_delete` on it; never the catch-all).

boolean

**labels_editable**

required

_Labels Editable_

Whether the caller may change the labels of its mail — mark it read or unread, label it (`message_update` on the inbox).

boolean

**labels_manageable**

required

_Labels Manageable_

Whether the caller may rename and delete its project’s own labels (`message_update` on the project: the change reaches every inbox of it).

boolean

**mail_deletable**

required

_Mail Deletable_

Whether the caller may delete its messages and threads (`message_delete` on the inbox).

boolean

**mail_sendable**

required

_Mail Sendable_

Whether the caller may send from it — new mail, replies and forwards of mail it reads (`message_send` on the inbox; never from the catch-all).

boolean

**created_at**

required

_Created At_

string format: date-time

#### Example

```json
{
  "count": 1,
  "next_page_token": null,
  "inboxes": [
    {
      "version": 1,
      "inbox_id": "inb_01je56wqswfmn9pgbc1wq8tjgq",
      "project_id": "prj_01je56wqswfmn9pgbc1wq8tjgq",
      "address": "test@k7m2xq4p.yoagent.email",
      "is_catch_all": false,
      "display_name": "Signup tests",
      "metadata": {},
      "client_id": "ci-run-1842",
      "deletable": true,
      "labels_editable": true,
      "labels_manageable": true,
      "mail_deletable": true,
      "mail_sendable": true,
      "created_at": "2026-12-01T12:00:00Z"
    }
  ]
}
```

### default

An error (400, 401, 403, 404, 405, 409, 413, 429, 500, 503), in the one shape every call answers: [Errors](https://docs.yoagent.dev/reference/conventions#errors).
