Conversations
Explain an inbox's automatic assignment
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the settings:read ability
Path parameters
inboxstringrequiredId of the inbox, starting with inbox_, such as inbox_01jx2m8k4t. Find it with GET /inboxes.
Query parameters
channel_typestringwidget, email or api: the channel the pool is judged for.
Available options:widgetemailapi
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
channel_typestringrequiredThe channel type the members were judged for, such as widget, email, slack or whatsapp. Defaults to widget.
membersobject[] | nullrequiredThe members of the inbox's assignment pool, each with what they hold and whether they may take the next conversation.
Show child attributesHide child attributes
availabilitystringrequiredWhether the member is online or away.
capacityinteger | nullrequiredThe most open conversations the member may hold at once. Null when there is no limit.
Format: int64
channel_capacityinteger | nullrequiredThe most open conversations of this channel type the member may hold. Null when there is no limit for the channel.
Format: int64
eligiblebooleanrequiredTrue when the member may be given the next conversation.
memberobjectrequiredShow child attributesHide child attributes
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
namestringrequiredDisplay name of the inbox, team or member this short form stands for.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
open_countintegerrequiredHow many open conversations the member holds now.
Format: int32
why_notstring | nullrequiredWhy the member cannot take the next conversation: away, at_capacity or at_channel_capacity. Null when they can.
modestringrequiredHow the inbox assigns new conversations: manual, round_robin or balanced.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
waitingobjectrequiredShow child attributesHide child attributes
countintegerrequiredHow many conversations in the inbox wait for an assignee.
Format: int64
oldest_atstring | nullrequiredWhen the longest-waiting conversation started waiting. Null when none waits.
Format: date-time
reasonsobjectrequiredHow many conversations wait for each reason, such as {"no_available_member": 2, "all_at_capacity": 1}. Empty when none waits.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.