Fetch an instance of a queue identified by the QueueSid
Queues of calls
Fetch an instance of a queue identified by the QueueSid
Path parameters
-
The SID of the Account that created the Queue resource to fetch.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^AC[0-9a-fA-F]{32}$
. -
The Twilio-provided string that uniquely identifies the Queue resource to fetch
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^QU[0-9a-fA-F]{32}$
.
GET
/2010-04-01/Accounts/{AccountSid}/Queues/{Sid}.json
curl \
--request GET 'https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Queues/{Sid}.json' \
--user "username:password"
Response examples (200)
{
"sid": "QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Queues/QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
"max_size": 100,
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"current_size": 0,
"date_created": "Tue, 04 Aug 2015 18:39:09 +0000",
"date_updated": "Tue, 04 Aug 2015 18:39:09 +0000",
"friendly_name": "0.361280134646222",
"subresource_uris": {
"members": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Queues/QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Members.json"
},
"average_wait_time": 0
}