Skip to content
dimmiDocs

Conversations

Explain an inbox's automatic assignment

GET/api/v1/inboxes/{inbox}/assignment-status

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the settings:read ability

Path parameters

inboxstringrequired

Id of the inbox, starting with inbox_, such as inbox_01jx2m8k4t. Find it with GET /inboxes.

Query parameters

channel_typestring

widget, email or api: the channel the pool is judged for.

Available options:widgetemailapi

Response 200

OK
dataobjectrequired
Show child attributes
channel_typestringrequired

The channel type the members were judged for, such as widget, email, slack or whatsapp. Defaults to widget.

membersobject[] | nullrequired

The members of the inbox's assignment pool, each with what they hold and whether they may take the next conversation.

Show child attributes
availabilitystringrequired

Whether the member is online or away.

capacityinteger | nullrequired

The most open conversations the member may hold at once. Null when there is no limit.

Format: int64

channel_capacityinteger | nullrequired

The most open conversations of this channel type the member may hold. Null when there is no limit for the channel.

Format: int64

eligiblebooleanrequired

True when the member may be given the next conversation.

memberobjectrequired
Show child attributes
idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

namestringrequired

Display name of the inbox, team or member this short form stands for.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

open_countintegerrequired

How many open conversations the member holds now.

Format: int32

why_notstring | nullrequired

Why the member cannot take the next conversation: away, at_capacity or at_channel_capacity. Null when they can.

modestringrequired

How the inbox assigns new conversations: manual, round_robin or balanced.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

waitingobjectrequired
Show child attributes
countintegerrequired

How many conversations in the inbox wait for an assignee.

Format: int64

oldest_atstring | nullrequired

When the longest-waiting conversation started waiting. Null when none waits.

Format: date-time

reasonsobjectrequired

How many conversations wait for each reason, such as {"no_available_member": 2, "all_at_capacity": 1}. Empty when none waits.

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.