GET/2010-04-01/Accounts/{AccountSid}/Queues.json

List queues for an account

Lists queues belonging to an account. Use PageSize to control the number of queues per page and Page or PageToken to navigate the results.

4 parameters
AccountSidstringrequired
The account SID whose queues to list, in the format `AC` followed by 32 hexadecimal characters.
PageSizeintegeroptional
The number of queues to return per page, from 1 to 1000. Defaults to 50 when omitted.
Pageintegeroptional
The page index for client state. Must be zero or greater.
PageTokenstringoptional
The page token provided by the API for navigating results.

1 status code
200Returns a paginated response containing queue objects and page metadata, including the current page, page size, and URIs for the next and previous pages.
endintegeroptional
first_page_uristringoptional
next_page_uristringoptional
pageintegeroptional
page_sizeintegeroptional
previous_page_uristringoptional
startintegeroptional
uristringoptional
queuesarray<object>optional

Error handling

The AccountSid path parameter must be a 34-character account SID beginning with AC followed by 32 hexadecimal characters. PageSize must be between 1 and 1000, and Page must be zero or greater; use a PageToken provided by the API to request the corresponding page.