REST API: Queues

The Queue instance resource allows you to query and manage the state of individual
call queues. When a caller is enqueued in a named Queue via the <Enqueue> verb, a Queue with that name is created if
it doesn't exist. A Queue can also be created beforehand using the API.
Each individual call in the queue is represented as a Member instance resource. See the Members documentation for details.

The Queues list resource allows you to list the queues within an account.

The POST request allows you to change the FriendlyName or MaxSize. Changing the MaxSize of a Queue to something smaller than its current size will result in the Queue rejecting incoming requests until it shrinks below the new MaxSize.