SQ_GetQueues

View as Markdown

Gets the queue(s).

Example request: Get all the queues.

Authentication

AuthorizationBearer
Voximplant Management API uses signed JWT tokens generated from your service-account private key. Pass the token in the `Authorization` header as a Bearer value: ``` Authorization: Bearer $VOXIMPLANT_TOKEN ``` See [Authorization](/api-reference/management-api/authorization) for ready-to-copy snippets in bash, Python, Node.js and Go that turn your `credentials.json` into a token.

Query parameters

application_idintegerRequired
Application ID to search by
application_namestringOptional

Application name to search by. Can be used instead of application_id

sq_queue_idlist of integersOptional

List of SmartQueue IDs separated by semicolons (;)

sq_queue_namelist of stringsOptional

List of SmartQueue names separated by semicolons (;). Can be used instead of sq_queue_id

sq_queue_name_templatestringOptional
Substring of the SmartQueue name to filter
user_idintegerOptional
ID of the user that is bound to the queue
user_namestringOptional

Name of the user that is bound to the queue. Can be used instead of user_id

excluded_user_idintegerOptional
ID of the user that is not bound to the queue
excluded_user_namestringOptional

Name of the user that is not bound to the queue. Can be used instead of excluded_user_id

countintegerOptionalDefaults to 20
Number of items to show in the output
offsetintegerOptionalDefaults to 0
Number of items to skip in the output
with_agentcountbooleanOptionalDefaults to false
Whether to include the number of agents bound to the queue

Response

Successful response
resultlist of objects

The found queue(s)

total_countinteger
countinteger