Skip to main content

Queues

Queue permits you to search and maintain individual call queues.

Properties

AttributeType
average_wait_timeintegerThe average wait time, in seconds, of callers in a queue.
current_sizeintegerThe number of calls waiting in the queue.
friendly_namestringA description that distinguishes a queue.
max_sizeintegerThe maximum number of calls that are allowed to wait in a queue.
sidstringThe unique identifier for the queue.

A sample Queue returned from the API:

{
"account_sid": "b3877c40-da60-4998-90ad-b792e98472ac",
"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": "0.361280134646222",
"max_size": 123,
"sid": "b3877c40-da60-4998-90ad-b792e98472qu",
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472ac/Queues/b3877c40-da60-4998-90ad-b792e98472qu.json"
}