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

# List Projects

GET

/v0/projects

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

```js
const response = await fetch("https://api.yoagent.dev/v0/projects", {
  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/projects",
    headers={"Authorization": f"Bearer {os.environ['YOAGENT_KEY']}"},
    timeout=60,
)
response.raise_for_status()
data = response.json()
```

- api.yoagent.dev/v0/projects

List the projects the caller’s access shows, in their hand-made order, with what it may do in each.

## Authorizations

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

## Responses

### 200

Successful Response

application/json

_ProjectList_

The projects the caller sees, in their hand-made order.

object

**count**

required

_Count_

integer

**projects**

required

_Projects_

Array\<object>

_ProjectOut_

A project: its own mail subdomain (`<slug>.<shared domain>` when it was made), inboxes and webhooks.

object

**version**

required

_Version_

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

integer

**project_id**

required

_Project Id_

string

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

**name**

required

_Name_

string

**description**

required

_Description_

Its short description; empty: none.

string

**image**

required

_Image_

Its picture’s id; null: none.

Any of:

**string**

string

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

**null**

null

**catch_all_enabled**

required

_Catch All Enabled_

Its catch-all inboxes take mail for unknown addresses; off, such mail is refused and they are hidden.

boolean

**auto_create_inboxes**

required

_Auto Create Inboxes_

Mail to an unknown address makes its inbox (only with the catch-all on).

boolean

**plus_addresses_enabled**

required

_Plus Addresses Enabled_

Mail to `<name>+<tag>@` reaches the inbox of `<name>@`, the tag kept on the message.

boolean

**slug**

required

_Slug_

string

**subdomain**

required

_Subdomain_

The project’s shared mail subdomain: any `<name>@<subdomain>` reaches it.

string

**grant**

required

_Grant_

What the caller may do in this project; null: everything (an owner).

Any of:

**string**

string

Allowed value: full

**Array\<string>**

Array\<string>

Allowed values: inbox_read inbox_create inbox_update inbox_delete message_read message_update message_delete message_send webhook_read webhook_create webhook_update webhook_delete domain_read domain_create domain_update domain_delete

**null**

null

**inbox_grants**

required

_Inbox Grants_

What the caller may do in single inboxes of this project beyond `grant`: only the inbox permissions the project does not give, not closed; an inbox the project covers is absent.

object

**_key_**

additional properties

Any of:

**string**

string

Allowed value: full

**Array\<string>**

Array\<string>

Allowed values: inbox_read inbox_update message_read message_update message_delete message_send domain_read

**deletable**

required

_Deletable_

Whether the caller’s access allows deleting it: access to everything, a full admin (the role must allow it too: `project_delete`).

boolean

**only**

required

_Only_

The organization’s only project: it cannot be deleted (an organization keeps one).

boolean

**position**

required

_Position_

Its place in the organization’s order (`PUT /v0/projects/order`): the list is sorted by it, then by id.

integer

**created_at**

required

_Created At_

string format: date-time

#### Example

```json
{
  "count": 1,
  "projects": [
    {
      "version": 1,
      "project_id": "prj_01je56wqswfmn9pgbc1wq8tjgq",
      "name": "Web app",
      "description": "Sign-up and password reset mail",
      "image": "img_01je56wqswfmn9pgbc1wq8tjgq",
      "catch_all_enabled": true,
      "auto_create_inboxes": true,
      "plus_addresses_enabled": true,
      "slug": "k7m2xq4p",
      "subdomain": "k7m2xq4p.yoagent.email",
      "grant": "full",
      "inbox_grants": {},
      "deletable": true,
      "only": false,
      "position": 1,
      "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).
