# List accounts

```http
GET /accounts
```

List the personal and team accounts the caller belongs to, oldest first, with the caller's role and capabilities in each.

## Parameters

| Name     | In    | Required | Description                                                              |
| -------- | ----- | -------- | ------------------------------------------------------------------------ |
| `cursor` | query |          | Opaque cursor pointing at the next page. Omit it to read the first page. |
| `limit`  | query |          | Maximum entries per page. Integer from 1 to 100; defaults to 20.         |
| `slug`   | query |          | Return only the account with this exact slug.                            |

## Responses

| Status | Description                                                                                                 |
| ------ | ----------------------------------------------------------------------------------------------------------- |
| 200    | Accounts the caller belongs to                                                                              |
| 400    | Bad request                                                                                                 |
| 401    | Unauthorized                                                                                                |
| 403    | Forbidden                                                                                                   |
| 500    | Server error                                                                                                |
| 503    | internal: authentication state is temporarily unavailable and the request was not processed; retry shortly. |
