OTP messages
Send login codes on WhatsApp with a one-tap copy button
Create an authentication template once, then send one-time codes from your app with a single API call. Customers copy the code with one tap.
Included in Pro · every feature free during the trial
Rahul Verma
online
Today
Copy code
How it works
OTP messages in three steps
- 1
Create the template
Make an authentication template with a copy-code button on the Templates page.
- 2
Get an API key
Create a key on the Developers page.
- 3
Send codes
Your app calls the API with the phone number and the code.
What you get
Everything included
Copy-code button
Customers tap once to copy the code.
One API call
Send the code with the otp_code shortcut — no template JSON.
Delivery status
See sent, delivered and read for each code.
Often cheaper than SMS
Authentication messages are billed by Meta at authentication rates.
Trusted sender
Codes arrive from your verified business name.
Request logs
Every API call is logged for debugging.
Send a login code
curl -X POST https://wapify.io/api/v1/messages \
-H "Authorization: Bearer wpf_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{ "to": "919876543210", "type": "template",
"template": { "name": "login_code", "language": "en", "otp_code": "482913" } }'Read the API docs Examples
How businesses use otp messages
Fintech app
Login and transaction codes on WhatsApp.
E-commerce
COD and account verification codes.
Booking platform
Phone number verification at sign-up.
Illustrative examples of how this works, not specific customers.
Questions
OTP messages: FAQ
Is WhatsApp OTP cheaper than SMS? +
Often, yes — Meta bills authentication messages at its authentication rate for the customer’s country.
What if the customer has no WhatsApp? +
Keep SMS as a fallback in your app for numbers without WhatsApp.
Do I need to be a developer? +
Your app needs one API call. Our team can help integrate it.
Works well with
Start talking to your customers on WhatsApp today
Free for 7 days. Connect your number in minutes.
Create free account