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.
_10/2010-04-01/Accounts/{AccountSid}/AuthorizedConnectApps/{ConnectAppSid}
Resource properties
connect_app_company_name
type: string
The company name set for the Connect App.
connect_app_description
type: string
A detailed description of the Connect App.
connect_app_friendly_name
type: string
The name of the Connect App.
connect_app_homepage_url
type: string<uri>
The public URL for the Connect App.
connect_app_sid
type: SID<CN>
The SID that we assigned to the Connect App.
Pattern:
^CN[0-9a-fA-F]{32}$
permissions
type: array[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
uri
type: string
The URI of the resource, relative to https://api.twilio.com
.
_10// Download the helper library from https://www.twilio.com/docs/node/install
_10// Find your Account SID and Auth Token at twilio.com/console
_10// and set the environment variables. See http://twil.io/secure
_10const accountSid = process.env.TWILIO_ACCOUNT_SID;
_10const authToken = process.env.TWILIO_AUTH_TOKEN;
_10const client = require('twilio')(accountSid, authToken);
_10client.authorizedConnectApps('CN47260e643654388faabe8aaa18ea6756')
_10 .then(authorized_connect_app => console.log(authorized_connect_app.connectAppCompanyName));
_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/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps/CNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
_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.
_10// Download the helper library from https://www.twilio.com/docs/node/install
_10// Find your Account SID and Auth Token at twilio.com/console
_10// and set the environment variables. See http://twil.io/secure
_10const accountSid = process.env.TWILIO_ACCOUNT_SID;
_10const authToken = process.env.TWILIO_AUTH_TOKEN;
_10const client = require('twilio')(accountSid, authToken);
_10client.authorizedConnectApps
_10 .then(authorizedConnectApps => authorizedConnectApps.forEach(a => console.log(a.connectAppCompanyName)));
_24 "authorized_connect_apps": [
_24 "account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_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": "CNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_24 "uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps/CNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
_24 "first_page_uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps.json?Page=0&PageSize=50",
_24 "next_page_uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps.json?Page=2&PageSize=50",
_24 "previous_page_uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps.json?Page=1&PageSize=50",
_24 "uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps.json"