Meta Guide

How to Send OTP on WhatsApp

WhatsApp one-time passwords offer a faster, higher-trust alternative to SMS OTP. Here is how to deliver authentication codes through the Business API.

How it works

Step by step

1

Use the Authentication category

Create an Authentication-category template designed specifically for delivering verification codes.

2

Add a copy-code button

Use the authentication template's copy-code or one-tap autofill option so users can apply the code with a single tap.

3

Connect to your auth system

Trigger the OTP message from your app or backend when a user signs up, logs in, or completes a sensitive action.

Features

More steps

Set expiry and retries

Define how long a code is valid and limit resends to keep the flow secure against abuse.

Add SMS fallback if needed

Optionally fall back to SMS for users who cannot receive the WhatsApp message, so no one is locked out.

Do it free with Defuser →
FAQ

Frequently Asked Questions

Is WhatsApp OTP cheaper than SMS?

It depends on your country and volumes. Authentication conversations are priced per Meta's rates, which in many markets compare favorably to SMS, but you should check rates for your region.

Why use WhatsApp for OTP instead of SMS?

WhatsApp offers higher open rates, end-to-end encryption, and a copy-code button, which can improve verification completion compared with SMS.

TC
Written by Tabarak Ur Rehman ChaudhryFounder & CEO, Defuser AI · View profile
Keep exploring

Related solutions

Turn every conversation into revenue

Start free in minutes — no code, no credit card. Connect WhatsApp, Instagram, Messenger and TikTok in one platform.

Start for Free →