Get Queue List

List all queues.

MCP tool

list_queues

Tool parameters

You can specify the following parameters in your request.

Parameter Required Description
page No The page number to retrieve (default: 1).
page_size No The number of records to return per page (default: 20).
sort_by No The field to sort the results by: id, pos, or name.
Note: You can ask your MCP client what sorting options are supported using a prompt such as "How can I sort queue list"
order_by No

Sort results in ascending or descending order.

Examples

The following example demonstrates how to use a natural language request in Codex to call this tool and retrieve the queue list.

List queues

Prompt example

List the queues on my PBX and show their ring strategies and assigned agents.

Response example

Retrieve queue on a specific page

Prompt example

List the queues sorted by name in ascending order, with 1 queues per page.

Response example