REST API: Authorized Connect Apps
The AuthorizedConnectApps list resource shows all of the Connect Apps that you
have authorized for your account. Each Connect App corresponds to a
subaccount within your Twilio account, which acts as that Connect
App's sandbox. The instance resource shows you the permissions you have granted
for a Connect App as well as information about the Connect App itself.
AuthorizedConnectApp Instance Resource
_10 /2010-04-01/Accounts/{AccountSid}/AuthorizedConnectApps/{ConnectAppSid}
Property name Type PII Description
The SID of the Account that created the AuthorizedConnectApp resource.
Pattern: ^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
connect_app_company_name string The company name set for the Connect App.
connect_app_description string A detailed description of the Connect App.
connect_app_friendly_name string The name of the Connect App.
connect_app_homepage_url string<uri> The public URL for the Connect App.
The SID that we assigned to the Connect App.
Pattern: ^CN[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
permissions array[enum<string>] The set of permissions that you authorized for the Connect App. Can be: get-all
or post-all
.
Possible values: get-all
post-all
The URI of the resource, relative to https://api.twilio.com
.
Retrieve an Authorized Connect App _18 // Download the helper library from https://www.twilio.com/docs/node/install
_18 const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
_18 // Find your Account SID and Auth Token at twilio.com/console
_18 // and set the environment variables. See http://twil.io/secure
_18 const accountSid = process.env.TWILIO_ACCOUNT_SID;
_18 const authToken = process.env.TWILIO_AUTH_TOKEN;
_18 const client = twilio(accountSid, authToken);
_18 async function fetchAuthorizedConnectApp() {
_18 const authorizedConnectApp = await client
_18 .authorizedConnectApps("CN47260e643654388faabe8aaa18ea6756")
_18 console.log(authorizedConnectApp.accountSid);
_18 fetchAuthorizedConnectApp();
_12 "account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_12 "connect_app_company_name": "aaa",
_12 "connect_app_description": "alksjdfl;ajseifj;alsijfl;ajself;jasjfjas;lejflj",
_12 "connect_app_friendly_name": "aaa",
_12 "connect_app_homepage_url": "http://www.google.com",
_12 "connect_app_sid": "CN47260e643654388faabe8aaa18ea6756",
_12 "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AuthorizedConnectApps/CNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
AuthorizedConnectApps List Resource
_10 /2010-04-01/Accounts/{AccountSid}/AuthorizedConnectApps
Returns a list of Connect App resource representations, each representing a
Connect App you've authorized to access your account. The list includes paging information .
Retrieve all Authorized Connect Apps _18 // Download the helper library from https://www.twilio.com/docs/node/install
_18 const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
_18 // Find your Account SID and Auth Token at twilio.com/console
_18 // and set the environment variables. See http://twil.io/secure
_18 const accountSid = process.env.TWILIO_ACCOUNT_SID;
_18 const authToken = process.env.TWILIO_AUTH_TOKEN;
_18 const client = twilio(accountSid, authToken);
_18 async function listAuthorizedConnectApp() {
_18 const authorizedConnectApps = await client.authorizedConnectApps.list({
_18 authorizedConnectApps.forEach((a) => console.log(a.accountSid));
_18 listAuthorizedConnectApp();
_24 "authorized_connect_apps": [
_24 "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_24 "connect_app_company_name": "aaa",
_24 "connect_app_description": "alksjdfl;ajseifj;alsijfl;ajself;jasjfjas;lejflj",
_24 "connect_app_friendly_name": "aaa",
_24 "connect_app_homepage_url": "http://www.google.com",
_24 "connect_app_sid": "CNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_24 "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AuthorizedConnectApps/CNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
_24 "first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AuthorizedConnectApps.json?Page=0&PageSize=50",
_24 "next_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AuthorizedConnectApps.json?Page=2&PageSize=50",
_24 "previous_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AuthorizedConnectApps.json?Page=1&PageSize=50",
_24 "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AuthorizedConnectApps.json"