REST API: Authorized Connect App

AuthorizedConnectApp リスト リソースは、ユーザーが自分の Twilio アカウント内で許可したすべての ConnectApp を表示します。 それぞれの ConnectApp は、Twilio アカウント内では サブアカウント に対応します。サブアカウントはこの ConnectApp のサンドボックスとして機能します。このインスタンス リソースは、ユーザーが ConnectApp に与えたパーミッションと、ConnectApp の情報を表示します。

AuthorizedConnectApp インスタンス リソース

リソース URI

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

リソースのプロパティ

プロパティ 説明
DateCreated このリソースが生成された日付の GMT 表記です。 RFC 2822 フォーマットを使用します。
DateUpdated このリソースが最後に更新された日付の GMT 表記です。RFC 2822フォーマットを使用します。
AccountSid この ConnectApp がアクセスできる サブアカウント のユニーク ID です。
パーミッション この ConnectApp に対してユーザーが許可したパーミッションのセットです。 有効なパーミッションは、get-all または post-all です。
ConnectAppSid 許可された ConnectApp のユニーク ID です。
ConnectAppFriendlyName ConnectApp の、人間が読みやすい形式の名前です。
ConnectAppDescription ConnectApp の、人間が読みやすい形式の詳しい説明です。
ConnectAppCompanyName この ConnectApp に設定された会社名です。
ConnectAppHomepageUrl この ConnectApp の 公開 URL です。
Uri このリソースの URI です。https://api.twilio.com からの相対パスです。

HTTP GET

Retrieve an Authorized Connect App
  • C#
  • curl
  • Java
  • Node.js
  • PHP
  • Python
  • Ruby
SDKバージョン:
  • 4.x
  • 5.x
レスポンス形式:
  • JSON
  • xml
SDKバージョン:
  • 6.x
  • 7.x
SDKバージョン:
  • 2.x
  • 3.x
SDKバージョン:
  • 4.x
  • 5.x
SDKバージョン:
  • 5.x
  • 6.x
SDKバージョン:
  • 4.x
  • 5.x
// Download the twilio-csharp library from twilio.com/docs/libraries/csharp
using System;
using Twilio;
using Twilio.Rest.Api.V2010.Account;

class Example
{
    static void Main(string[] args)
    {
        // Find your Account Sid and Auth Token at twilio.com/console
        const string accountSid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
        const string authToken = "your_auth_token";
        TwilioClient.Init(accountSid, authToken);

        var authorizedApp = AuthorizedConnectAppResource.Fetch(
            "CN47260e643654388faabe8aaa18ea6756");

        Console.WriteLine(authorizedApp.ConnectAppHomepageUrl);
    }
}
<?php
// Get the PHP helper library from twilio.com/docs/php/install
require_once '/path/to/vendor/autoload.php'; // Loads the library
use Twilio\Rest\Client;

// Your Account Sid and Auth Token from twilio.com/user/account
$sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
$token = "your_auth_token";
$client = new Client($sid, $token);

// Get an object from its sid. If you do not have a sid,
// check out the list resource examples on this page
$authorizedApp = $client
    ->authorizedConnectApps("CN47260e643654388faabe8aaa18ea6756")
    ->fetch();

echo $authorizedApp->connectAppHomepageUrl;
# Download the Python helper library from twilio.com/docs/python/install
from twilio.rest import TwilioRestClient

# Your Account Sid and Auth Token from twilio.com/user/account
account_sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
auth_token  = "your_auth_token"
client = TwilioRestClient(account_sid, auth_token)

authorized_app = client.authorized_connect_apps.get("CN47260e643654388faabe8aaa18ea6756")
print(authorized_app.homepage_url)
# Get twilio-ruby from twilio.com/docs/ruby/install
require 'twilio-ruby'

# Get your Account SID and Auth Token from twilio.com/console
account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
auth_token = 'your_auth_token'

# Initialize Twilio Client
@client = Twilio::REST::Client.new(account_sid, auth_token)

connect_app_sid = 'CN47260e643654388faabe8aaa18ea6756'

# Get an object from its sid. If you do not have a sid,
# check out the list resource examples on this page
@authorized_app = @client.account.authorized_connect_apps(connect_app_sid).fetch

puts @authorized_app.connect_app_homepage_url
$ curl -G https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps/CN47260e643654388faabe8aaa18ea6756.json \
    -u 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:your_auth_token'
$ curl -G https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps/CN47260e643654388faabe8aaa18ea6756 \
    -u 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:your_auth_token'
// Install the Java helper library from twilio.com/docs/java/install
import com.twilio.sdk.TwilioRestClient;
import com.twilio.sdk.TwilioRestException;
import com.twilio.sdk.resource.instance.AuthorizedConnectApp;

public class Example { 

  // Find your Account Sid and Token at twilio.com/user/account
  public static final String ACCOUNT_SID = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
  public static final String AUTH_TOKEN = "your_auth_token";

  public static void main(String[] args) throws TwilioRestException {
    TwilioRestClient client = new TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN);

    // Get an object from its sid. If you do not have a sid,
    // check out the list resource examples on this page
    AuthorizedConnectApp authorizedApp = client.getAccount().getAuthorizedConnectApp("CN47260e643654388faabe8aaa18ea6756");
    System.out.println(authorizedApp.getConnectAppHomepageUrl());
    
  }
}
# Download the Python helper library from twilio.com/docs/python/install
from twilio.rest import Client

# Your Account Sid and Auth Token from twilio.com/user/account
account_sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
auth_token = "your_auth_token"
client = Client(account_sid, auth_token)

authorized_app = client \
        .authorized_connect_apps("CN47260e643654388faabe8aaa18ea6756") \
        .fetch()

print(authorized_app.connect_app_homepage_url)
// Download the Node helper library from twilio.com/docs/node/install
// These identifiers are your accountSid and authToken from
// https://www.twilio.com/console
const accountSid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
const authToken = 'your_auth_token';
const client = require('twilio')(accountSid, authToken);

client.authorizedConnectApps('CN47260e643654388faabe8aaa18ea6756')
  .fetch()
  .then((authorizedApp) => console.log(authorizedApp.connectAppHomepageUrl));
// Download the twilio-csharp library from twilio.com/docs/csharp/install
using System;
using Twilio;
class Example
{
  static void Main(string[] args)
  {
    // Find your Account Sid and Auth Token at twilio.com/user/account
    string AccountSid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
    string AuthToken = "your_auth_token";
    var twilio = new TwilioRestClient(AccountSid, AuthToken);

    var authorizedApp = twilio.GetAuthorizedConnectApp("CN47260e643654388faabe8aaa18ea6756");

    Console.WriteLine(authorizedApp.HomepageUrl);
  }
}
<?php
// Get the PHP helper library from twilio.com/docs/php/install
require_once('/path/to/twilio-php/Services/Twilio.php'); // Loads the library

// Your Account Sid and Auth Token from twilio.com/user/account
$sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"; 
$token = "your_auth_token"; 
$client = new Services_Twilio($sid, $token);

// Get an object from its sid. If you do not have a sid,
// check out the list resource examples on this page
$authorized_app = $client->account->authorized_connect_apps->get("CN47260e643654388faabe8aaa18ea6756");
echo $authorized_app->connect_app_homepage_url;
# Get twilio-ruby from twilio.com/docs/ruby/install
require 'rubygems'          # This line not needed for ruby > 1.8
require 'twilio-ruby'

# Get your Account Sid and Auth Token from twilio.com/user/account
account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
auth_token = 'your_auth_token'
@client = Twilio::REST::Client.new account_sid, auth_token

# Get an object from its sid. If you do not have a sid,
# check out the list resource examples on this page
@authorized_app = @client.account.authorized_connect_apps.get("CN47260e643654388faabe8aaa18ea6756")
puts @authorized_app.connect_app_homepage_url
// Install the Java helper library from twilio.com/docs/java/install
import com.twilio.Twilio;
import com.twilio.rest.api.v2010.account.AuthorizedConnectApp;

public class Example {
  // Find your Account Sid and Token at twilio.com/user/account
  public static final String ACCOUNT_SID = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
  public static final String AUTH_TOKEN = "your_auth_token";

  public static void main(String[] args) {
    Twilio.init(ACCOUNT_SID, AUTH_TOKEN);

    // Get an object from its sid. If you do not have a sid,
    // check out the list resource examples on this page
    AuthorizedConnectApp authorizedApp =
        AuthorizedConnectApp.fetcher("CN47260e643654388faabe8aaa18ea6756").fetch();

    System.out.println(authorizedApp.getConnectAppHomepageUrl());
  }
}
// Download the Node helper library from twilio.com/docs/node/install
// These vars are your accountSid and authToken from twilio.com/user/account
var accountSid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
var authToken = "your_auth_token";
var client = require('twilio')(accountSid, authToken);

client.authorizedConnectApps("CN47260e643654388faabe8aaa18ea6756").get(function(err, authorizedApp) {
    console.log(authorizedApp.connectAppHomepageUrl);
});
出力を表示
  • JSON
  • XML
{
  "connect_app_sid": "CN47260e643654388faabe8aaa18ea6756",
  "account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
  "permissions": ["get-all", "post-all"],
  "connect_app_friendly_name": "My Connect App",
  "connect_app_description": null,
  "connect_app_company_name": "My Company",
  "connect_app_homepage_url": "http://www.mycompany.com"
}
<TwilioResponse>
	<AuthorizedConnectApp>
		<AccountSid>ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</AccountSid>
		<Permissions>
			<Permission>get-all</Permission>
			<Permission>post-all</Permission>
		</Permissions>
		<ConnectAppSid>CN47260e643654388faabe8aaa18ea6756</Sid>
		<ConnectAppFriendlyName>My Connect App</FriendlyName>
		<ConnectAppDescription>
			An amazing TwilioConnect application that does amazing things!
		</ConnectAppDescription>
		<ConnectAppCompanyName>My Company</CompanyName>
		<ConnectAppHomepageUrl>http://www.mycompany.com</HomepageUrl>
	</AuthorizedConnectApp>
</TwilioResponse>
Retrieve an Authorized Connect App

HTTP POST

サポートしません。

HTTP PUT

サポートしません。

HTTP DELETE

サポートしません。

AuthorizedConnectApps リスト リソース

リソース URI

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

HTTP GET

ConnectApp リソース表現のリストを返します。各項目は、ユーザーがアカウントへのアクセスを許可した ConnectApp を表現します。 このリストは ページ情報を含みます。

例 1
Retrieve all Authorized Connect Apps
  • C#
  • curl
  • Java
  • Node.js
  • PHP
  • Python
  • Ruby
SDKバージョン:
  • 4.x
  • 5.x
レスポンス形式:
  • JSON
  • xml
SDKバージョン:
  • 6.x
  • 7.x
SDKバージョン:
  • 2.x
  • 3.x
SDKバージョン:
  • 4.x
  • 5.x
SDKバージョン:
  • 5.x
  • 6.x
SDKバージョン:
  • 4.x
  • 5.x
// Download the twilio-csharp library from twilio.com/docs/libraries/csharp
using System;
using Twilio;
using Twilio.Rest.Api.V2010.Account;

class Example
{
    static void Main(string[] args)
    {
        // Find your Account Sid and Auth Token at twilio.com/console
        const string accountSid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
        const string authToken = "your_auth_token";
        TwilioClient.Init(accountSid, authToken);

        var apps = AuthorizedConnectAppResource.Read();

        foreach (var app in apps)
        {
            Console.WriteLine(app.ConnectAppHomepageUrl);
        }
    }
}
<?php
// Get the PHP helper library from twilio.com/docs/php/install
require_once '/path/to/vendor/autoload.php'; // Loads the library
use Twilio\Rest\Client;

// Your Account Sid and Auth Token from twilio.com/user/account
$sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
$token = "your_auth_token";
$client = new Client($sid, $token);

// Loop over the list of authorized_apps and echo a property for each one
foreach ($client->authorizedConnectApps->read() as $authorizedApp) {
    echo $authorizedApp->connectAppHomepageUrl;
}
# Download the Python helper library from twilio.com/docs/python/install
from twilio.rest import TwilioRestClient

# Your Account Sid and Auth Token from twilio.com/user/account
account_sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
auth_token  = "your_auth_token"
client = TwilioRestClient(account_sid, auth_token)

# A list of authorized_app objects with the properties described above
authorized_apps = client.authorized_connect_apps.list()
# Get twilio-ruby from twilio.com/docs/ruby/install
require 'twilio-ruby'

# Get your Account SID and Auth Token from twilio.com/console
account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
auth_token = 'your_auth_token'

# Initialize Twilio Client
@client = Twilio::REST::Client.new(account_sid, auth_token)

# Loop over authorized_apps and print out a property for each one
@client.account.authorized_connect_apps.list
       .each do |authorized_app|
         puts authorized_app.connect_app_homepage_url
       end
$ curl -G https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps.json \
    -u 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:your_auth_token'
$ curl -G https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps \
    -u 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:your_auth_token'
// Install the Java helper library from twilio.com/docs/java/install
import com.twilio.sdk.TwilioRestClient;
import com.twilio.sdk.TwilioRestException;
import com.twilio.sdk.resource.instance.AuthorizedConnectApp;
import com.twilio.sdk.resource.list.AuthorizedConnectAppList;

public class Example { 

  // Find your Account Sid and Token at twilio.com/user/account
  public static final String ACCOUNT_SID = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
  public static final String AUTH_TOKEN = "your_auth_token";

  public static void main(String[] args) throws TwilioRestException {
    TwilioRestClient client = new TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN);

    
    
    AuthorizedConnectAppList authorizedApps = client.getAccount().getAuthorizedConnectApps();
    
    // Loop over authorizedApps and print out a property for each one.
    for (AuthorizedConnectApp authorizedApp : authorizedApps) {
      System.out.println(authorizedApp.getConnectAppHomepageUrl());
    }
    
  }
}
# Download the Python helper library from twilio.com/docs/python/install
from twilio.rest import Client

# Your Account Sid and Auth Token from twilio.com/user/account
account_sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
auth_token = "your_auth_token"
client = Client(account_sid, auth_token)

# A list of authorized_app objects with the properties described above
for authorized_app in client.authorized_connect_apps.list():
    print(authorized_app.connect_app_homepage_url)
// Download the Node helper library from twilio.com/docs/node/install
// These identifiers are your accountSid and authToken from
// https://www.twilio.com/console
const accountSid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
const authToken = 'your_auth_token';
const client = require('twilio')(accountSid, authToken);

client.authorizedConnectApps
  .each((authorizedApp) => console.log(authorizedApp.connectAppHomepageUrl));
// Download the twilio-csharp library from twilio.com/docs/csharp/install
using System;
using Twilio;
class Example
{
  static void Main(string[] args)
  {
    // Find your Account Sid and Auth Token at twilio.com/user/account
    string AccountSid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
    string AuthToken = "your_auth_token";
    var twilio = new TwilioRestClient(AccountSid, AuthToken);

    var authorizedApps = twilio.ListAuthorizedConnectApps(null, null);

    foreach (var authorizedApp in authorizedApps.AuthorizedConnectApps)
    {
      Console.WriteLine(authorizedApp.HomepageUrl);
    }
  }
}
<?php
// Get the PHP helper library from twilio.com/docs/php/install
require_once('/path/to/twilio-php/Services/Twilio.php'); // Loads the library

// Your Account Sid and Auth Token from twilio.com/user/account
$sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"; 
$token = "your_auth_token"; 
$client = new Services_Twilio($sid, $token);

// Loop over the list of authorized_apps and echo a property for each one
foreach ($client->account->authorized_connect_apps as $authorized_app) {
    echo $authorized_app->connect_app_homepage_url;
}
# Get twilio-ruby from twilio.com/docs/ruby/install
require 'rubygems'          # This line not needed for ruby > 1.8
require 'twilio-ruby'

# Get your Account Sid and Auth Token from twilio.com/user/account
account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
auth_token = 'your_auth_token'
@client = Twilio::REST::Client.new account_sid, auth_token


# Loop over authorized_apps and print out a property for each one
@client.account.authorized_connect_apps.list.each do |authorized_app|
  puts authorized_app.connect_app_homepage_url
end
// Install the Java helper library from twilio.com/docs/java/install
import com.twilio.Twilio;
import com.twilio.base.ResourceSet;
import com.twilio.rest.api.v2010.account.AuthorizedConnectApp;

public class Example {
  // Find your Account Sid and Token at twilio.com/user/account
  public static final String ACCOUNT_SID = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
  public static final String AUTH_TOKEN = "your_auth_token";

  public static void main(String[] args) {
    Twilio.init(ACCOUNT_SID, AUTH_TOKEN);

    ResourceSet<AuthorizedConnectApp> authorizedApps = AuthorizedConnectApp.reader().read();

    // Loop over authorizedApps and print out a property for each one.
    for (AuthorizedConnectApp authorizedApp : authorizedApps) {
      System.out.println(authorizedApp.getConnectAppHomepageUrl());
    }
  }
}
// Download the Node helper library from twilio.com/docs/node/install
// These vars are your accountSid and authToken from twilio.com/user/account
var accountSid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
var authToken = "your_auth_token";
var client = require('twilio')(accountSid, authToken);

client.authorizedConnectApps.list(function(err, data) {
    data.authorizedConnectApps.forEach(function(authorizedApp) {
        console.log(authorizedApp.connectAppHomepageUrl);
    });
});
出力を表示
  • JSON
  • XML
{
  "authorized_connect_apps": [
    {
      "connect_app_sid": "CNb989fdd207b04d16aee578018ef5fd93",
      "account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
      "permissions": ["get-all", "post-all"],
      "connect_app_friendly_name": "Jenny Tracker",
      "connect_app_description": null,
      "connect_app_company_name": "Tommy PI",
      "connect_app_homepage_url": "http://www.tommypi.com"
    },
	...
  ],
  "page": 0,
  "page_size": 50,
  "uri": "\/2010-04-01\/Accounts\/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\/AuthorizedConnectApps\/.json",
  "first_page_uri": "\/2010-04-01\/Accounts\/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\/AuthorizedConnectApps\/.json?Page=0&PageSize=50",
  "previous_page_uri": null,
  "next_page_uri": null,
}
<TwilioResponse>
  <AuthorizedConnectApps page="0" pagesize="50" uri="/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps/" firstpageuri="/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps/?Page=0&PageSize=50" previouspageuri=""nextpageuri="">
    <AuthorizedConnectApp>
      <ConnectAppSid>CNb989fdd207b04d16aee578018ef5fd93</ConnectAppSid>
      <AccountSid>ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</AccountSid>
	  <Permissions>
	    <Permission>get-all</Permission>
	    <Permission>post-all</Permission>
	  </Permissions>
      <ConnectAppFriendlyName>Jenny Tracker</ConnectAppFriendlyName>
      <ConnectAppDescription/>
      <ConnectAppCompanyName>Tommy PI</ConnectAppCompanyName>
      <ConnectAppHomepageUrl>http://www.tommypi.com</ConnectAppHomepageUrl>
    </AuthorizedConnectApp>
    ...
  </AuthorizedConnectApps>
</TwilioResponse>
Retrieve all Authorized Connect Apps

HTTP POST

サポートしません。

HTTP PUT

サポートしません。

HTTP DELETE

サポートしません。

1 / 1
Loading Code Samples...
SDKバージョン:
  • 4.x
  • 5.x
レスポンス形式:
  • JSON
  • xml
SDKバージョン:
  • 6.x
  • 7.x
SDKバージョン:
  • 2.x
  • 3.x
SDKバージョン:
  • 4.x
  • 5.x
SDKバージョン:
  • 5.x
  • 6.x
SDKバージョン:
  • 4.x
  • 5.x
形式:
  • JSON
  • XML
// Download the twilio-csharp library from twilio.com/docs/libraries/csharp
using System;
using Twilio;
using Twilio.Rest.Api.V2010.Account;

class Example
{
    static void Main(string[] args)
    {
        // Find your Account Sid and Auth Token at twilio.com/console
        const string accountSid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
        const string authToken = "your_auth_token";
        TwilioClient.Init(accountSid, authToken);

        var authorizedApp = AuthorizedConnectAppResource.Fetch(
            "CN47260e643654388faabe8aaa18ea6756");

        Console.WriteLine(authorizedApp.ConnectAppHomepageUrl);
    }
}
<?php
// Get the PHP helper library from twilio.com/docs/php/install
require_once '/path/to/vendor/autoload.php'; // Loads the library
use Twilio\Rest\Client;

// Your Account Sid and Auth Token from twilio.com/user/account
$sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
$token = "your_auth_token";
$client = new Client($sid, $token);

// Get an object from its sid. If you do not have a sid,
// check out the list resource examples on this page
$authorizedApp = $client
    ->authorizedConnectApps("CN47260e643654388faabe8aaa18ea6756")
    ->fetch();

echo $authorizedApp->connectAppHomepageUrl;
# Download the Python helper library from twilio.com/docs/python/install
from twilio.rest import TwilioRestClient

# Your Account Sid and Auth Token from twilio.com/user/account
account_sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
auth_token  = "your_auth_token"
client = TwilioRestClient(account_sid, auth_token)

authorized_app = client.authorized_connect_apps.get("CN47260e643654388faabe8aaa18ea6756")
print(authorized_app.homepage_url)
# Get twilio-ruby from twilio.com/docs/ruby/install
require 'twilio-ruby'

# Get your Account SID and Auth Token from twilio.com/console
account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
auth_token = 'your_auth_token'

# Initialize Twilio Client
@client = Twilio::REST::Client.new(account_sid, auth_token)

connect_app_sid = 'CN47260e643654388faabe8aaa18ea6756'

# Get an object from its sid. If you do not have a sid,
# check out the list resource examples on this page
@authorized_app = @client.account.authorized_connect_apps(connect_app_sid).fetch

puts @authorized_app.connect_app_homepage_url
$ curl -G https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps/CN47260e643654388faabe8aaa18ea6756.json \
    -u 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:your_auth_token'
$ curl -G https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps/CN47260e643654388faabe8aaa18ea6756 \
    -u 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:your_auth_token'
// Install the Java helper library from twilio.com/docs/java/install
import com.twilio.sdk.TwilioRestClient;
import com.twilio.sdk.TwilioRestException;
import com.twilio.sdk.resource.instance.AuthorizedConnectApp;

public class Example { 

  // Find your Account Sid and Token at twilio.com/user/account
  public static final String ACCOUNT_SID = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
  public static final String AUTH_TOKEN = "your_auth_token";

  public static void main(String[] args) throws TwilioRestException {
    TwilioRestClient client = new TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN);

    // Get an object from its sid. If you do not have a sid,
    // check out the list resource examples on this page
    AuthorizedConnectApp authorizedApp = client.getAccount().getAuthorizedConnectApp("CN47260e643654388faabe8aaa18ea6756");
    System.out.println(authorizedApp.getConnectAppHomepageUrl());
    
  }
}
# Download the Python helper library from twilio.com/docs/python/install
from twilio.rest import Client

# Your Account Sid and Auth Token from twilio.com/user/account
account_sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
auth_token = "your_auth_token"
client = Client(account_sid, auth_token)

authorized_app = client \
        .authorized_connect_apps("CN47260e643654388faabe8aaa18ea6756") \
        .fetch()

print(authorized_app.connect_app_homepage_url)
// Download the Node helper library from twilio.com/docs/node/install
// These identifiers are your accountSid and authToken from
// https://www.twilio.com/console
const accountSid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
const authToken = 'your_auth_token';
const client = require('twilio')(accountSid, authToken);

client.authorizedConnectApps('CN47260e643654388faabe8aaa18ea6756')
  .fetch()
  .then((authorizedApp) => console.log(authorizedApp.connectAppHomepageUrl));
// Download the twilio-csharp library from twilio.com/docs/csharp/install
using System;
using Twilio;
class Example
{
  static void Main(string[] args)
  {
    // Find your Account Sid and Auth Token at twilio.com/user/account
    string AccountSid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
    string AuthToken = "your_auth_token";
    var twilio = new TwilioRestClient(AccountSid, AuthToken);

    var authorizedApp = twilio.GetAuthorizedConnectApp("CN47260e643654388faabe8aaa18ea6756");

    Console.WriteLine(authorizedApp.HomepageUrl);
  }
}
<?php
// Get the PHP helper library from twilio.com/docs/php/install
require_once('/path/to/twilio-php/Services/Twilio.php'); // Loads the library

// Your Account Sid and Auth Token from twilio.com/user/account
$sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"; 
$token = "your_auth_token"; 
$client = new Services_Twilio($sid, $token);

// Get an object from its sid. If you do not have a sid,
// check out the list resource examples on this page
$authorized_app = $client->account->authorized_connect_apps->get("CN47260e643654388faabe8aaa18ea6756");
echo $authorized_app->connect_app_homepage_url;
# Get twilio-ruby from twilio.com/docs/ruby/install
require 'rubygems'          # This line not needed for ruby > 1.8
require 'twilio-ruby'

# Get your Account Sid and Auth Token from twilio.com/user/account
account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
auth_token = 'your_auth_token'
@client = Twilio::REST::Client.new account_sid, auth_token

# Get an object from its sid. If you do not have a sid,
# check out the list resource examples on this page
@authorized_app = @client.account.authorized_connect_apps.get("CN47260e643654388faabe8aaa18ea6756")
puts @authorized_app.connect_app_homepage_url
// Install the Java helper library from twilio.com/docs/java/install
import com.twilio.Twilio;
import com.twilio.rest.api.v2010.account.AuthorizedConnectApp;

public class Example {
  // Find your Account Sid and Token at twilio.com/user/account
  public static final String ACCOUNT_SID = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
  public static final String AUTH_TOKEN = "your_auth_token";

  public static void main(String[] args) {
    Twilio.init(ACCOUNT_SID, AUTH_TOKEN);

    // Get an object from its sid. If you do not have a sid,
    // check out the list resource examples on this page
    AuthorizedConnectApp authorizedApp =
        AuthorizedConnectApp.fetcher("CN47260e643654388faabe8aaa18ea6756").fetch();

    System.out.println(authorizedApp.getConnectAppHomepageUrl());
  }
}
// Download the Node helper library from twilio.com/docs/node/install
// These vars are your accountSid and authToken from twilio.com/user/account
var accountSid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
var authToken = "your_auth_token";
var client = require('twilio')(accountSid, authToken);

client.authorizedConnectApps("CN47260e643654388faabe8aaa18ea6756").get(function(err, authorizedApp) {
    console.log(authorizedApp.connectAppHomepageUrl);
});
{
  "connect_app_sid": "CN47260e643654388faabe8aaa18ea6756",
  "account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
  "permissions": ["get-all", "post-all"],
  "connect_app_friendly_name": "My Connect App",
  "connect_app_description": null,
  "connect_app_company_name": "My Company",
  "connect_app_homepage_url": "http://www.mycompany.com"
}
<TwilioResponse>
	<AuthorizedConnectApp>
		<AccountSid>ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</AccountSid>
		<Permissions>
			<Permission>get-all</Permission>
			<Permission>post-all</Permission>
		</Permissions>
		<ConnectAppSid>CN47260e643654388faabe8aaa18ea6756</Sid>
		<ConnectAppFriendlyName>My Connect App</FriendlyName>
		<ConnectAppDescription>
			An amazing TwilioConnect application that does amazing things!
		</ConnectAppDescription>
		<ConnectAppCompanyName>My Company</CompanyName>
		<ConnectAppHomepageUrl>http://www.mycompany.com</HomepageUrl>
	</AuthorizedConnectApp>
</TwilioResponse>
SDKバージョン:
  • 4.x
  • 5.x
レスポンス形式:
  • JSON
  • xml
SDKバージョン:
  • 6.x
  • 7.x
SDKバージョン:
  • 2.x
  • 3.x
SDKバージョン:
  • 4.x
  • 5.x
SDKバージョン:
  • 5.x
  • 6.x
SDKバージョン:
  • 4.x
  • 5.x
形式:
  • JSON
  • XML
// Download the twilio-csharp library from twilio.com/docs/libraries/csharp
using System;
using Twilio;
using Twilio.Rest.Api.V2010.Account;

class Example
{
    static void Main(string[] args)
    {
        // Find your Account Sid and Auth Token at twilio.com/console
        const string accountSid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
        const string authToken = "your_auth_token";
        TwilioClient.Init(accountSid, authToken);

        var apps = AuthorizedConnectAppResource.Read();

        foreach (var app in apps)
        {
            Console.WriteLine(app.ConnectAppHomepageUrl);
        }
    }
}
<?php
// Get the PHP helper library from twilio.com/docs/php/install
require_once '/path/to/vendor/autoload.php'; // Loads the library
use Twilio\Rest\Client;

// Your Account Sid and Auth Token from twilio.com/user/account
$sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
$token = "your_auth_token";
$client = new Client($sid, $token);

// Loop over the list of authorized_apps and echo a property for each one
foreach ($client->authorizedConnectApps->read() as $authorizedApp) {
    echo $authorizedApp->connectAppHomepageUrl;
}
# Download the Python helper library from twilio.com/docs/python/install
from twilio.rest import TwilioRestClient

# Your Account Sid and Auth Token from twilio.com/user/account
account_sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
auth_token  = "your_auth_token"
client = TwilioRestClient(account_sid, auth_token)

# A list of authorized_app objects with the properties described above
authorized_apps = client.authorized_connect_apps.list()
# Get twilio-ruby from twilio.com/docs/ruby/install
require 'twilio-ruby'

# Get your Account SID and Auth Token from twilio.com/console
account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
auth_token = 'your_auth_token'

# Initialize Twilio Client
@client = Twilio::REST::Client.new(account_sid, auth_token)

# Loop over authorized_apps and print out a property for each one
@client.account.authorized_connect_apps.list
       .each do |authorized_app|
         puts authorized_app.connect_app_homepage_url
       end
$ curl -G https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps.json \
    -u 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:your_auth_token'
$ curl -G https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps \
    -u 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:your_auth_token'
// Install the Java helper library from twilio.com/docs/java/install
import com.twilio.sdk.TwilioRestClient;
import com.twilio.sdk.TwilioRestException;
import com.twilio.sdk.resource.instance.AuthorizedConnectApp;
import com.twilio.sdk.resource.list.AuthorizedConnectAppList;

public class Example { 

  // Find your Account Sid and Token at twilio.com/user/account
  public static final String ACCOUNT_SID = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
  public static final String AUTH_TOKEN = "your_auth_token";

  public static void main(String[] args) throws TwilioRestException {
    TwilioRestClient client = new TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN);

    
    
    AuthorizedConnectAppList authorizedApps = client.getAccount().getAuthorizedConnectApps();
    
    // Loop over authorizedApps and print out a property for each one.
    for (AuthorizedConnectApp authorizedApp : authorizedApps) {
      System.out.println(authorizedApp.getConnectAppHomepageUrl());
    }
    
  }
}
# Download the Python helper library from twilio.com/docs/python/install
from twilio.rest import Client

# Your Account Sid and Auth Token from twilio.com/user/account
account_sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
auth_token = "your_auth_token"
client = Client(account_sid, auth_token)

# A list of authorized_app objects with the properties described above
for authorized_app in client.authorized_connect_apps.list():
    print(authorized_app.connect_app_homepage_url)
// Download the Node helper library from twilio.com/docs/node/install
// These identifiers are your accountSid and authToken from
// https://www.twilio.com/console
const accountSid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
const authToken = 'your_auth_token';
const client = require('twilio')(accountSid, authToken);

client.authorizedConnectApps
  .each((authorizedApp) => console.log(authorizedApp.connectAppHomepageUrl));
// Download the twilio-csharp library from twilio.com/docs/csharp/install
using System;
using Twilio;
class Example
{
  static void Main(string[] args)
  {
    // Find your Account Sid and Auth Token at twilio.com/user/account
    string AccountSid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
    string AuthToken = "your_auth_token";
    var twilio = new TwilioRestClient(AccountSid, AuthToken);

    var authorizedApps = twilio.ListAuthorizedConnectApps(null, null);

    foreach (var authorizedApp in authorizedApps.AuthorizedConnectApps)
    {
      Console.WriteLine(authorizedApp.HomepageUrl);
    }
  }
}
<?php
// Get the PHP helper library from twilio.com/docs/php/install
require_once('/path/to/twilio-php/Services/Twilio.php'); // Loads the library

// Your Account Sid and Auth Token from twilio.com/user/account
$sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"; 
$token = "your_auth_token"; 
$client = new Services_Twilio($sid, $token);

// Loop over the list of authorized_apps and echo a property for each one
foreach ($client->account->authorized_connect_apps as $authorized_app) {
    echo $authorized_app->connect_app_homepage_url;
}
# Get twilio-ruby from twilio.com/docs/ruby/install
require 'rubygems'          # This line not needed for ruby > 1.8
require 'twilio-ruby'

# Get your Account Sid and Auth Token from twilio.com/user/account
account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
auth_token = 'your_auth_token'
@client = Twilio::REST::Client.new account_sid, auth_token


# Loop over authorized_apps and print out a property for each one
@client.account.authorized_connect_apps.list.each do |authorized_app|
  puts authorized_app.connect_app_homepage_url
end
// Install the Java helper library from twilio.com/docs/java/install
import com.twilio.Twilio;
import com.twilio.base.ResourceSet;
import com.twilio.rest.api.v2010.account.AuthorizedConnectApp;

public class Example {
  // Find your Account Sid and Token at twilio.com/user/account
  public static final String ACCOUNT_SID = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
  public static final String AUTH_TOKEN = "your_auth_token";

  public static void main(String[] args) {
    Twilio.init(ACCOUNT_SID, AUTH_TOKEN);

    ResourceSet<AuthorizedConnectApp> authorizedApps = AuthorizedConnectApp.reader().read();

    // Loop over authorizedApps and print out a property for each one.
    for (AuthorizedConnectApp authorizedApp : authorizedApps) {
      System.out.println(authorizedApp.getConnectAppHomepageUrl());
    }
  }
}
// Download the Node helper library from twilio.com/docs/node/install
// These vars are your accountSid and authToken from twilio.com/user/account
var accountSid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
var authToken = "your_auth_token";
var client = require('twilio')(accountSid, authToken);

client.authorizedConnectApps.list(function(err, data) {
    data.authorizedConnectApps.forEach(function(authorizedApp) {
        console.log(authorizedApp.connectAppHomepageUrl);
    });
});
{
  "authorized_connect_apps": [
    {
      "connect_app_sid": "CNb989fdd207b04d16aee578018ef5fd93",
      "account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
      "permissions": ["get-all", "post-all"],
      "connect_app_friendly_name": "Jenny Tracker",
      "connect_app_description": null,
      "connect_app_company_name": "Tommy PI",
      "connect_app_homepage_url": "http://www.tommypi.com"
    },
	...
  ],
  "page": 0,
  "page_size": 50,
  "uri": "\/2010-04-01\/Accounts\/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\/AuthorizedConnectApps\/.json",
  "first_page_uri": "\/2010-04-01\/Accounts\/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\/AuthorizedConnectApps\/.json?Page=0&PageSize=50",
  "previous_page_uri": null,
  "next_page_uri": null,
}
<TwilioResponse>
  <AuthorizedConnectApps page="0" pagesize="50" uri="/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps/" firstpageuri="/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps/?Page=0&PageSize=50" previouspageuri=""nextpageuri="">
    <AuthorizedConnectApp>
      <ConnectAppSid>CNb989fdd207b04d16aee578018ef5fd93</ConnectAppSid>
      <AccountSid>ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</AccountSid>
	  <Permissions>
	    <Permission>get-all</Permission>
	    <Permission>post-all</Permission>
	  </Permissions>
      <ConnectAppFriendlyName>Jenny Tracker</ConnectAppFriendlyName>
      <ConnectAppDescription/>
      <ConnectAppCompanyName>Tommy PI</ConnectAppCompanyName>
      <ConnectAppHomepageUrl>http://www.tommypi.com</ConnectAppHomepageUrl>
    </AuthorizedConnectApp>
    ...
  </AuthorizedConnectApps>
</TwilioResponse>