Query Outbound Queue List
Retrieve a list of outbound queues.
Request URL
GET {base_url}/{api_path}/outbound_queue/list?access_token={access_token}
Request parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| page | No | Integer | Define which page is displayed. |
| page_size | No | Integer | Define how many records per page. |
| sort_by | No | String | Define the sorting field. Valid value:
|
| order_by | No | String | Define the display order. Valid value:
|
Response parameters
| Parameter | Type | Description |
|---|---|---|
| errcode | Integer | Returned error code.
Note: You can check the error code and
error message in Error Code and Error Message.
|
| errmsg | String | Returned message.
|
| data | Array<Outbound_Queue_List> | The list of outbound queues. |
| total_number | Integer | The total number of outbound queues. |
- Outbound_Queue_List
-
Parameter Type Description id Integer The unique ID of the outbound queue. number String The outbound queue number. name String The outbound queue name. queue_type String The queue type. The value is fixed as outbound_queue.ring_strategy String The ring strategy of the outbound queue. ring_all: Ring all available agents simultaneously until someone answers.least_recent: Ring the available agent that was least recently called.fewest_calls: Ring the available agent with the fewest completed calls.random: Ring the agents randomly.rrmemory: Round robin with memory.linear: Ring the available agent in specific order based on the type of agents in the queue.
dynamic_agents String The extension numbers of dynamic agents. static_agents String The extension numbers of static agents. managers String The extension numbers of queue managers. client_unique_ringtone String The filename of the distinctive ringtone configured for agents' Linkus clients.
Example
Request example
GET /openapi/v1.0/outbound_queue/list?page=1&page_size=2&access_token=xVx9wX2B38gSD0C2o4y9b9bd5QOPz2MK HTTP/1.1
Host: 192.168.5.150:8088
Response example
HTTP/1.1 200 OK
{
"errcode": 0,
"errmsg": "SUCCESS",
"total_number": 2,
"data": [
{
"id": 8020,
"number": "6400",
"name": "6400",
"queue_type": "outbound_queue",
"ring_strategy": "linear",
"dynamic_agents": "",
"static_agents": "3200",
"managers": "",
"client_unique_ringtone": ""
},
{
"id": 8023,
"number": "9100",
"name": "API Test Outbound Queue",
"queue_type": "outbound_queue",
"ring_strategy": "least_recent",
"dynamic_agents": "",
"static_agents": "3200",
"managers": "3200",
"client_unique_ringtone": ""
}
]
}