Dequeue a member from a queue and have the member's call begin executing the TwiML document at that URL
Calls in a call queue
Dequeue a member from a queue and have the member's call begin executing the TwiML document at that URL
Path parameters
-
The SID of the Account that created the Member resource(s) to update.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^AC[0-9a-fA-F]{32}$
. -
The SID of the Queue in which to find the members to update.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^QU[0-9a-fA-F]{32}$
. -
The Call SID of the resource(s) to update.
POST
/2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members/{CallSid}.json
curl \
--request POST 'https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members/{CallSid}.json' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'Url=https%3A%2F%2Fexample.com&Method=GET'
Request examples
Update
{"Url"=>"https://example.com", "Method"=>"GET"}
{"Url"=>"https://example.com", "Method"=>"GET"}
Response examples (200)
Update
{
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Queues/QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Members/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
"call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"position": 1,
"queue_sid": "QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"wait_time": 143,
"date_enqueued": "Thu, 06 Dec 2018 18:42:47 +0000"
}
{
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Queues/QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Members/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
"call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"position": 1,
"queue_sid": "QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"wait_time": 143,
"date_enqueued": "Tue, 07 Aug 2012 22:57:41 +0000"
}