Path parameters
-
The SID of the Account that will create the resource.
POST /2010-04-01/Accounts/{AccountSid}/Queues.json
curl \
-X POST https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Queues.json \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'FriendlyName=string&MaxSize=42'
Request example
{
"FriendlyName": "string",
"MaxSize": 42
}
Request examples
{
"FriendlyName": "string",
"MaxSize": 42
}
Response examples (201)
{
"account_sid": "string",
"average_wait_time": 42,
"current_size": 42,
"date_created": "string",
"date_updated": "string",
"friendly_name": "string",
"max_size": 42,
"sid": "string",
"uri": "https://example.com"
}
Response examples (201)
{
"account_sid": "string",
"average_wait_time": 42,
"current_size": 42,
"date_created": "string",
"date_updated": "string",
"friendly_name": "string",
"max_size": 42,
"sid": "string",
"uri": "https://example.com"
}