Many apps and websites now send login and verification codes on WhatsApp as well as SMS. WhatsApp offers a dedicated authentication template category for this.
How it works
- Create an authentication template on the WhatsApp Business Platform.
- Your system generates the code and sends it through the API.
- Templates can include a copy-code or one-tap autofill button on supported devices.
WhatsApp vs SMS OTPs
| SMS | ||
|---|---|---|
| Delivery | Needs internet and WhatsApp | Works on any phone |
| Registration | Approved templates | DLT registration in India |
| Cost | Authentication rates set by Meta | Per-SMS rates |
| User experience | Copy button, autofill | Autofill on many phones |
Best practice
- Offer WhatsApp with SMS as a fallback.
- Keep codes short-lived.
- Never ask users to share OTPs with anyone.
Costs
Estimate message costs with our broadcast cost calculator. Read SMS and DLT.
Want the full picture? This article is part of WhatsApp marketing: the complete guide, our in-depth guide with everything in one place.


