# Explain an inbox's automatic assignment

```http
GET https://trydimmi.com/api/v1/inboxes/{inbox}/assignment-status
```

## Authorization

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

## Path parameters

- `inbox` (string, required): Id of the inbox, starting with inbox_, such as inbox_01jx2m8k4t. Find it with GET /inboxes.

## Query parameters

- `channel_type` (string): widget, email or api: the channel the pool is judged for. One of: `widget`, `email`, `api`.

## Response 200 (OK)

- `data` (object, required)
  - `channel_type` (string, required): The channel type the members were judged for, such as widget, email, slack or whatsapp. Defaults to widget.
  - `members` (object[] | null, required): The members of the inbox's assignment pool, each with what they hold and whether they may take the next conversation.
    - `availability` (string, required): Whether the member is online or away.
    - `capacity` (integer | null, required): The most open conversations the member may hold at once. Null when there is no limit.
    - `channel_capacity` (integer | null, required): The most open conversations of this channel type the member may hold. Null when there is no limit for the channel.
    - `eligible` (boolean, required): True when the member may be given the next conversation.
    - `member` (object, required)
      - `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): Display name of the inbox, team or member this short form stands for.
      - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
    - `open_count` (integer, required): How many open conversations the member holds now.
    - `why_not` (string | null, required): Why the member cannot take the next conversation: away, at_capacity or at_channel_capacity. Null when they can.
  - `mode` (string, required): How the inbox assigns new conversations: manual, round_robin or balanced.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `waiting` (object, required)
    - `count` (integer, required): How many conversations in the inbox wait for an assignee.
    - `oldest_at` (string | null, required): When the longest-waiting conversation started waiting. Null when none waits.
    - `reasons` (object, required): How many conversations wait for each reason, such as {"no_available_member": 2, "all_at_capacity": 1}. Empty when none waits.

## 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/{inbox}/assignment-status' \
  --header 'Authorization: Bearer <token>'
```

## Example response

```json
{
  "data": {
    "channel_type": "<string>",
    "members": [
      {
        "availability": "<string>",
        "capacity": 123,
        "channel_capacity": 123,
        "eligible": true,
        "member": {
          "id": "<string>",
          "name": "<string>",
          "object": "<string>"
        },
        "open_count": 123,
        "why_not": "<string>"
      }
    ],
    "mode": "<string>",
    "object": "<string>",
    "waiting": {
      "count": 123,
      "oldest_at": "2026-11-01T09:30:00Z",
      "reasons": {
        "<key>": 123
      }
    }
  }
}
```

---

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