Marketplace v1 API is now available, and the Preview API for this Resource will be discontinued in December 2024. See the API Preview to v1 Migration Guide for more information.
The InstalledAddOns resource allows you to install, configure, and manage installed Add-on Listings for an Account. Multiple instances of an Add-on Listing can be installed on an Account, each with a different configuration.
This API only supports Add-on Listings that are in General Availability (GA) or Beta state. Listings that are labeled as Coming Soon or Developer Preview are not accessible via the API and must be managed in the Console.
The unique string that we created to identify the InstalledAddOn resource. This Sid can also be found in the Console on that specific Add-ons page as the 'Available Add-on Sid'.
^XE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the Account that created the InstalledAddOn resource.
^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The JSON object that represents the current configuration of installed Add-on.
An application-defined string that uniquely identifies the resource.
The date and time in GMT when the resource was created specified in ISO 8601 format.
The date and time in GMT when the resource was last updated specified in ISO 8601 format.
The URLs of related resources.
POST https://marketplace.twilio.com/v1/InstalledAddOns
application/x-www-form-urlencoded
The SID of the AvaliableAddOn to install.
^XB[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
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.
To install an Add-on Listing within your Account, you need to find its AvailableAddOn SID. You can do this by listing all AvailableAddOn resources and finding the SID of the one you wish to install. The AvailableAddOn resource also shows the information required for installing the Add-on Listing.
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function createInstalledAddOn() {11const installedAddOn = await client.marketplace.v1.installedAddOns.create({12acceptTermsOfService: true,13availableAddOnSid: "XB85b56ed9ce713e0ac62342b901233193",14configuration: {15callback_method: "POST",16callback_url: "https://example.com/your-callback-url",17"include-keywords": true,18"include-topics": true,19},20});2122console.log(installedAddOn.sid);23}2425createInstalledAddOn();
1{2"sid": "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",3"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",4"friendly_name": "VoiceBase High Accuracy Transcription",5"description": "Automatic Transcription and Keyword Extract...",6"configuration": {7"bad_words": true8},9"unique_name": "voicebase_high_accuracy_transcription_1",10"date_created": "2016-04-07T23:52:28Z",11"date_updated": "2016-04-07T23:52:28Z",12"url": "https://marketplace.twilio.com/v1/InstalledAddOns/XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",13"links": {14"extensions": "https://marketplace.twilio.com/v1/InstalledAddOns/XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Extensions",15"available_add_on": "https://marketplace.twilio.com/v1/AvailableAddOns/XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"16}17}
GET https://marketplace.twilio.com/v1/InstalledAddOns/{Sid}
The SID of the InstalledAddOn resource to fetch.
^XE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function fetchInstalledAddOn() {11const installedAddOn = await client.marketplace.v112.installedAddOns("XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.fetch();1415console.log(installedAddOn.sid);16}1718fetchInstalledAddOn();
1{2"sid": "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",3"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",4"friendly_name": "VoiceBase High Accuracy Transcription",5"description": "Automatic Transcription and Keyword Extract...",6"configuration": {7"bad_words": true8},9"unique_name": "voicebase_high_accuracy_transcription",10"date_created": "2016-04-07T23:52:28Z",11"date_updated": "2016-04-07T23:52:28Z",12"url": "https://marketplace.twilio.com/v1/InstalledAddOns/XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",13"links": {14"extensions": "https://marketplace.twilio.com/v1/InstalledAddOns/XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Extensions",15"available_add_on": "https://marketplace.twilio.com/v1/AvailableAddOns/XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"16}17}
GET https://marketplace.twilio.com/v1/InstalledAddOns
How many resources to return in each list page. The default is 50, and the maximum is 1000.
1
Maximum: 1000
The page token. This is provided by the API.
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function listInstalledAddOn() {11const installedAddOns = await client.marketplace.v1.installedAddOns.list({12limit: 20,13});1415installedAddOns.forEach((i) => console.log(i.sid));16}1718listInstalledAddOn();
1{2"installed_add_ons": [3{4"sid": "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",5"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",6"friendly_name": "VoiceBase High Accuracy Transcription",7"description": "Automatic Transcription and Keyword Extract...",8"configuration": {9"bad_words": true10},11"unique_name": "voicebase_high_accuracy_transcription",12"date_created": "2016-04-07T23:52:28Z",13"date_updated": "2016-04-07T23:52:28Z",14"url": "https://marketplace.twilio.com/v1/InstalledAddOns/XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",15"links": {16"extensions": "https://marketplace.twilio.com/v1/InstalledAddOns/XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Extensions",17"available_add_on": "https://marketplace.twilio.com/v1/AvailableAddOns/XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"18}19}20],21"meta": {22"page": 0,23"page_size": 50,24"first_page_url": "https://marketplace.twilio.com/v1/InstalledAddOns?PageSize=50&Page=0",25"previous_page_url": null,26"url": "https://marketplace.twilio.com/v1/InstalledAddOns?PageSize=50&Page=0",27"next_page_url": null,28"key": "installed_add_ons"29}30}
POST https://marketplace.twilio.com/v1/InstalledAddOns/{Sid}
The SID of the InstalledAddOn resource to update.
^XE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
application/x-www-form-urlencoded
Valid JSON object that conform to the configuration schema exposed by the associated AvailableAddOn resource. This is only required by Add-ons that need to be configured
An application-defined string that uniquely identifies the resource. This value must be unique within the Account.
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function updateInstalledAddOn() {11const installedAddOn = await client.marketplace.v112.installedAddOns("XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.update({ configuration: {} });1415console.log(installedAddOn.sid);16}1718updateInstalledAddOn();
1{2"sid": "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",3"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",4"friendly_name": "VoiceBase High Accuracy Transcription",5"description": "Automatic Transcription and Keyword Extract...",6"configuration": {7"bad_words": true8},9"unique_name": "voicebase_high_accuracy_transcription_2",10"date_created": "2016-04-07T23:52:28Z",11"date_updated": "2016-04-07T23:52:28Z",12"url": "https://marketplace.twilio.com/v1/InstalledAddOns/XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",13"links": {14"extensions": "https://marketplace.twilio.com/v1/InstalledAddOns/XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Extensions",15"available_add_on": "https://marketplace.twilio.com/v1/AvailableAddOns/XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"16}17}
DELETE https://marketplace.twilio.com/v1/InstalledAddOns/{Sid}
The SID of the InstalledAddOn resource to delete.
^XE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function deleteInstalledAddOn() {11await client.marketplace.v112.installedAddOns("XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.remove();14}1516deleteInstalledAddOn();