GET
/2010-04-01/Accounts/{AccountSid}/Queues.jsonList queues for an account
Lists the queues belonging to an account. Use PageSize, Page, and PageToken to control which results the API returns and to navigate between pages. Each queue entry includes identifying information and current queue metrics.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
AccountSidstringrequired
The account SID whose queues to list. Must be a 34-character value matching `^AC[0-9a-fA-F]{32}$`.
PageSizeintegeroptional
The number of queues to return per page. Must be between 1 and 1000, and defaults to 50 when omitted.
Pageintegeroptional
The zero-based page index used to maintain client-side pagination state. Defaults to the initial page when omitted.
PageTokenstringoptional
The pagination token provided by the API for retrieving a subsequent page.
200Returns a paginated queue response containing queue entries and pagination metadata, including page size, page index, result positions, resource URI, and next and previous page URIs.
endintegeroptional
first_page_uristringoptional
next_page_uristringoptional
pageintegeroptional
page_sizeintegeroptional
previous_page_uristringoptional
startintegeroptional
uristringoptional
queuesarray<object>optional
Error handling
AccountSid must be a 34-character account SID matching the AC prefix format. PageSize must be between 1 and 1000, and Page must be zero or greater; use the returned PageToken to request the next page.