Skip to main content

Create a Queue.

POST 

/Accounts/:AccountSid/Queues

Create a call queue.

Permissions

The API token must include the following scopes: Voice.

Request

Path Parameters

    AccountSid uuidrequired

    The unique identifier for the account this Queue is associated with.

Body

    FriendlyName stringrequired

    A description that distinguishes a queue.

    Example: Queue1
    MaxSize string

    The maximum number of calls that are allowed to wait in a queue.

    Example: 123

Responses

OK

Schema

    account_sid string

    The unique identifier for the account this Queue is associated with.

    Example: b3877c40-da60-4998-90ad-b792e98472af
    average_wait_time uuid

    The average wait time, in seconds, of callers in a queue.

    Example: 0
    current_size string

    The number of calls waiting in the queue.

    Example: 0
    date_created string

    The date and time, in ISO 8601 format, the Queue was created.

    Example: Wed, 26 Sept 2018 18:00:00 +0000
    date_updated string

    The date and time, in ISO 8601 format, the Queue was updated.

    Example: Thur, 27 Sept 2018 19:00:00 +0000
    friendly_name string

    A description that distinguishes a queue.

    Example: Queue1
    max_size string

    The maximum number of calls that are allowed to wait in a queue.

    Example: 123
    sid string

    The unique identifier for the queue.

    Example: b3877c40-da60-4998-90ad-b792e98472qu
    uri string

    The URL of this resource.

    Example: /api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins/5184b831-184f-4209-872d-ccdccc80f2f1