Agents
Get a collection of agent extension numbers in call queue for exclusive number.
Authorizations
Path parameters
idall ofRequired
The unique ID of exclusive number.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwqueue_idall ofRequired
The unique ID of call queue.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwResponses
200
OK
application/json
4XX
Error
get
/exclusive_numbers/{id}/call_queues/{queue_id}/agentsGET /api/exclusive_numbers/{id}/call_queues/{queue_id}/agents HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"name": "text",
"display_name": "text",
"extension_number": "text"
}
]
}Set agents for exclusive number.
Authorizations
Path parameters
idall ofRequired
The unique ID of exclusive number.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwqueue_idall ofRequired
The unique ID of call queue.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwBody
itemsstring[]Optional
A collection of call queue agent extension numbers.
Responses
200
OK
No content
4XX
Error
post
/exclusive_numbers/{id}/call_queues/{queue_id}/agentsPOST /api/exclusive_numbers/{id}/call_queues/{queue_id}/agents HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"items": [
"text"
]
}No content