You are viewing the Japanese site, but your language preference is set to English. Switch to English site →

Menu

Expand
このページを評価:

Programmable Messaging Quickstarts

Quickstarts

Saying "Ahoy, World" via SMS is a few lines of code away.

These quickstarts will teach you how to send and receive text messages with Twilio. We'll walk you step-by-step through signing up for Twilio, getting your first Twilio-powered phone number, setting up your development environment, sending your first SMS, receiving inbound text messages, and replying to incoming messages with an SMS.

Choose your programming language below and dive right in:

Note that this full tutorial is not available in curl, even though our examples throughout Twilio documentation of individual API calls nearly always include a curl variant. It is a very simple matter to make a call to create and send an SMS message in curl, specifying your Account SID and auth token, the sender and recipient numbers and the text message body. This is detailed on the SMS resource page, among other places. However, the other steps covered in the language-specific quickstarts linked above--receiving inbound text messages and replying programmatically to these inbound messages-- require setting up a free-standing application in your local environment in the specified language/framework, including a webhook to receive and respond to incoming SMS messages, and then exposing this webhook as a public url (we recommend doing this by way of ngrok). None of this is possible using curl alone, which is a command-line tool intended for discrete server calls from a terminal (in our case, calls to a Twilio REST API). While not a multi-procedure scripting language like the ones listed in the links above, curl is.a simple and powerful way to verify the functionality of discrete API calls from the command line.

Not comfortable with coding? Try the No-code Quickstart that uses Twilio Studio!

Looking to send your first WhatsApp message with Twilio Programmable Messaging? Try the WhatsApp Quickstart.

Resources

このページを評価:

サポートが必要ですか?

コーディングに関するご質問、ご不明点等ございましたら、お問い合わせからご連絡いただくか、TwilioのStack Overflow Collectiveにアクセスいただくか、Stack OverflowサイトでTwilioタグを検索してください。

Loading Code Sample...
        
        
        

        フィードバックいただき、ありがとうございました。

        フィードバックいただいた理由を選択してください。その他、ご意見をいただければ、今後のドキュメントの改善に役立てさせていただきます。

        フィードバックを送信中...
        🎉 フィードバックいただき、ありがとうございました。
        何らかの問題が発生しました。もう一度試してください。

        フィードバックいただき、ありがとうございました。

        thanks-feedback-gif