Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

The WhatsApp Business Platform with Twilio


Using the WhatsApp Business Platform with Twilio, you can send and receive messages to WhatsApp(link takes you to an external page) users using the same Twilio Messaging APIs you already know and enjoy. Dive into the Twilio SDKs and helper libraries, see our quickstart and API reference docs, read through guides on templates and Twilio phone numbers, and find the sample code you'll need.

Not a developer? See our Whatsapp product page(link takes you to an external page).


Signing Up

signing-up page anchor

To use Twilio's Messaging APIs with WhatsApp, you will need a WhatsApp-enabled phone number, also referred to as a WhatsApp Sender. Check out Getting Started with WhatsApp to learn how to register your first WhatsApp Sender.

Once you have an approved WhatsApp Sender, continue on below to to get started with a WhatsApp Quickstart in the language of your choice!


Get Started with the WhatsApp Business Platform with Twilio

get-started-with-the-whatsapp-business-platform-with-twilio page anchor

We suggest starting with the WhatsApp quickstart in your language of choice below to learn how to send and receive WhatsApp messages using the Twilio Programmable Messaging API.

Quickstarts

quickstarts page anchor

Our WhatsApp Quickstart shows you a common WhatsApp integration using six popular web languages as well as cURL. If you're looking for the fastest way to test the ins and outs of working with WhatsApp with Twilio Programmable Messaging, try the quickstart in your language of choice:

Can't decide? Head to the WhatsApp Quickstart overview for your guide to the guides!


Sending one-way messages and notifications with WhatsApp

sending-one-way-messages-and-notifications-with-whatsapp page anchor

Check out the Programmable Messaging API Reference

check-out-the-programmable-messaging-api-reference page anchor

Our API Reference and overview has setup hints as well as descriptions of features that come with WhatsApp, such as formatting, location messages, and templates.

From there, learn how to send messages with the Programmable Messaging Message Resource. Sending WhatsApp messages is part of Twilio Programmable Messaging, so you'll use the same API calls to send SMS or MMS messages.

Suggested guides and tutorials for one-way messaging with WhatsApp and Twilio

suggested-guides-and-tutorials-for-one-way-messaging-with-whatsapp-and-twilio page anchor

Our WhatsApp Guides provide useful information for getting started with WhatsApp and Twilio, such as using templates for notifications, key concepts, and how to register your WhatsApp Business Profile using Twilio.

Sending One-Time-Passcodes?

WhatsApp is now a more cost effective channel than SMS to send One-Time-Passcodes (OTPs) in many parts of the world. Check out our Verify WhatsApp API to send OTPs. This purpose-built API intelligently orchestrates OTP delivery between WhatsApp, SMS, RCS and other channels to maximize conversion and reduce cost. In a single phone number verification session, the same OTP code that's generated by Verify is sent across all channels, simplifying code validation.

Verify WhatsApp

Two-way messaging with WhatsApp

two-way-messaging-with-whatsapp page anchor

If you're looking to build conversational or back-and-forth messaging with WhatsApp, we recommend the Twilio Conversations API. With Twilio Conversations, you can build two-way messaging experiences that are cross-channel. So in addition to building WhatsApp-only Conversations, you can also build one customer experience with WhatsApp, SMS, MMS, and browser-based or mobile chat messages.

Suggested guides and tutorials for conversational messaging with WhatsApp and Twilio

suggested-guides-and-tutorials-for-conversational-messaging-with-whatsapp-and-twilio page anchor

The following guides will help you get accustomed to building conversational messaging with WhatsApp and Twilio


Integrate with our SDKs/helper libraries

integrate-with-our-sdkshelper-libraries page anchor

The quickest way to add WhatsApp integration to your web app with the Twilio APIs is using one of our Helper Libraries. We have helper libraries to assist you with common web languages - get from 0 to 200 OK in the minimum of time.


FAQ and Best Practices for WhatsApp

faq-and-best-practices-for-whatsapp page anchor

Got questions about WhatsApp or the integration with Twilio? You aren't alone - see the most commonly asked questions we field as well as a peppering of our best practices for your own Twilio API for WhatsApp integration.


Rate this page: