WhatsApp OTP & verification

Deliver login codes and verification messages over WhatsApp — cheaper than SMS, with better delivery in many regions.

The problem

SMS OTP is expensive, varies wildly by country, and can be slow or undelivered. For users who live in WhatsApp, an SMS code feels out of place.

The solution

Generate the code in your backend and send it over WhatsApp with one API call. You keep full control of code generation and expiry; Vesper just delivers the message reliably on a channel users trust.

How it works

1

Generate a one-time code in your backend (you own the logic).

2

Send it via the Vesper text endpoint to the user's number.

3

Track delivery with the message.delivered webhook event.

4

Verify the code your user enters — entirely on your side.

otp-dogrulama
curl -X POST https://api.vespergateway.com/api/v1/messages/send/text \
  -H "x-api-key: vsp_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "session": "auth-line",
    "to": "905551234567",
    "text": "Your Vesper verification code: 482915 — valid for 5 minutes. Do not share it with anyone."
  }'

Why Vesper

  • Flat pricing — predictable cost per month, not per SMS
  • Delivery receipts so you know the code arrived
  • You control code generation, expiry, and rate limits
  • Works alongside your existing SMS fallback

Send your first verification code

Create an account and deliver OTPs over WhatsApp in minutes.

Send your first verification code