List All Queues
Changed onLists the account's voice queues. Queues hold callers until an application is ready to handle them, and each is managed by Queue SID. The SignalWire REST Queues API exposes the same queues through JSON routes.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice.
Learn more about API scopes.
Request
- Base URLhttps://YOUR_SPACE.signalwire.com/api/laml/2010-04-01
- URLhttps://YOUR_SPACE.signalwire.com/api/laml/2010-04-01/Accounts/{AccountSid}/Queues
- AuthHTTP basic
Path parameters
Universal Unique Identifier.
The unique identifier for the account this Queue is associated with.
Query parameters
The page number to retrieve (zero-indexed).
The number of results per page. Default is 50, maximum is 1000.
Token for cursor-based pagination. Required when navigating to pages beyond the first.
Response
The request has succeeded.
Example response
{
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Queues?Page=0&PageSize=50",
"first_page_uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Queues",
"next_page_uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Queues?Page=1&PageSize=50&PageToken=PAb3877c40-da60-4998-90ad-b792e98472qu",
"page_size": 50,
"queues": [
{
"friendly_name": "Queue1",
"max_size": 100,
"date_created": "Wed, 26 Sep 2018 18:00:00 +0000",
"date_updated": "Thu, 27 Sep 2018 19:00:00 +0000",
"api_version": "2010-04-01",
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Queues/b3877c40-da60-4998-90ad-b792e98472qu.json"
}
]
}Changes
- breaking
the
//response's property type changed fromstringto no type, and format fromuuidto no format for status - breaking
the
//response's property type changed fromstringto no type, and format fromuuidto no format for status - info
added to the
//response propertyallOflist for the response status - info
added to the
//response propertyallOflist for the response status
- breaking
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the
/response property for the status
- info