WhatsApp OTP API
Deliver one-time passwords where users actually read them. Integrate OTP into signup, login, and transaction confirmation flows.
How it works
Generate the code in your app, then call FlareSend to deliver it on WhatsApp. Works with Node, PHP, Python, Laravel, and any HTTP client.
curl -X POST https://api.flaresend.com/send-message \
-H "Authorization: Bearer YOUR_INSTANCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"recipients": ["2547xxxxxxx"],
"type": "text",
"text": "Your FlareSend code is 482901. It expires in 5 minutes."
}'
FAQ
FlareSend is great for product auth and SME verification. Regulated industries should review compliance requirements and may need official Meta Cloud API.
Typical delivery is near real-time when the linked WhatsApp session is online. Keep retries and expiry logic in your app.
Messages come from your linked WhatsApp number. For best delivery, keep content short and avoid spammy patterns.
Start a free 4-day trial. Scan a QR code, get an API key, and send your first message in minutes.
Get started free