GUIDE WhatsApp OTP API

WhatsApp OTP API: verify users in seconds, from your own number.

Send login and signup codes as a WhatsApp message from your brand, with a one-tap Copy code button. Two API calls, live in 5 minutes, and cheaper than SMS OTP.

✓ Official WhatsApp Business API✓ Free plan✓ Hindi & English support
Quick answer

A WhatsApp OTP API sends one-time passwords to users on WhatsApp instead of SMS, using Meta's authentication message templates. With AutoChatly you connect your WhatsApp Business number, create an API key and call two endpoints: send to deliver a 6-digit code, and check to verify what the user typed.

Updated 23 Oct 2026 · AutoChatly team
What you get

Everything you need, in one place.

From your own brand

Codes arrive from your verified WhatsApp Business number, so users trust them and the chat stays with you.

Cheaper than SMS

You pay Meta's authentication rate per delivered code, with no DLT registration or SMS route issues.

Instant and reliable

WhatsApp delivers in seconds with read receipts. No lost codes on busy SMS routes.

Secure by default

Hashed single-use codes, 5-attempt lock, rate limits per number, country allow-list and IP-locked API keys.

Side by side

WhatsApp OTP vs SMS OTP

What mattersWhatsApp OTP (AutoChatly)SMS OTP
Sender shown to userYour business name and logoShort code / header
One-tap copy codeYesDepends on phone
DLT template registrationNot neededRequired in India
Delivery statusSent, delivered, readDelivery report only
Works without mobile networkYes, on Wi-FiNo

SMS remains useful for users without WhatsApp; you can keep it as a fallback.

How it works

Live in 3 simple steps.

Connect your WhatsApp number

Create a free AutoChatly account and connect your WhatsApp Business number through Facebook.

Create the OTP template

One click creates Meta's official authentication template on your account. Approval usually takes minutes.

Get a key and call 2 endpoints

POST /send with the phone number, then POST /check with the code. Send a test to your own phone first.

Two API calls. That's it.

Call these from your server with your API key in the Authorization header.

POST https://app.autochatly.com/api/verify/v1/send
{"phone": "+919876543210"}
→ {"ok": true, "request_id": "6f1c…", "expires_in": 300}

POST https://app.autochatly.com/api/verify/v1/check
{"request_id": "6f1c…", "code": "123456"}
→ {"ok": true, "verified": true}

Built for security

  • 6-digit codes, valid for 5 minutes, single use.
  • Codes are stored only as a hash and never appear in logs or API responses.
  • A code locks after 5 wrong attempts.
  • Per-number limits (one code every 30 seconds, 3 per 10 minutes) and a country allow-list stop OTP-pumping fraud.
  • API keys are hashed, can be locked to your server IPs and revoked instantly.

Who uses WhatsApp OTP

Apps and websites that need phone verification at login or signup: e-commerce checkouts, healthcare and pharmacy apps, fintech, edtech, delivery and booking platforms.

Pricing

Simple plans in rupees.

Free

₹0 forever
  • 500 contacts
  • 1 team member
  • 2 chatbot flows
Start free

Startup

₹3,999 /month
  • 10,000 contacts
  • 2 team members
  • 5 chatbot flows
Get started
MOST POPULAR

Growth

₹8,999 /month
  • 50,000 contacts
  • 5 team members
  • 15 chatbot flows
Get started

Business

₹19,999 /month
  • 2,00,000 contacts
  • 20 team members
  • 50 chatbot flows
Get started

Prices in INR, taxes as applicable. Meta's WhatsApp message charges are billed separately.

FAQ

Questions, answered.

How much does a WhatsApp OTP cost in India?

Meta charges your WhatsApp Business account its authentication rate for each delivered code, which is typically lower than marketing messages. Check Meta's WhatsApp pricing page for the current India rate.

Do I need DLT registration for WhatsApp OTP?

No. DLT registration applies to SMS in India. WhatsApp OTPs use Meta-approved authentication templates instead.

Is the OTP sent from my own number?

Yes. Codes are sent from the WhatsApp Business number you connect, so users see your business name, not ours.

What if the user does not have WhatsApp?

The send call returns an error for numbers that cannot receive the message, so your app can fall back to SMS or email.

How fast can I go live?

Most businesses send their first test OTP within 5 minutes of connecting WhatsApp, once Meta approves the authentication template.

Start growing on WhatsApp today.

Create your free account in 30 seconds. No credit card needed.

Log in Start free