List All Queue Members
GET/Accounts/:AccountSid/Queues/:QueueSid/Members
The ability to read all of the queue members that are waiting in a particular queue. This will be returned as a list of members.
Permissions
The API token must include the following scopes: Voice.
Request
Path Parameters
The unique identifier for the account this Queue is associated with.
The unique identifier for the queue.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The name of object.
The URI for the last page.
The name of object.
queue_members
object[]
The unique identifier for the call this Queue Member is associated with.
The date, in RFC 2822 format, the queue member was enqueued.
The member's current place in the queue.
The URL of this resource.
The number of seconds the member has been in the queue.
The name of object.
The name of object.
The unique identofier for account.
The unique identifier for queue.
{
"uri": "string",
"first_page_uri": "string",
"next_page_uri": "string",
"previous_page_uri": "string",
"page": 0,
"page_size": 0,
"end": "0",
"last_page_uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472ac/Queues/b3877c40-da60-4998-90ad-b792e98472qu/Members.json?Page=0&PageSize=50",
"num_pages": "1",
"queue_members": [
{
"call_sid": "b3877c40-da60-4998-90ad-b792e98472af",
"date_enqueued": "Wed, 26 Sept 2018 22:00:00 +0000",
"position": "1",
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins/5184b831-184f-4209-872d-ccdccc80f2f1",
"wait_time": "300"
}
],
"start": "0",
"total": "1",
"account_sid": "b3877c40-da60-4998-90ad-b792e98472ac",
"queue_sid": "b3877c40-da60-4998-90ad-b792e98472qu"
}