List All Queues
GET/Accounts/:AccountSid/Queues
The ability to read all of the queues that are associated with your account. This will be returned as a list of queues.
Permissions
The API token must include the following scopes: Voice.
Request
Path Parameters
The unique identifier for the account this Queue is associated with.
Query Parameters
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
queues
object[]
The unique identifier for the account this Queue is associated with.
The average wait time, in seconds, of callers in a queue.
The number of calls waiting in the queue.
The date and time, in ISO 8601 format, the Queue was created.
The date and time, in ISO 8601 format, the Queue was updated.
A description that distinguishes a queue.
The maximum number of calls that are allowed to wait in a queue.
The unique identifier for the queue.
The URL of this resource.
The unique identifier for this account.
{
"uri": "string",
"first_page_uri": "string",
"next_page_uri": "string",
"previous_page_uri": "string",
"page": 0,
"page_size": 0,
"queues": [
{
"account_sid": "b3877c40-da60-4998-90ad-b792e98472af",
"average_wait_time": "0",
"current_size": "0",
"date_created": "Wed, 26 Sept 2018 18:00:00 +0000",
"date_updated": "Thur, 27 Sept 2018 19:00:00 +0000",
"friendly_name": "Queue1",
"max_size": "123",
"sid": "b3877c40-da60-4998-90ad-b792e98472qu",
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins/5184b831-184f-4209-872d-ccdccc80f2f1"
}
],
"account_sid": "b3877c40-da60-4998-90ad-b792e98472ac"
}