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.
NzAwNTUxOTA5NzczMTQ4MTYw
queue_idall ofRequired
The unique ID of call queue.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Responses
200
OK
application/json
4XX
Error
get
GET /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.
NzAwNTUxOTA5NzczMTQ4MTYw
queue_idall ofRequired
The unique ID of call queue.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Body
itemsstring[]Optional
A collection of call queue agent extension numbers.
Responses
200
OK
4XX
Error
post
POST /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