Add a Short Code to the Proxy Number Pool for the Service
TODO: Resource-level docs
Add a Short Code to the Proxy Number Pool for the Service.
Path parameters
-
The SID of the parent Service resource.
POST /v1/Services/{ServiceSid}/ShortCodes
curl \
-X POST https://proxy.twilio.com/v1/Services/{ServiceSid}/ShortCodes \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'Sid=string'
Request example
{
"Sid": "string"
}
Request examples
{
"Sid": "string"
}
Response examples (201)
{
"account_sid": "string",
"capabilities": {
"fax": true,
"mms": true,
"sms": true,
"voice": true
},
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"is_reserved": true,
"iso_country": "string",
"service_sid": "string",
"short_code": "string",
"sid": "string",
"url": "https://example.com"
}
Response examples (201)
{
"account_sid": "string",
"capabilities": {
"fax": true,
"mms": true,
"sms": true,
"voice": true
},
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"is_reserved": true,
"iso_country": "string",
"service_sid": "string",
"short_code": "string",
"sid": "string",
"url": "https://example.com"
}