Tutorials
Each tutorial has a goal, prerequisites, copy-and-paste code and the expected result. For a description of every route, see the documentation guides.
Send messages
Section titled “Send messages”- Send a WhatsApp message with PHP: cURL, no libraries.
- Send a WhatsApp message with Node.js:
fetch, no packages. - Send a WhatsApp message with Python: standard library only.
Receive and protect webhooks
Section titled “Receive and protect webhooks”- Receive WhatsApp messages by webhook: a server that acknowledges fast and ignores repeated deliveries.
- Validate the webhook signature in Node.js, PHP and Python: HMAC-SHA256 over the raw body, in constant time.
Connect your number
Section titled “Connect your number”- Connect your number to WhatsApp with a pairing code: no QR code to scan.