Retrieve the members of the queue

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

Calls in a call queue

Retrieve the members of the queue

Path parameters

  • AccountSid string Required

    The SID of the Account that created the Member resource(s) to read.

  • QueueSid string Required

    The SID of the Queue in which to find the members

Query parameters

  • PageSize integer

    How many resources to return in each list page. The default is 50, and the maximum is 1000.

    Minimum value is 1, maximum value is 1000.

Responses

  • OK

    Hide response attributes Show response attributes object
    • end integer
    • first_page_uri string(uri)
    • next_page_uri string(uri)
    • page integer
    • page_size integer
    • queue_members array[object]
      Hide queue_members attributes Show queue_members attributes array[object]
      • call_sid string | null

        The SID of the Call the resource is associated with

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^CA[0-9a-fA-F]{32}$.

      • date_enqueued string(date-time-rfc-2822) | null

        The date the member was enqueued

      • position integer | null

        This member's current position in the queue.

      • queue_sid string | null

        The SID of the Queue the member is in

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^QU[0-9a-fA-F]{32}$.

      • uri string(uri) | null

        The URI of the resource, relative to https://api.twilio.com

      • wait_time integer | null

        The number of seconds the member has been in the queue.

    • start integer
    • uri string(uri)
GET /2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members.json
curl \
 -X GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members.json \
 --user "username:password"
Response examples (200)
{
  "end": 42,
  "first_page_uri": "https://example.com",
  "next_page_uri": "https://example.com",
  "page": 42,
  "page_size": 42,
  "previous_page_uri": "https://example.com",
  "queue_members": [
    {
      "call_sid": "string",
      "date_enqueued": "string",
      "position": 42,
      "queue_sid": "string",
      "uri": "https://example.com",
      "wait_time": 42
    }
  ],
  "start": 42,
  "uri": "https://example.com"
}
Response examples (200)
{
  "end": 42,
  "first_page_uri": "https://example.com",
  "next_page_uri": "https://example.com",
  "page": 42,
  "page_size": 42,
  "previous_page_uri": "https://example.com",
  "queue_members": [
    {
      "call_sid": "string",
      "date_enqueued": "string",
      "position": 42,
      "queue_sid": "string",
      "uri": "https://example.com",
      "wait_time": 42
    }
  ],
  "start": 42,
  "uri": "https://example.com"
}