๐ WhatsApp OTP for SaaS
Replace SMS OTP with WhatsApp
verification in your SaaS app
Two API calls. 15 minutes to integrate. 50% cheaper than SMS OTP, 98%+ delivery rate, zero DLT registration. Your users already have WhatsApp.
Node.js SDKPythonPHPREST APINo DLT neededโน0.14/OTP
Integrate in 15 minutes
Option A โ OTPless (no code entry)
import { createClient } from
'@emacrontechnologies/outreachagent';
const oa = createClient(
process.env.OUTREACHAGENT_API_KEY
);
// 1. Init session โ get wa_link
const { session_id, wa_link } =
await oa.magicLink.init();
// 2. Show wa_link as button:
// <a href={wa_link}>Continue
// with WhatsApp</a>
// 3. Poll every 3 seconds
const { verified, phone } =
await oa.magicLink.status(
session_id
);
// verified === true โ log in โ
Option B โ WhatsApp OTP (send code)
const { request_id } =
await oa.otp.send({
phone: '+919876543210',
expiry: 300,
length: 6,
});
// OTP delivered via WhatsApp
// (auto-falls back to SMS)Option B โ Verify code
const { verified } =
await oa.otp.verify(
request_id,
userEnteredOtp,
);
if (verified) {
// โ
Log the user in
} else {
// โ Invalid OTP
}npm install @emacrontechnologies/outreachagentWhy switch from SMS OTP?
Cost per OTP
SMSโน0.45โโน0.68
WhatsAppโน0.14โโน0.45
Delivery rate
SMS82โ88%
WhatsApp97โ99%
DLT registration
SMSRequired (days)
WhatsAppNot required
Get your API key and send your first OTP in 15 minutes
Free plan includes 500 OTPs/month. No credit card required.