Authentication
JWT or API key withqueues.* permission.
List queues
Create a queue
Update a queue
Delete a queue
Queue members
List members
Add a member
penalty controls ring priority — lower values ring first. Useful for tiered support.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create call queues, add members, configure ring strategy and timeout.
queues.* permission.
GET /api/v1/queues
curl -X GET https://your-server:8000/api/v1/queues \
-H "Authorization: Bearer $JWT"
POST /api/v1/queues
curl -X POST https://your-server:8000/api/v1/queues \
-H "Authorization: Bearer $JWT" \
-H "Content-Type: application/json" \
-d '{
"number": "5099",
"name": "Sales Queue",
"ring_strategy": "ringall",
"timeout": 30,
"timeout_destination_type": "voicemail",
"timeout_destination": "1001",
"moh_class": "default"
}'
| Field | Type | Notes |
|---|---|---|
number | string | 4-digit, unique within org |
name | string | |
ring_strategy | string | ringall, linear, rrmemory, leastrecent, fewestcalls |
timeout | number | Seconds to ring before falling through |
timeout_destination_type | string | extension, queue, ivr, voicemail, external, phone, hangup |
timeout_destination | string | Destination value, format depends on type |
moh_class | string | Music-on-hold class name |
PUT /api/v1/queues/{id}
curl -X PUT https://your-server:8000/api/v1/queues/<id> \
-H "Authorization: Bearer $JWT" \
-H "Content-Type: application/json" \
-d '{"timeout": 60}'
DELETE /api/v1/queues/{id}
curl -X DELETE https://your-server:8000/api/v1/queues/<id> \
-H "Authorization: Bearer $JWT"
GET /api/v1/queues/{id}/members
POST /api/v1/queues/{id}/members
curl -X POST https://your-server:8000/api/v1/queues/<id>/members \
-H "Authorization: Bearer $JWT" \
-H "Content-Type: application/json" \
-d '{"extension":"1001","penalty":0}'
penalty controls ring priority — lower values ring first. Useful for tiered support.
DELETE /api/v1/queues/{id}/members/{extension}
curl -X DELETE https://your-server:8000/api/v1/queues/<id>/members/1001 \
-H "Authorization: Bearer $JWT"
