POST/2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members/{CallSid}.json

Dequeue a member and redirect the call

Dequeues a specific member and starts the call's execution at the supplied URL. Provide Url as the destination, and use Method to choose whether request data is sent as form data or query parameters.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

3 parameters · 2 body fields
AccountSidstringrequired
The SID of the account that created the queue member, in the format `AC` followed by 32 hexadecimal characters.
QueueSidstringrequired
The SID of the queue containing the member, in the format `QU` followed by 32 hexadecimal characters.
CallSidstringrequired
The SID of the call associated with the queue member.

Optional form-encoded update details. Supply the required Url to dequeue the member and begin executing the call at that destination.

Urlstringrequired
The absolute URL of the Queue resource.
Methodstringoptional
How to pass the update request data. Can be `GET` or `POST` and the default is `POST`. `POST` sends the data as encoded form data and `GET` sends the data as query parameters.
Allowed:GETPOST

1 status code
200Returns the queue member, including its call SID, queue SID, enqueue date, current position, wait time, and resource URI.
call_sidstringoptional
The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Member resource is associated with.
date_enqueuedstringoptional
The date that the member was enqueued, given in RFC 2822 format.
positionintegeroptional
This member's current position in the queue.
Default:0
uristringoptional
The URI of the resource, relative to `https://api.twilio.com`.
wait_timeintegeroptional
The number of seconds the member has been in the queue.
Default:0
queue_sidstringoptional
The SID of the Queue the member is in.

Error handling

AccountSid must be a 34-character SID beginning with AC, and QueueSid must be a 34-character SID beginning with QU. Url is required and must be a URI; if provided, Method must be GET or POST.