Assign an Add-on installation to the Number specified
TODO: Resource-level docs
Assign an Add-on installation to the Number specified.
Path parameters
-
The SID of the Account that will create the resource.
-
The SID of the Phone Number to assign the Add-on.
Body
-
The SID that identifies the Add-on installation.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^XE[0-9a-fA-F]{32}$
.
POST /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns.json
curl \
-X POST https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns.json \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'InstalledAddOnSid=string'
Request example
{
"InstalledAddOnSid": "string"
}
Request examples
{
"InstalledAddOnSid": "string"
}
Response examples (201)
{
"account_sid": "string",
"date_created": "string",
"date_updated": "string",
"description": "string",
"friendly_name": "string",
"resource_sid": "string",
"sid": "string",
"subresource_uris": {},
"unique_name": "string",
"uri": "https://example.com"
}
Response examples (201)
{
"account_sid": "string",
"date_created": "string",
"date_updated": "string",
"description": "string",
"friendly_name": "string",
"resource_sid": "string",
"sid": "string",
"subresource_uris": {},
"unique_name": "string",
"uri": "https://example.com"
}