Retrieve a list of connect-apps belonging to the account used to make the request

GET /2010-04-01/Accounts/{AccountSid}/ConnectApps.json

Twilio Connect apps

Retrieve a list of connect-apps belonging to the account used to make the request

Path parameters

  • AccountSid string Required

    The SID of the Account that created the ConnectApp resources to read.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

Query parameters

  • PageSize integer(int64)

    How many resources to return in each list page. The default is 50, and the maximum is 1000.

    Minimum value is 1, maximum value is 1000.

  • Page integer

    The page index. This value is simply for client state.

    Minimum value is 0.

  • PageToken string

    The page token. This is provided by the API.

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • connect_apps array[object]
      Hide connect_apps attributes Show connect_apps attributes object
      • account_sid string | null

        The SID of the Account that created the ConnectApp resource.

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

      • authorize_redirect_url string(uri) | null

        The URL we redirect the user to after we authenticate the user and obtain authorization to access the Connect App.

      • company_name string | null

        The company name set for the Connect App.

      • deauthorize_callback_method string(http-method) | null

        The HTTP method we use to call deauthorize_callback_url.

        Values are GET or POST.

      • deauthorize_callback_url string(uri) | null

        The URL we call using the deauthorize_callback_method to de-authorize the Connect App.

      • description string | null

        The description of the Connect App.

      • friendly_name string | null

        The string that you assigned to describe the resource.

      • homepage_url string(uri) | null

        The public URL where users can obtain more information about this Connect App.

      • permissions array[string] | null

        The set of permissions that your ConnectApp requests.

        Values are get-all or post-all.

      • sid string | null

        The unique string that that we created to identify the ConnectApp resource.

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^CN[0-9a-fA-F]{32}$.

      • uri string | null

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

    • end integer
    • first_page_uri string(uri)
    • next_page_uri string(uri) | null
    • page integer
    • page_size integer
    • previous_page_uri string(uri) | null
    • start integer
    • uri string(uri)
GET /2010-04-01/Accounts/{AccountSid}/ConnectApps.json
curl \
 --request GET 'https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/ConnectApps.json' \
 --user "username:password"
Response examples (200)
{
  "end": 0,
  "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ConnectApps.json?Page=0&PageSize=50",
  "page": 0,
  "start": 0,
  "page_size": 50,
  "connect_apps": [
    {
      "sid": "CNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ConnectApps/CNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "description": null,
      "permissions": [],
      "company_name": "Twilio",
      "homepage_url": "http://example.com/home",
      "friendly_name": "Connect app for deletion",
      "authorize_redirect_url": "http://example.com/redirect",
      "deauthorize_callback_url": "http://example.com/deauth",
      "deauthorize_callback_method": "GET"
    }
  ],
  "next_page_uri": null,
  "first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ConnectApps.json?Page=0&PageSize=50",
  "previous_page_uri": null
}
{
  "end": 0,
  "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ConnectApps.json?Page=0&PageSize=50",
  "page": 0,
  "start": 0,
  "page_size": 50,
  "connect_apps": [],
  "next_page_uri": null,
  "first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ConnectApps.json?Page=0&PageSize=50",
  "previous_page_uri": null
}