Templates, limits & compliance

How to Send OTP and Login Codes on WhatsApp (Authentication Templates)

By Growwup Ai Solutions · Updated 10 Nov 2026 · 2 min read

Quick answer: OTPs on WhatsApp use authentication templates approved by Meta. They are delivered fast, support a one-tap copy code button and are billed as authentication messages.

How it works

Your app or website calls the API with an approved authentication template and the code. The customer receives it on WhatsApp and can copy it with one tap.

Setup steps

  1. Create an authentication template in your dashboard.
  2. Wait for Meta's approval.
  3. Connect your login system through the REST API (Business plan and above).
  4. Send the code, set a short expiry and verify it on your server.

Good practice

  • Keep codes short-lived and single-use.
  • Rate-limit attempts to prevent abuse.
  • Do not add promotional text to OTP messages.
  • Check pricing: authentication messages are charged per delivered message.

Frequently asked questions

Can I send OTPs to customers who never messaged me?

You still need the customer's consent to be contacted on WhatsApp. Include it in your sign-up or login terms.

Meta changes its rules and prices from time to time. Always check Meta's official documentation for the latest details.

Related guides

Ready to try it yourself?

Start your 30-day free trial, or ask our team to set it up with you.

Start Free Trial Chat on WhatsApp