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.
This subresource of the Available Add-ons resource allows users to fetch an Extension or view a list of Extensions associated with an Available Add-on Listing. An Extension describes the specific feature or API endpoint of a Twilio product in which an Add-on Listing can be used.
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 AvailableAddOnExtension resource.
^XF[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the AvailableAddOn resource to which this extension applies.
^XB[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
An application-defined string that uniquely identifies the resource.
The absolute URL of the resource.
GET https://marketplace.twilio.com/v1/AvailableAddOns/{AvailableAddOnSid}/Extensions/{Sid}
The SID of the AvailableAddOn resource with the extension to fetch.
^XB[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the AvailableAddOn Extension resource to fetch.
^XF[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
This endpoint returns details on a given Extension associated with a given Available Add-on.
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 fetchAvailableAddOnExtension() {11const extension = await client.marketplace.v112.availableAddOns("XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.extensions("XFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")14.fetch();1516console.log(extension.sid);17}1819fetchAvailableAddOnExtension();
1{2"sid": "XFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",3"available_add_on_sid": "XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",4"friendly_name": "Incoming Voice Call",5"product_name": "Programmable Voice",6"unique_name": "voice-incoming",7"url": "https://marketplace.twilio.com/v1/AvailableAddOns/XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Extensions/XFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"8}
GET https://marketplace.twilio.com/v1/AvailableAddOns/{AvailableAddOnSid}/Extensions
The SID of the AvailableAddOn resource with the extensions to read.
^XB[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
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.
This endpoint returns all Extensions associated with a given Available Add-on.
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 listAvailableAddOnExtension() {11const extensions = await client.marketplace.v112.availableAddOns("XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.extensions.list({ limit: 20 });1415extensions.forEach((e) => console.log(e.sid));16}1718listAvailableAddOnExtension();
1{2"extensions": [3{4"sid": "XFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",5"available_add_on_sid": "XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",6"friendly_name": "Incoming Voice Call",7"product_name": "Programmable Voice",8"unique_name": "voice-incoming",9"url": "https://marketplace.twilio.com/v1/AvailableAddOns/XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Extensions/XFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"10}11],12"meta": {13"page": 0,14"page_size": 50,15"first_page_url": "https://marketplace.twilio.com/v1/AvailableAddOns/XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Extensions?PageSize=50&Page=0",16"previous_page_url": null,17"url": "https://marketplace.twilio.com/v1/AvailableAddOns/XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Extensions?PageSize=50&Page=0",18"next_page_url": null,19"key": "extensions"20}21}