Returns the routing availability for all users. Used by a dispatcher to check which agents are currently available to pick up a ticket.
curl --request GET \
--url https://demo.enneo.ai/api/mind/telephony/routingAvailability \
--header 'Authorization: Bearer <token>'{
"success": true,
"users": [
{
"id": 42,
"status": "<string>",
"chatRoutingStatus": "idle",
"callRoutingStatus": "idle",
"skills": {
"tagIds": [
1,
2,
3
],
"channels": [
"email",
"phone",
"chat"
]
},
"currentTickets": [
123,
456
],
"queueTickets": [
789
],
"lastActivity": "2024-03-20 14:30:00"
}
]
}JWT-based authentication
Optional filter to return only a specific user
Successful operation
true
Anzeigen untergeordnete attribute
The user ID
42
The user's current status
The routing status for queues (calls, chats, etc)
idle, interacting, beingConnected, notResponding, unavailable, offline The routing status for queues (calls, chats, etc)
idle, interacting, beingConnected, notResponding, unavailable, offline IDs of tickets currently being worked on by the user (opened in UI)
[123, 456]IDs of tickets assigned to the user in the routing queue
[789]Timestamp of the user's last activity
"2024-03-20 14:30:00"
curl --request GET \
--url https://demo.enneo.ai/api/mind/telephony/routingAvailability \
--header 'Authorization: Bearer <token>'{
"success": true,
"users": [
{
"id": 42,
"status": "<string>",
"chatRoutingStatus": "idle",
"callRoutingStatus": "idle",
"skills": {
"tagIds": [
1,
2,
3
],
"channels": [
"email",
"phone",
"chat"
]
},
"currentTickets": [
123,
456
],
"queueTickets": [
789
],
"lastActivity": "2024-03-20 14:30:00"
}
]
}