Learning path
Your first WhatsApp Cloud API integration
From the test number to a production webhook you can trust.
- Step 1 of 7 · 5 min readSend your first WhatsApp Cloud API message with the test numberCreate a Meta app, send hello_world from Meta's test number, reply to open the service window, receive your first webhook, then move to a real number.
- Step 2 of 7 · 5 min readWhatsApp Cloud API tokens: temporary, system user and businessThe three access token types Meta documents for the Cloud API, how to create a system user token, rotate it within 60 days and handle errors 190 and 0.
- Step 3 of 7 · 5 min readVerify WhatsApp webhook signatures with X-Hub-Signature-256Answer the WhatsApp Cloud API verification GET, then check X-Hub-Signature-256 against the raw body, with tested Node.js and Python code and an n8n setup.
- Step 4 of 7 · 5 min readWhatsApp message statuses: sent, delivered, read and failedWhat each WhatsApp Cloud API status webhook means, why statuses arrive out of order or not at all, and a status table that never moves a message backwards.
- Step 5 of 7 · 4 min readWhatsApp phone number format: normalizing to E.164How to store WhatsApp numbers in E.164, why wa_id can differ from the number you dialed, and the Mexico, Brazil and Argentina rules that break matching.
- Step 6 of 7 · 5 min readWhatsApp opt-in: how to collect consent that holds upMeta's WhatsApp opt-in requirements, where to collect consent, what the disclosure must say, a table for proof, and how to honor opt-outs.
- Step 7 of 7 · 5 min readWhatsApp template category: marketing, utility or authenticationMeta's definitions of the three WhatsApp template categories, what turns utility into marketing, the category update webhook, and how category sets price.