Skip to contentSkip to navigationSkip to topbar
Rate this Page:

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

instance page anchor

Resource URI

instance-uri page anchor

_10
/2010-04-01/Accounts/{AccountSid}/AuthorizedConnectApps/{ConnectAppSid}

Resource properties
account_sidtype: SID<AC>

connect_app_company_nametype: string

The company name set for the Connect App.


connect_app_descriptiontype: string

A detailed description of the Connect App.


connect_app_friendly_nametype: string

The name of the Connect App.


connect_app_homepage_urltype: string<URI>

The public URL for the Connect App.


connect_app_sidtype: SID<CN>

The SID that we assigned to the Connect App.


permissionstype: string[]

The set of permissions that you authorized for the Connect App. Can be: get-all or post-all.

Possible values:
get-allpost-all

uritype: string

The URI of the resource, relative to https://api.twilio.com.

Example

instance-get-example-1 page anchor

Retrieve an Authorized Connect App

retrieve-an-authorized-connect-app page anchor
Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_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
_10
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_10
const authToken = process.env.TWILIO_AUTH_TOKEN;
_10
const client = require('twilio')(accountSid, authToken);
_10
_10
client.authorizedConnectApps('CN47260e643654388faabe8aaa18ea6756')
_10
.fetch()
_10
.then(authorized_connect_app => console.log(authorized_connect_app.connectAppCompanyName));

Output

_12
{
_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
"permissions": [
_12
"get-all"
_12
],
_12
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps/CNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
_12
}

Not supported.

Not supported.

Not supported.


AuthorizedConnectApps List Resource

list page anchor

_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

retrieve-all-authorized-connect-apps page anchor
Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_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
_10
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_10
const authToken = process.env.TWILIO_AUTH_TOKEN;
_10
const client = require('twilio')(accountSid, authToken);
_10
_10
client.authorizedConnectApps
_10
.list({limit: 20})
_10
.then(authorizedConnectApps => authorizedConnectApps.forEach(a => console.log(a.connectAppCompanyName)));

Output

_24
{
_24
"authorized_connect_apps": [
_24
{
_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
"permissions": [
_24
"get-all"
_24
],
_24
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps/CNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
_24
}
_24
],
_24
"end": 0,
_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
"page": 0,
_24
"page_size": 50,
_24
"previous_page_uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps.json?Page=1&PageSize=50",
_24
"start": 0,
_24
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps.json"
_24
}

Not Supported.

Not Supported.

Not Supported.


Rate this Page: