v50

latestOpenAPI 3.0.1Apache 2.0raw.githubusercontent.com2026-05-061971481.8 MB
Api20100401Queue

Create a queue

Create a queue

post/2010-04-01/Accounts/{AccountSid}/Queues.json

Path parameters

AccountSidstring required

The SID of the Account that will create the resource.

Response

Created

date_updatedstring date-time-rfc-2822 nullable

The date and time in GMT that this resource was last updated, specified in RFC 2822 format.

current_sizeinteger

The number of calls currently in the queue.

friendly_namestring nullable

A string that you assigned to describe this resource.

uristring nullable

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

account_sidstring nullable

The SID of the Account that created this Queue resource.

average_wait_timeinteger

The average wait time in seconds of the members in this queue. This is calculated at the time of the request.

sidstring nullable

The unique string that that we created to identify this Queue resource.

date_createdstring date-time-rfc-2822 nullable

The date and time in GMT that this resource was created specified in RFC 2822 format.

max_sizeinteger

The maximum number of calls that can be in the queue. The default is 1000 and the maximum is 5000.