APIがSMSを確実に配信
年間1,000億件を超えるメッセージに対応。Twilio APIはテキストメッセージの確実な送受信を可能にします。御社のアプリに今すぐSMSを追加できます。

顧客とのつながりを維持する2つの方法
Programmable Messaging APIを使用し、SMSアラート、通知、リマインダーを送信することが可能です。また、Conversations APIではSMSでのコミュニケーションを通じて顧客をサポートできます。
メリット
スムーズな開始、グローバルな拡張性

開発者に使いやすいリソース
テキストメッセージ送信に要するコードは数行です。詳細なAPIドキュメントを見ながら開発することもできますが、オープンソースのサンプルコードを使用すれば、一般的なユースケースにすぐ対応できます。TwilioのビジュアルワークフロービルダーStudioを使用し、複数チャネルとの接続や、SMSフローの反復適用も簡単に行えます。

大容量のグローバル送信に対応
グローバルな送信設備と冗長化された通信インフラを使用し、世界中のエンドユーザーにSMSを配信します。Twilioは、設定に応じて振る舞うソフトウェア機能により、拡張性の課題に取り組んできました。その結果、Twilioのプラットフォームは、電話番号の管理、送信元選択、コンプライアンス、コンテンツ、返信などの各種機能に対応しています。

ビジネスの成長に合わせ、プラットフォームを拡張可能
SMSはTwilioの機能の一部に過ぎません。同じAPIを使用しMMSやWhatsAppなどに範囲を拡張することや、Twilio Conversationsを使用し複数のグループやマルチチャネルのメッセージング機能を追加することも可能です。ビジネスのニーズに合わせ、音声、ビデオ、Eメールなど、チャネルを自由に追加することができます。
米国のA2P 10DLCの要件に準拠した、認証済み、信頼性の高いメッセージを配信
認証済みの10桁のロングコードを米国で登録するための新たな必須手順についてご紹介します。顧客からの信頼、スループット、配信性が向上するなど、さまざまなメリットが得られます。

コードサンプル
一般的なユースケースの
コードサンプル
機能
ユースケースに合わせたAPIでSMSを実装
- Node.js
- Python
- C#
- Java
- Go
- PHP
- Ruby
- twilio-cli
- curl
//Downloadthehelperlibraryfromhttps://www.twilio.com/docs/node/install//FindyourAccountSIDandAuthTokenattwilio.com/console//andsettheenvironmentvariables.Seehttp://twil.io/secureconstaccountSid=process.env.TWILIO_ACCOUNT_SID;constauthToken=process.env.TWILIO_AUTH_TOKEN;constclient=require('twilio')(accountSid,authToken);client.messages.create({from:'+15017122661',body:'body',to:'+15558675310'}).then(message=>console.log(message.sid));
# Download the helper library from https://www.twilio.com/docs/python/installimportosfromtwilio.restimportClient# Find your Account SID and Auth Token at twilio.com/console# and set the environment variables. See http://twil.io/secureaccount_sid=os.environ['TWILIO_ACCOUNT_SID']auth_token=os.environ['TWILIO_AUTH_TOKEN']client=Client(account_sid,auth_token)message=client.messages.create(from_='+15017122661',body='body',to='+15558675310')print(message.sid)
// Install the C# / .NET helper library from twilio.com/docs/csharp/installusingSystem;usingTwilio;usingTwilio.Rest.Api.V2010.Account;classProgram{staticvoidMain(string[]args){// Find your Account SID and Auth Token at twilio.com/console// and set the environment variables. See http://twil.io/securestringaccountSid=Environment.GetEnvironmentVariable("TWILIO_ACCOUNT_SID");stringauthToken=Environment.GetEnvironmentVariable("TWILIO_AUTH_TOKEN");TwilioClient.Init(accountSid,authToken);varmessage=MessageResource.Create(from:newTwilio.Types.PhoneNumber("+15017122661"),body:"body",to:newTwilio.Types.PhoneNumber("+15558675310"));Console.WriteLine(message.Sid);}}
// Install the Java helper library from twilio.com/docs/java/installimportcom.twilio.Twilio;importcom.twilio.rest.api.v2010.account.Message;importcom.twilio.type.PhoneNumber;publicclassExample{// Find your Account SID and Auth Token at twilio.com/console// and set the environment variables. See http://twil.io/securepublicstaticfinalStringACCOUNT_SID=System.getenv("TWILIO_ACCOUNT_SID");publicstaticfinalStringAUTH_TOKEN=System.getenv("TWILIO_AUTH_TOKEN");publicstaticvoidmain(String[]args){Twilio.init(ACCOUNT_SID,AUTH_TOKEN);Messagemessage=Message.creator(newcom.twilio.type.PhoneNumber("+15558675310"),newcom.twilio.type.PhoneNumber("+15017122661"),"body").create();System.out.println(message.getSid());}}
// Download the helper library from https://www.twilio.com/docs/go/installpackagemainimport("fmt""github.com/twilio/twilio-go"api"github.com/twilio/twilio-go/rest/api/v2010")funcmain(){// Find your Account SID and Auth Token at twilio.com/console// and set the environment variables. See http://twil.io/secureclient:=twilio.NewRestClient()params:=&api.CreateMessageParams{}params.SetFrom("+15017122661")params.SetBody("body")params.SetTo("+15558675310")resp,err:=client.Api.CreateMessage(params)iferr!=nil{fmt.Println(err.Error())}else{ifresp.Sid!=nil{fmt.Println(*resp.Sid)}else{fmt.Println(resp.Sid)}}}
<?php// Update the path below to your autoload.php,// see https://getcomposer.org/doc/01-basic-usage.mdrequire_once'/path/to/vendor/autoload.php';useTwilio\Rest\Client;// Find your Account SID and Auth Token at twilio.com/console// and set the environment variables. See http://twil.io/secure$sid=getenv("TWILIO_ACCOUNT_SID");$token=getenv("TWILIO_AUTH_TOKEN");$twilio=newClient($sid,$token);$message=$twilio->messages->create("+15558675310",// to["from"=>"+15017122661","body"=>"body"]);print($message->sid);
# Download the helper library from https://www.twilio.com/docs/ruby/installrequire'rubygems'require'twilio-ruby'# Find your Account SID and Auth Token at twilio.com/console# and set the environment variables. See http://twil.io/secureaccount_sid=ENV['TWILIO_ACCOUNT_SID']auth_token=ENV['TWILIO_AUTH_TOKEN']@client=Twilio::REST::Client.new(account_sid,auth_token)message=@client.messages.create(from:'+15017122661',body:'body',to:'+15558675310')putsmessage.sid
# Install the twilio-cli from https://twil.io/cli
twilio api:core:messages:create \
--from +15017122661 \
--body body \
--to +15558675310
curl -X POST "https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/Messages.json"\--data-urlencode "From=+15017122661"\--data-urlencode "Body=body"\--data-urlencode "To=+15558675310"\-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN
SMSコミュニケーションの送受信
- Programmable Messaging APIを活用し、バックエンドシステムにSMS送信機能を組み込む
- Messaging Insightsは、トリガー型配信や効果測定に使用
- トランザクション型、大容量、グローバルなSMS送信をサポート
- 内蔵ソフトウェアを使用し、拡張性やコンプライアンスへの対応、地域に合わせたカスタマーエクスペリエンスの最適化が可能
- Node.js
- Python
- C#
- Java
- Go
- PHP
- Ruby
- twilio-cli
- curl
//Downloadthehelperlibraryfromhttps://www.twilio.com/docs/node/install//FindyourAccountSIDandAuthTokenattwilio.com/console//andsettheenvironmentvariables.Seehttp://twil.io/secureconstaccountSid=process.env.TWILIO_ACCOUNT_SID;constauthToken=process.env.TWILIO_AUTH_TOKEN;constclient=require('twilio')(accountSid,authToken);client.conversations.v1.conversations.create().then(conversation=>console.log(conversation.sid));
# Download the helper library from https://www.twilio.com/docs/python/installimportosfromtwilio.restimportClient# Find your Account SID and Auth Token at twilio.com/console# and set the environment variables. See http://twil.io/secureaccount_sid=os.environ['TWILIO_ACCOUNT_SID']auth_token=os.environ['TWILIO_AUTH_TOKEN']client=Client(account_sid,auth_token)conversation=client.conversations.v1.conversations.create()print(conversation.sid)
// Install the C# / .NET helper library from twilio.com/docs/csharp/installusingSystem;usingTwilio;usingTwilio.Rest.Conversations.V1;classProgram{staticvoidMain(string[]args){// Find your Account SID and Auth Token at twilio.com/console// and set the environment variables. See http://twil.io/securestringaccountSid=Environment.GetEnvironmentVariable("TWILIO_ACCOUNT_SID");stringauthToken=Environment.GetEnvironmentVariable("TWILIO_AUTH_TOKEN");TwilioClient.Init(accountSid,authToken);varconversation=ConversationResource.Create();Console.WriteLine(conversation.Sid);}}
// Install the Java helper library from twilio.com/docs/java/installimportcom.twilio.Twilio;importcom.twilio.rest.conversations.v1.Conversation;publicclassExample{// Find your Account SID and Auth Token at twilio.com/console// and set the environment variables. See http://twil.io/securepublicstaticfinalStringACCOUNT_SID=System.getenv("TWILIO_ACCOUNT_SID");publicstaticfinalStringAUTH_TOKEN=System.getenv("TWILIO_AUTH_TOKEN");publicstaticvoidmain(String[]args){Twilio.init(ACCOUNT_SID,AUTH_TOKEN);Conversationconversation=Conversation.creator().create();System.out.println(conversation.getSid());}}
// Download the helper library from https://www.twilio.com/docs/go/installpackagemainimport("fmt""github.com/twilio/twilio-go"conversations"github.com/twilio/twilio-go/rest/conversations/v1")funcmain(){// Find your Account SID and Auth Token at twilio.com/console// and set the environment variables. See http://twil.io/secureclient:=twilio.NewRestClient()params:=&conversations.CreateConversationParams{}resp,err:=client.ConversationsV1.CreateConversation(params)iferr!=nil{fmt.Println(err.Error())}else{ifresp.Sid!=nil{fmt.Println(*resp.Sid)}else{fmt.Println(resp.Sid)}}}
<?php// Update the path below to your autoload.php,// see https://getcomposer.org/doc/01-basic-usage.mdrequire_once'/path/to/vendor/autoload.php';useTwilio\Rest\Client;// Find your Account SID and Auth Token at twilio.com/console// and set the environment variables. See http://twil.io/secure$sid=getenv("TWILIO_ACCOUNT_SID");$token=getenv("TWILIO_AUTH_TOKEN");$twilio=newClient($sid,$token);$conversation=$twilio->conversations->v1->conversations->create();print($conversation->sid);
# Download the helper library from https://www.twilio.com/docs/ruby/installrequire'rubygems'require'twilio-ruby'# Find your Account SID and Auth Token at twilio.com/console# and set the environment variables. See http://twil.io/secureaccount_sid=ENV['TWILIO_ACCOUNT_SID']auth_token=ENV['TWILIO_AUTH_TOKEN']@client=Twilio::REST::Client.new(account_sid,auth_token)conversation=@client.conversations.v1.conversations.createputsconversation.sid
# Install the twilio-cli from https://twil.io/cli
twilio api:conversations:v1:conversations:create
curl -X POST "https://conversations.twilio.com/v1/Conversations"\-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN
カスタマーサポート用の対話型メッセージング
- Conversations APIは、クロスチャネルグループの対話作成に利用
- SMSからWhatsAppなどのチャネルへと変更する場合でも、オペレーターは対話型SDKを使用し、チャットで対応することが可能
- コードを追加することなく、参加者、役割、セッションの期限、ステータスをプログラムで管理
- 顧客体験に関するデータをクラウドに保存し、カスタマーエクスペリエンスやコンプライアンス対応の改善に活用することが可能
Twilioが選ばれる理由
Twilioはあらゆる構築、効率的なコーディングが可能。
クラス最高レベルのチャネルAPIが、あらゆるチャネルのコミュニケーション品質を確保
グローバルな顧客リーチと圧倒的な規模で支える
800万人の開発者
高性能サーバーレスツールとフルプログラム可能なソリューションが、数分で実装可能
エンタープライズクラスのセキュリティと信頼性で支える19万以上の優良ブランド