×
Darwinbark builds SaaS products, AI chatbots and automation, and WhatsApp Business API solutions, plus websites, mobile apps and custom software.

Quick answer: the Darwinbark WhatsApp OTP and reminder API sends one-time passwords and reminders on WhatsApp from your own number, through Meta’s official WhatsApp Business API. Each OTP arrives with a one-tap copy-code button from your verified business name, with delivery and read receipts. You pay ₹0.20 per message (first 10 free) or message packs from ₹149, plus Meta’s authentication charge of ₹0.1150 per OTP in India.

Flow of a one-time password sent through the Darwinbark WhatsApp OTP API
The same endpoint sends reminders with a utility template.

Key Facts

  • Channel: WhatsApp, through Meta’s official WhatsApp Business Platform, from your own number
  • Use cases: login and signup OTPs, payment and order verification, appointment, fee and payment reminders
  • Darwinbark fee: ₹0.20 per message after the first 10 free, or message packs from ₹149 (1,000 messages) to ₹49,999 (10 lakh messages)
  • Meta charge in India (list rates from 1 Oct 2026): ₹0.1150 per authentication or utility message
  • Integration: one REST endpoint with an API key; works from PHP, Node.js, Python, Java or any language that can send HTTP
  • Support: WhatsApp, phone and email, in English and Hindi

Why Send OTPs on WhatsApp Instead of SMS?

SMS is still the default for one-time passwords in India, and it has real strengths: it works on every phone without an app. WhatsApp OTPs solve a different set of problems. The message comes from your business name rather than a sender code, so customers recognise it. Authentication templates include a copy-code button, so customers copy the code with one tap instead of switching apps to read six digits. You see whether the message was delivered and read. And because WhatsApp messages go through Meta’s platform rather than telecom routes, you do not need DLT registration of headers and templates with Indian telecom operators — instead, Meta approves your message templates.

WhatsApp OTP vs SMS OTP: An Honest Comparison

Comparison of WhatsApp OTP and SMS OTP for Indian businesses
SMS is often cheaper per message; WhatsApp adds trust, one-tap codes and read receipts.

What It Costs, Compared Fairly

We prefer to show the numbers rather than claim to be the cheapest. A WhatsApp OTP costs Meta’s authentication charge plus our fee. SMS providers charge one price per SMS that falls as you buy more, and GST is added on top.

OptionPrice per OTP (before taxes)Source
Darwinbark Pay As You Go₹0.315 (₹0.1150 Meta + ₹0.20)darwinbark.com/price-plan
Darwinbark Starter packabout ₹0.264 (₹0.1150 Meta + ₹149 for 1,000)darwinbark.com/price-plan
Darwinbark Growth packabout ₹0.235 (₹0.1150 Meta + ₹1,199 for 10,000)darwinbark.com/price-plan
Darwinbark Business packabout ₹0.215 (₹0.1150 Meta + ₹4,999 for 50,000)darwinbark.com/price-plan
Darwinbark Scale packabout ₹0.195 (₹0.1150 Meta + ₹7,999 for 1 lakh)darwinbark.com/price-plan
Darwinbark Enterprise packabout ₹0.175 (₹0.1150 Meta + ₹29,999 for 5 lakh)darwinbark.com/price-plan
Darwinbark Enterprise Plus packabout ₹0.165 (₹0.1150 Meta + ₹49,999 for 10 lakh)darwinbark.com/price-plan
Fast2SMS SMS₹0.25 per SMS on small recharges, down to ₹0.11 at ₹6 lakh+fast2sms.com pricing
MSG91 SMS₹0.25 at 5,000 SMS, down to ₹0.16 at about 9.6 lakhmsg91.com pricing

SMS prices were read from each provider’s own pricing page on 30 November 2026 and can change; check their sites for current rates. Meta’s rate is its India list rate effective 1 October 2026, read on Meta’s pricing page.

In short: at small volumes a WhatsApp OTP on our Growth or Business pack costs about the same as an SMS OTP, and Pay As You Go costs a little more. With the largest packs the total falls to about ₹0.165 per OTP, close to the best SMS volume rates; it cannot go below Meta’s own ₹0.1150. Many businesses choose WhatsApp for the experience — recognised sender, one-tap copy and read receipts — and keep SMS as a fallback for customers without WhatsApp.

Send an OTP in One Request

Create an authentication template in your WhatsApp Manager (Meta provides the standard OTP wording with a copy-code button), wait for approval, then pass its name and the code. The API fills the code into both the message and the copy-code button, which Meta requires for authentication templates.

curl -X POST "https://www.darwinbark.com/api/whatsapp/send" \
  -H "Authorization: YOUR_API_KEY" \
  -d "to=919876543210" \
  -d "template=login_otp" \
  -d "otp=482913"

The same request from PHP:

<?php
$ch = curl_init('https://www.darwinbark.com/api/whatsapp/send');
curl_setopt_array($ch, [
    CURLOPT_POST           => true,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER     => ['Authorization: ' . getenv('DARWINBARK_WA_KEY')],
    CURLOPT_POSTFIELDS     => http_build_query([
        'to'       => '919876543210',
        'template' => 'login_otp',   // your approved authentication template
        'otp'      => $code,          // fills the body and the copy-code button
    ]),
]);
$result = json_decode(curl_exec($ch), true); // {"success":true,"message_id":"..."}

Send Reminders With a Utility Template

Reminders — appointments, fee due dates, payment reminders, delivery slots — use a utility template. Pass the template name, its language code and the values for each variable in order.

curl -X POST "https://www.darwinbark.com/api/whatsapp/send" \
  -H "Authorization: YOUR_API_KEY" \
  -d "to=919876543210" \
  -d "template=appointment_reminder" \
  -d "language=en_US" \
  -d "params[]=Asha" \
  -d "params[]=Tue 10:30"

Responses are JSON: {"success":true,"message_id":"..."} on success, or {"success":false,"message":"..."} with a clear reason, such as a template name that does not exist or a language code that does not match the approved template.

Reminder Use Cases

BusinessReminderTemplate category
ClinicsAppointment tomorrow at 10:30 with Dr MehtaUtility
Coaching institutesFee of ₹4,500 due on 5 DecemberUtility
Online storesYour order arrives today between 2 and 5 pmUtility
Lenders and billingYour payment of ₹1,200 is due on FridayUtility
ServicesTechnician visit confirmed for Saturday morningUtility

Getting Started

  1. Sign up and connect your own number through Meta’s Embedded Signup
  2. Our admin activates your account, typically within 24 hours
  3. Create an authentication template for OTPs and utility templates for reminders in WhatsApp Manager
  4. Copy your API key from the dashboard
  5. Call the endpoint from your backend; the first 10 messages are free

What an Authentication Template Looks Like

Authentication templates are more restricted than other templates, which is part of why customers trust them. Meta provides the wording: the code, an optional security note telling the customer not to share it, an optional expiry time, and a copy-code button (on Android, one-tap autofill can also be configured). You cannot add links, media or promotional text to an authentication template. That keeps OTP messages short, consistent and recognisable, and it is why the API only needs two things from you: the template name and the code.

Building a WhatsApp-First Flow With SMS Fallback

A common pattern is to try WhatsApp first and fall back to SMS when needed. Your backend sends the OTP through our API and watches the result. If the API returns an error — for example the number is not on WhatsApp — or no delivered status arrives within a short time, your backend sends the same code by SMS through your existing SMS provider. Customers on WhatsApp get the better experience, and nobody is left without a code. Because our API returns a message ID and delivery updates arrive by webhook, this logic fits into most login and checkout flows with a few lines of code.

Delivery Reports and Analytics

Every message sent through the API gets a WhatsApp message ID, and status updates — sent, delivered, read, failed — arrive on your webhook. Tracking these tells you how many customers actually received and opened their codes and reminders, which SMS delivery reports alone cannot show. Over time this data shows whether reminders reduce missed appointments or late payments, so you can measure what the messages are worth.

Good Practice for OTPs

  • Generate and check codes on your own server; send only the code through the API
  • Expire codes after a few minutes and limit attempts per number
  • Keep a fallback such as SMS or email for customers without WhatsApp
  • Never ask customers to share an OTP with your staff
  • Use separate templates for OTPs and for reminders, in the correct categories

Key takeaway: send OTPs and reminders on WhatsApp for a recognised sender, one-tap copy and read receipts; compare the full price per OTP honestly against SMS, and keep SMS as a fallback.

Frequently Asked Questions

Is Darwinbark the cheapest OTP API in India?

We do not claim that. A WhatsApp OTP costs Meta’s ₹0.1150 authentication charge plus our fee, about ₹0.165–₹0.315 in total, while SMS providers list about ₹0.11–₹0.25 per SMS depending on volume. WhatsApp adds a recognised sender, one-tap copy and read receipts.

Do I need DLT registration for WhatsApp OTPs?

No. DLT registration applies to SMS through Indian telecom operators. WhatsApp OTPs need a Meta-approved authentication template instead.

How do I send an OTP with the API?

Create an approved authentication template, then POST to /api/whatsapp/send with your API key, the number, the template name and the otp value. The API fills the code into the message and the copy-code button.

Can I send appointment and payment reminders?

Yes. Use an approved utility template and pass the template name, language and the values for its variables as params.

What if the customer does not use WhatsApp?

The message cannot be delivered on WhatsApp. Keep SMS or email as a fallback for those customers.

How much does each OTP cost with Darwinbark?

₹0.20 per message on Pay As You Go (first 10 free) or from ₹149 for 1,000 messages on a plan, plus Meta’s authentication charge of ₹0.1150 per OTP in India.

Can I use my existing business number?

You connect your own number through Meta’s Embedded Signup; it must not be active on the regular WhatsApp app at the same time unless Meta’s current options allow it for your number.

Which languages can I use?

Any language your approved template uses; pass the matching language code, such as en, en_US or hi.

Related: WhatsApp Business API provider · WhatsApp API charges in India · Template approval guide · Price plans

DarwinBotTell me what you need — I'll point you to the right solution.