With Twilio Programmable Messaging, you can build messaging flows into your application and scale reliably, reaching your customers around the world, over the channels that they already know and use.
Find the documentation and sample code to get you started building quickly and to grow your application robustly. Ready to go? Let's get started!
With Twilio Programmable Messaging, you use the same API calls to reach your customers over their preferred channels: SMS, MMS, WhatsApp and Facebook Messenger.
Through the Twilio Programmable Messaging API, you can send SMS to your end users globally. Find more information in the SMS with Twilio Programmable Messaging documentation.
Here a few links to get you started:
- Follow one of our language-specific Quickstarts to send your first SMS
- Learn how to handle and reply to inbound SMS messages
- Track the delivery status of one of your messages using status callbacks
In addition to SMS and MMS, you also can use Twilio Programmable Messaging to connect to your customers over WhatsApp, one of the most widely used channels in the world.
Discover more in the WhatsApp with Twilio Programmable Messaging documentation, or jump right in with some of the following content:
- Follow one of our language-specific Quickstarts to send your first WhatsApp message with Twilio
- Learn how to send media messages in WhatsApp using Twilio
- Learn how to connect you Twilio phone number with your WhatsApp Business Profile
You also can use Twilio Programmable Messaging to respond to messages sent to your Facebook Page through Facebook Messenger, which has over 1.3 billion users worldwide.
The Messaging Service sits at the core of Twilio Programmable Messaging. You can think of a Messaging Service as a container with a pool of the global senders; these senders may include long codes, short codes, toll-free numbers, alphanumeric sender IDs, and WhatsApp-enabled senders. Once you have your sender pool set up, you can enable certain features to improve message deliverability, compliance, and efficiency for all of the numbers in that Messaging Service.
Some of the Messaging Service features include:
- Automatic sender selection - Use sticky sender, geomatch, and fallbacks to automatically select the best sender type based on use case, carrier networks, consumer interaction, and location.
- Integration with your application - Define how your application handles inbound messages, delivery status, and message queuing.
- Handling message content and conversion - Configure logic to prevent encoding failures and handle conversion fallbacks.
- Maintaining compliance - Control the opt-out experience and set alerts for countries requiring pre-registered Sender IDs.
To get started with Messaging Services, check out the following resources:
- Messaging Service Features description and list
- How to Send Messages with Messaging Services
- Managing End User's opt-out, out-in, and help interacts with the Advanced Opt-Out Features
If you want to build back-and-forth messaging experiences for your businesses, we recommend looking at Twilio Conversations. With the Twilio Conversations API, you can create one-on-one or group texting experiences that span multiple channels, including SMS, MMS, WhatsApp, and chat.
If you're building one-time password functionality into your application, check out Twilio Verify.