Install an Add-on for the Account specified.
Install an Add-on for the Account specified.
Body
-
The SID of the AvaliableAddOn to install.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^XB[0-9a-fA-F]{32}$
. -
Whether the Terms of Service were accepted.
-
The JSON object that represents the configuration of the new Add-on being installed.
-
An application-defined string that uniquely identifies the resource. This value must be unique within the Account.
POST
/marketplace/InstalledAddOns
curl \
--request POST 'https://preview.twilio.com/marketplace/InstalledAddOns' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'UniqueName=voicebase_high_accuracy_transcription_1&Configuration=%7B%22bad_words%22%3A+true%7D&AvailableAddOnSid=XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&AcceptTermsOfService=true'
Request example
{"UniqueName"=>"voicebase_high_accuracy_transcription_1", "Configuration"=>"{\"bad_words\": true}", "AvailableAddOnSid"=>"XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "AcceptTermsOfService"=>true}
Response examples (201)
{
"sid": "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://preview.twilio.com/marketplace/InstalledAddOns/XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"links": {
"extensions": "https://preview.twilio.com/marketplace/InstalledAddOns/XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Extensions",
"available_add_on": "https://preview.twilio.com/marketplace/AvailableAddOns/XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
},
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"description": "Automatic Transcription and Keyword Extract...",
"unique_name": "voicebase_high_accuracy_transcription_1",
"date_created": "2016-04-07T23:52:28Z",
"date_updated": "2016-04-07T23:52:28Z",
"configuration": {
"bad_words": true
},
"friendly_name": "VoiceBase High Accuracy Transcription"
}