v52

OpenAPI 3.1.0raw.githubusercontent.com2026-07-311,1941,9384.1 MB
TeXML REST Commands

Fetch a queue resource

Returns a queue resource.

get/texml/Accounts/{account_sid}/Queues/{queue_sid}

Path parameters

account_sidstring required

The id of the account the resource belongs to.

queue_sidstring required

The QueueSid that identifies the call queue.

Response

Queue resource.

account_sidstring

The id of the account the resource belongs to.

average_wait_timeinteger

The average wait time in seconds for members in the queue.

current_sizeinteger

The current number of members in the queue.

date_createdstring

The timestamp of when the resource was created.

date_updatedstring

The timestamp of when the resource was last updated.

max_sizeinteger

The maximum size of the queue.

sidstring

The unique identifier of the queue.

subresource_urisobject

A list of related resources identified by their relative URIs.

uristring

The relative URI for this queue.

Example response

{
  "account_sid": "4e71926f-8f13-450e-b91c-23c2ef786aa6",
  "average_wait_time": 30,
  "current_size": 3,
  "date_created": "Fri, 27 Oct 2023 07:41:58 +0000",
  "date_updated": "Fri, 27 Oct 2023 07:41:58 +0000",
  "max_size": 10,
  "sid": "my-queue",
  "subresource_uris": {
    "members": "/Accounts/4e71926f-8f13-450e-b91c-23c2ef786aa6/Queues/my-queue/Members.json"
  },
  "uri": "/Accounts/4e71926f-8f13-450e-b91c-23c2ef786aa6/Queues/my-queue.json"
}