Chapter 1 · The scenario
Example: Login codes for a Jaipur insurance app
A Jaipur insurance app sends login codes through a WhatsApp authentication template with a 45-second time-to-live and starts a 30-second fallback timer for each one. In a typical week of 1 lakh logins, about 91% are delivered on WhatsApp within the timer; 2% come back failed with 131026 and go to SMS at once; the remaining 7% hear nothing in 30 seconds and get the SMS, carrying the same code, so a late WhatsApp delivery is harmless. The failed WhatsApp messages aren't billed, and the team spots a batch of mistyped numbers from one sign-up form because its fallback rate is four times the average (figures illustrative).
Chapter 2 · What is a fallback channel?
A fallback channel is the second route a business uses when its first-choice channel cannot deliver a message. With the WhatsApp Business API, WhatsApp is usually the primary channel and SMS the fallback; RCS, a voice call or email can play the same role. The rule is simple: send on WhatsApp first, and if WhatsApp reports the message as failed, or no delivered status arrives within a set time, send equivalent content on the fallback channel.
Fallback is driven by Message Status events. After a send, the Cloud API returns a wamid straight away, but that only means the request was accepted; the outcome arrives later through the statuses webhook as sent, delivered, read or failed. A failed status carries an error such as Error 131026 (Message Undeliverable), raised when the number isn't on WhatsApp, the app is too old or the user hasn't accepted the current terms, which justifies an immediate switch. Silence is the harder case: a phone that is switched off produces no status at all, so a fallback design always pairs webhooks with a timer.
A fallback channel is narrower than Omnichannel Orchestration. Fallback is one failover rule for one message (try WhatsApp, then SMS), while orchestration plans whole journeys across channels by preference, cost, timing and engagement. It is also unrelated to a chatbot's fallback intent, which handles questions a bot doesn't understand, and to infrastructure failover, which switches servers rather than channels. For the channel trade-offs themselves, see WhatsApp vs SMS.
Key takeaways
- A fallback channel re-sends a message on a second channel, usually SMS, when WhatsApp reports
failedor nodeliveredstatus arrives in time. - Drive fallback from status webhooks plus a timer: a successful send call only means WhatsApp accepted the request.
- Undelivered WhatsApp messages are not billed, so you pay for the second channel only on messages that actually failed.
- Set a short template time-to-live so a late WhatsApp delivery can't land after the SMS and duplicate it.
- SMS fallback in India needs its own DLT header, template and consent; a WhatsApp opt-in doesn't cover it.
Chapter 3 · How it unfolds
How does a fallback channel work?
Decide which messages qualify
Fall back only for messages that must arrive: authentication codes, transactional alerts, time-bound reminders. A missed promotion rarely justifies a second paid message or a second consent.
Send on WhatsApp with a matching TTL
Send the template with a time-to-live that matches how long it stays useful, so WhatsApp stops trying once the fallback has gone. Authentication templates accept 30 seconds to 15 minutes.
Start a timer keyed by the wamid
Store the message ID with a deadline, for example 30 seconds for an OTP or 15 minutes for a delivery-slot alert.
Listen to status webhooks
A
deliveredorreadstatus cancels the timer. Afailedstatus with a recipient-side error such as 131026 triggers the fallback at once.Fire the fallback once
On timeout or failure, claim the record atomically and send the SMS through a DLT-registered header and template (in India), reusing the same OTP or reference so whichever copy arrives works.
Report end to end
Count a message as reached if either channel delivered it, and track the fallback rate by cause; a rising rate usually points to bad numbers or a data problem, not to WhatsApp.
Chapter 4 · In code
A fallback channel in code
{"object": "whatsapp_business_account","entry": [{"id": "{WABA_ID}","changes": [{"field": "messages","value": {"messaging_product": "whatsapp","metadata": { "display_phone_number": "919876543210", "phone_number_id": "{PHONE_NUMBER_ID}" },"statuses": [{"id": "wamid.HBgMOTE5ODEyMzQ1Njc4FQIAERgSQjZGRjc5","status": "failed","timestamp": "1760860830","recipient_id": "919812345678","errors": [{"code": 131026,"title": "Message undeliverable","message": "Message undeliverable","error_data": { "details": "Message Undeliverable." }}]}]}}]}]}
Chapter 5 · Why it matters
Why does a fallback channel matter?
Some messages have to arrive: a login OTP, a delivery slot, a payment-due reminder. WhatsApp gives richer content, read receipts and two-way replies, but not every number is on WhatsApp and not every phone is online when you send. A well-scoped fallback lets a business make WhatsApp the default for everyone while making sure critical messages still land, and because undelivered WhatsApp messages are not charged, it pays for the second channel only on the share that genuinely failed. Scoped badly, it doubles costs and messages customers twice.
Chapter 6 · Where it goes wrong
Common mistakes with a fallback channel
Deciding on the API response
A 200 with a
wamidonly means WhatsApp accepted the request. Decide ondelivered,readorfailedstatuses, never on the send call alone.A timer with no TTL
Utility and marketing templates stay valid for 30 days by default, so a phone that comes online after the SMS went out receives both. Set the template TTL close to your timer, and reuse the same code or reference across channels.
Falling back on every error
Error 131047 means the 24-hour window was closed and 131049 means a per-user marketing limit; the person is reachable, so fix the message type or wait instead of paying for an SMS.
Firing twice
A late
deliveredwebhook and the timer can race. Claim the pending record atomically so only one path sends, and make the SMS send idempotent.Skipping SMS compliance
In India the SMS leg needs a DLT-registered header and content template and consent suited to its category. A WhatsApp opt-in doesn't transfer to SMS.
Chapter 7 · The facts
A fallback channel: key facts and limits
| Trigger | A failed status, or no delivered status before the timer ends |
|---|---|
| Typical timers | About 30 s for OTPs, minutes for alerts (illustrative) |
| WhatsApp billing | Delivered messages only; failed sends aren't charged |
| Authentication TTL | 30 seconds to 15 minutes (default 10 minutes) |
| Utility TTL | 30 seconds to 12 hours (default 30 days) |
| Switch-now error | 131026 Message undeliverable |
| Usual fallback in India | SMS on a DLT-registered header and template |
Chapter 8 · What good teams do
Best practices for a fallback channel
- Put the same OTP in both channels so whichever arrives first works.
- Track fallback rate by error code and by number source to catch bad data early.
- For non-urgent messages, wait longer before falling back; many people come online within the hour.
- Show agents which channel actually delivered, so they follow up on the right one.
Chapter 9 · Fallback Channel FAQs