The Queues API is part of Voiso's Inbound Routing APIs. Use it to obtain a list of all queues you can access based on your user API key.
Please refer to the detailed API endpoint specification: Get queues
Prerequisites
- The requesting user must be configured in your contact center.
- You must have at least one queue configured for your contact center.
Making requests
The queues API requires the Base URL (cluster_id) and the API key of a specific user. This tells Voiso which user is making the request. Voiso responds with the list of users the requesting user can access.
This API is used to request a list of queues. For example:
{
"method": "GET",
"url": "https://cluster1.voiso.com/api/v2/cdr/queues",
"params": {
"key": "cc7c76b8987a27ab57...00ab6c3"
}
}
Response
The following table describes the elements of the response.
Element | Description | Type | Notes |
---|---|---|---|
name | The name of the queue. | string | |
id | The ID assigned to the queue when it was created. | number |
Response sample
[
{
"name": "Sales queue",
"id": 28982
}
]