Sample - Twilio API
GET/2010-04-01/Accounts/{AccountSid}/ConnectApps/{Sid}.json

Get a Connect App

Retrieves a Connect App belonging to the specified account. Use the account and Connect App SIDs to identify the resource. The response includes its callback URLs, requested permissions, descriptive fields, and resource URI.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters
AccountSidstringrequired
The account SID that owns the Connect App. Must be 34 characters and match the `AC` SID format.
Sidstringrequired
The unique Connect App SID to retrieve. Must be 34 characters and match the `CN` SID format.

1 status code
200Returns the Connect App object, including its account and app SIDs, callback URLs and methods, company and descriptive fields, requested permissions, and resource URI.
account_sidstringoptional
The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ConnectApp resource.
authorize_redirect_urlstringoptional
The URL we redirect the user to after we authenticate the user and obtain authorization to access the Connect App.
company_namestringoptional
The company name set for the Connect App.
deauthorize_callback_methodstringoptional
The HTTP method we use to call `deauthorize_callback_url`.
Allowed:GETPOST
deauthorize_callback_urlstringoptional
The URL we call using the `deauthorize_callback_method` to de-authorize the Connect App.
descriptionstringoptional
The description of the Connect App.
friendly_namestringoptional
The string that you assigned to describe the resource.
homepage_urlstringoptional
The public URL where users can obtain more information about this Connect App.
permissionsarray<string>optional
The set of permissions that your ConnectApp requests.
sidstringoptional
The unique string that that we created to identify the ConnectApp resource.
uristringoptional
The URI of the resource, relative to `https://api.twilio.com`.

Error handling

AccountSid must be a 34-character account SID beginning with AC, and Sid must be a 34-character Connect App SID beginning with CN. Callback and homepage URL values returned by the resource use valid URI formats, and callback methods are GET or POST.