SMS, WhatsApp, or Email? How to Choose the Best Channel for OTP Codes
By Nimana · Last updated November 23, 2026 · 3 min read
Not every OTP should go by SMS. Learn how to compare WhatsApp, SMS, and email codes by cost and delivery, and how automatic routing picks the best channel.
Why This Matters
A one-time password (OTP) has a simple job: reach the user fast, so they can finish signing in. If the code is late or never arrives, the user gives up, or tries again and triggers more messages.
The channel you choose affects two things you care about: whether the code arrives, and what each code costs you. For an app with many sign-ins, those add up quickly.
The Three Channels Compared
| Channel | Strengths | Watch out for |
|---|---|---|
| WhatsApp | Often cheaper, and widely used in many countries | The user must be on WhatsApp |
| SMS | Works on almost any mobile phone, with no app | Usually the most expensive, and delivery can vary by country and carrier |
| Email | Very cheap, and works on any device | Slower to notice, and the user needs to switch apps |
No channel is best everywhere. The right choice depends on where your users are and what they have installed.
Four Things to Consider
1. Where your users live
WhatsApp is used by most people in some countries and far fewer in others. A channel that works brilliantly in one market can be a poor choice in another.
2. Cost per code
If you send thousands of codes a month, a small difference in cost per message becomes a real difference in your bill.
3. Delivery reliability
A cheap code that does not arrive costs more than an expensive one that does, because the user retries and you pay again.
4. What the user expects
Some users expect a text message. Others would be happy to receive the code on WhatsApp or email. Let people choose when you can.
A Smarter Approach: Route Each Code Individually
Instead of choosing one channel for everyone, route each code on its own merits:
- If the user is reachable on WhatsApp, send it there.
- If not, send it by SMS.
- If SMS is not available for that region and you have an email address, send it by email.
This keeps costs down where a cheaper channel works, and keeps delivery high where it does not.
Common Mistakes
- Using SMS for every user in every country
- Not checking whether a user is on WhatsApp before choosing it
- No fallback when the first channel fails
- No way for the user to choose another channel
How SendAPI Helps
SendAPI's Verify API has a built-in smart routing mode. Setting channel to auto when you send an OTP tells SendAPI to choose the best channel for each destination, prioritising the cheapest option with the highest delivery rate.
{
"to": "+250788000000",
"channel": "auto"
}
A few details from the docs:
- The routing logic: if WhatsApp is available for the number, the code goes by WhatsApp. If not, it goes by SMS. If SMS is unavailable for that region and
tois an email address, it goes by email. - Why WhatsApp first: according to the docs, WhatsApp OTPs cost significantly less than SMS in most markets, and in countries such as Rwanda, Kenya, Nigeria, and India, where WhatsApp use is high, this can mean 40 to 60 percent cost savings.
- Per-country defaults: smart routing uses per-country WhatsApp penetration data. Countries with more than 60 percent penetration default to WhatsApp, and the configuration is updated monthly. For example, Rwanda, Nigeria, India, Brazil, and Germany default to WhatsApp, while the United States and the United Kingdom default to SMS.
- Cost and delivery estimates from the docs: WhatsApp is about $0.002 per OTP with a delivery rate above 98 percent, SMS is about $0.010 to $0.075 with roughly 70 to 90 percent delivery, and email is about $0.0001 with delivery above 99 percent.
- You stay in control: you can always override smart routing by setting
channeltosms,whatsapp, oremail. The valid values aresms,whatsapp,email, andauto.
All of this comes with WhatsApp, SMS, OTP, and email under one API from $9.99 a month.