Using the WhatsApp Business API with Twilio, you can send and receive messages to WhatsApp 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.
We suggest starting with the WhatsApp quickstart in your language of choice below.
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 in Twilio, try the quickstart in your language of choice:
- Python WhatsApp Quickstart
- C#/.NET WhatsApp Quickstart
- PHP WhatsApp Quickstart
- Java WhatsApp Quickstart
- Node.js WhatsApp Quickstart
- Ruby WhatsApp Quickstart
- cURL WhatsApp Quickstart
Also, see our API Reference and overview for setup hints and help navigating the console.
Can't decide? Head to the WhatsApp Quickstart overview for your guide to the guides!
The quickest way to add WhatsApp integration to your web app with the Twilio API 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.
- PHP Helper Library
- C#/.NET Helper Library
- Java Helper Library
- Node.js Helper Library
- Python Helper Library
- Ruby Helper Library
If you're going to build out a serious Whatsapp integration with the Twilio API for WhatsApp, you'll want to go deeper than the quickstart. We've gathered the detailed API reference, frequently asked questions, and tutorials delving into more complicated usage of the API.
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.
utorials with sample code showing how to do common tasks with the Twilio API for WhatsApp.
- Connect your Twilio Number to your WhatsApp Business Profile
- Key Concepts and Terms for the WhatsApp Business API with Twilio
- Send WhatsApp Notification Messages with Templates
- Send and Receive Media Messages with the Twilio API for WhatsApp
Not sure exactly what you want to build? We have explicit instructions for common tasks on the Tutorials page.
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.
With Autopilot, you can build AI-powered chatbots that recognize user's intent, ask questions to collect data, and answer frequently (or infrequently) asked questions
Autopilot uses natural language understanding (NLU) to detect what users are saying and matches it to Tasks. Tasks can be programmed to collect data, answer questions or connect calls to other users. They are trained to recognize different phrases or ways users might express the a given Task.