strategy. Each queue has a queue_number that callers dial or that DIDs route to, a timeout controlling the maximum hold time in seconds, and a status flag controlling whether the queue is active. All endpoints require an active admin session. The list endpoint supports an optional search parameter that matches against name, queue_number, and strategy. List and show responses include the parent tenant and the assigned agents relations.
GET /api/queues
Returns all call queues ordered by creation date descending, withtenant and agents relations included.
Query parameters
string
Optional. Filters queues whose
name, queue_number, or strategy contains the given string (case-insensitive).string
Value is
"Queues fetched successfully.".array
Array of queue objects.
POST /api/queues
Creates a new call queue and returns201 Created with the record.
integer
required
ID of the tenant to assign this queue to. Must reference an existing tenant.
string
required
Human-readable queue name. Maximum 255 characters.
string
required
Dialable number or short code for the queue, e.g.
"5001". Maximum 20 characters.string
required
Agent selection strategy, e.g.
roundrobin, leastrecent, ringall. Maximum 100 characters.integer
required
Maximum caller wait time in seconds. Minimum value:
1.string
required
Lifecycle status, e.g.
active or inactive. Maximum 50 characters.string
Value is
"Queue created successfully.".object
The newly created queue record.
GET /api/queues/
Fetches a single call queue by its ID. Includes the parenttenant and agents relations.
Path parameters
integer
required
The numeric ID of the queue to retrieve.
string
Value is
"Queue loaded successfully.".object
The queue record with
tenant and agents included.PUT /api/queues/
Replaces all fields on an existing call queue.PATCH /api/queues/{queue} is also accepted and uses the same handler.
Path parameters
integer
required
The numeric ID of the queue to update.
integer
required
Must reference an existing tenant.
string
required
Maximum 255 characters.
string
required
Maximum 20 characters.
string
required
Maximum 100 characters.
integer
required
Minimum value:
1.string
required
Maximum 50 characters.
string
Value is
"Queue updated successfully.".object
The updated queue record.
DELETE /api/queues/
Permanently deletes the specified call queue. Path parametersinteger
required
The numeric ID of the queue to delete.
string
Value is
"Queue deleted successfully.".