Routing Queues
Retrieve list of routing queues
Provide the token that is returned upon login
Limits the number of results to return
10Pagination token that keeps of track of the current position in the list
Order in which to retrieve the results
falseOK
GET /workspaces/{workspaceId}/inbox/routing-queues HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"results": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"workspaceId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"priority": 1,
"teams": [
{
"type": "primary",
"ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
],
"queuedItems": {
"email": [],
"messaging": [],
"voice": []
},
"createdAt": "2025-11-28T02:13:03.208Z",
"updatedAt": "2025-11-28T02:13:03.208Z"
}
],
"nextPageToken": "text",
"total": 1
}Create a new routing queue
Provide the token that is returned upon login
created
Workspace not found
Invalid request
POST /workspaces/{workspaceId}/inbox/routing-queues HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 125
{
"name": "text",
"description": "text",
"priority": 1,
"teams": [
{
"type": "primary",
"ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
]
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"workspaceId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"priority": 1,
"teams": [
{
"type": "primary",
"ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
],
"queuedItems": {
"email": [],
"messaging": [],
"voice": []
},
"createdAt": "2025-11-28T02:13:03.208Z",
"updatedAt": "2025-11-28T02:13:03.208Z"
}Retrieves Routing queue.
Provide the token that is returned upon login
ok
Workspace or queue not found.
GET /workspaces/{workspaceId}/inbox/routing-queues/{routingQueueId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"workspaceId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"priority": 1,
"teams": [
{
"type": "primary",
"ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
],
"queuedItems": {
"email": [],
"messaging": [],
"voice": []
},
"createdAt": "2025-11-28T02:13:03.208Z",
"updatedAt": "2025-11-28T02:13:03.208Z"
}Modify the details of a specific routing queue.
Provide the token that is returned upon login
Updated
Workspace or queue found
Invalid queue
PATCH /workspaces/{workspaceId}/inbox/routing-queues/{routingQueueId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 125
{
"name": "text",
"description": "text",
"priority": 1,
"teams": [
{
"type": "primary",
"ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
]
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"workspaceId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"priority": 1,
"teams": [
{
"type": "primary",
"ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
],
"queuedItems": {
"email": [],
"messaging": [],
"voice": []
},
"createdAt": "2025-11-28T02:13:03.208Z",
"updatedAt": "2025-11-28T02:13:03.208Z"
}Delete a Routing queue. Items on the queue will be un-queued, then queue will be deleted.
Provide the token that is returned upon login
Deleted
Workspace or queue not found
DELETE /workspaces/{workspaceId}/inbox/routing-queues/{routingQueueId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?

