# List inboxes

```http
GET https://trydimmi.com/api/v1/inboxes
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `conversations:read`.

## Response 200 (OK)

- `data` (object[] | null, required): The items of this page, as a list; empty when nothing matches.
  - `access` (object, required)
    - `member_ids` (string[] | null, required): Ids of the teammates who may open the inbox, each starting with mem_. Used when mode is restricted.
    - `mode` (string, required): Who may open the inbox: everyone, or restricted to the teams and teammates listed.
    - `team_ids` (string[] | null, required): Ids of the teams who may open the inbox, each starting with team_. Used when mode is restricted.
  - `created_at` (string, required): When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
  - `default` (boolean, required): True for the inbox where conversations land when nothing routes them elsewhere.
  - `default_team_id` (string | null, required): Id of the team new conversations in this inbox go to, starting with team_. Null for no team.
  - `id` (string, required): The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
  - `name` (string, required): The inbox's name.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `schedule_id` (string | null, required): Id of the schedule holding this inbox's own office hours, starting with sch_. Null when it follows the workspace's default.
  - `settings` (object, required)
    - `assign_on_reply` (boolean, required): True when a conversation nobody holds goes to whoever replies to it.
    - `assignment` (object, required)
      - `capacity_by_channel` (object, required): The most open conversations a member holds per channel, keyed by widget, email or api, each 1 to 500, such as {"email": 20}.
      - `default_capacity` (integer | null, required): The most open conversations a member without their own limit holds at once. Null for no limit.
      - `include_away` (boolean, required): True when members who are away still get conversations assigned.
      - `mode` (string, required): How new conversations get an assignee: manual, round_robin or balanced.
      - `overflow_team_id` (string | null, required): Id of the team tried when the first pool has nobody free, starting with team_. Null for none.
      - `queue_order` (string, required): The order waiting conversations are taken in: oldest_waiting or priority_then_oldest.
    - `color` (string, required): The color that marks the inbox in lists. Empty when none is set.
    - `reopen_window_days` (integer, required): How many days after closing a customer's reply reopens the conversation, 0 to 365; 0 means never.
  - `ticket_type_id` (string | null, required): Id of the ticket type new conversations in this inbox become, starting with tktt_. Null for none.
  - `updated_at` (string, required): When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
- `links` (object): Addresses of related pages by name, such as next; left out when there are none.
- `meta` (object, required)
  - `next_cursor` (string | null, required): Send it as cursor to read the next page; null on the last page.
  - `per_page` (integer, required): How many items a page holds at most, such as 25.
  - `prev_cursor` (string | null, required): Send it as cursor to read the page before; null on the first page.
  - `total` (integer): How many items match in all; left out when the list does not count them.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request GET \
  --url 'https://trydimmi.com/api/v1/inboxes' \
  --header 'Authorization: Bearer <token>'
```

## Example response

```json
{
  "data": [
    {
      "access": {
        "member_ids": [
          "<string>"
        ],
        "mode": "<string>",
        "team_ids": [
          "<string>"
        ]
      },
      "created_at": "2026-11-01T09:30:00Z",
      "default": true,
      "default_team_id": "<string>",
      "id": "<string>",
      "name": "<string>",
      "object": "<string>",
      "schedule_id": "<string>",
      "settings": {
        "assign_on_reply": true,
        "assignment": {
          "capacity_by_channel": {},
          "default_capacity": 123,
          "include_away": true,
          "mode": "<string>",
          "overflow_team_id": "<string>",
          "queue_order": "<string>"
        },
        "color": "<string>",
        "reopen_window_days": 123
      },
      "ticket_type_id": "<string>",
      "updated_at": "2026-11-01T09:30:00Z"
    }
  ],
  "links": {
    "<key>": "<string>"
  },
  "meta": {
    "next_cursor": "<string>",
    "per_page": 123,
    "prev_cursor": "<string>",
    "total": 123
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
