WhatsApp OTP API

One API for SMS, WhatsApp, Telegram and Email. Send verification codes over WhatsApp with the same POST /otp/send call you use for SMS. By default the code arrives as a WhatsApp authentication message with a Copy code button, so your sign-up flow does not change.

Start for free Read the docs

Three ways to verify on WhatsApp

Template

Default

Your backend calls the API and the user receives a WhatsApp authentication message from OTP.com with the code and a Copy code button.

action_url Not returned completion "code", the user enters the code

Why Choose Our WhatsApp OTP Service?

One API, four channels

WhatsApp uses the same send, resend and verify calls as SMS, Telegram and Email. Under Template, the default mode, a code that does not get through moves to the next channel in your order with one resend.

Published per-country rates

Pay per verification sent, with no setup fee, no monthly minimum and no overage rate. Checking a code is free, and the messages in a link mode count as one verification.

Start without a sales call

New accounts get $3 in free credits with no credit card. Test keys run the full flow in the sandbox, so you can build the integration before spending anything.

How it works

01

Send

Call the endpoint you already use for SMS. Routing picks WhatsApp from the recipient and your channel order; nothing in the request names it.

POST /otp/send
{
  "recipient": "+905551234567"
}
02

Deliver

Under Template the code is pushed to the user. In the link modes the response includes an action_url that your app opens.

03

Verify

Read completion to know whether to ask for a code or wait for the inbound message.

WhatsApp OTP Pricing

WhatsApp OTP is priced per country, like SMS. You pay once per code sent at the published rate for that country. Verifying is free, however many attempts it takes.

No setup fee, no monthly minimum
Link modes count as a single verification
Sandbox sends are never charged
See rates for all 199 countries →
MONTHLY VOLUME
🇺🇸WhatsApp per verification $0.0041
Estimated monthly $41.00
SMS in the United States $0.0132 · $132.00/mo Difference 69% lower than SMS

Estimates only. Rates are the lowest available on a route we can deliver on; the final cost depends on the operator and your fallback chain.

Testing WhatsApp in the sandbox

With a test key nothing is delivered and nothing is charged.

Testing in sandbox →
Template
a sandbox send has no action_url, and the fixed code 123456 verifies directly, as on SMS.
Link modes
the send returns a sample action_url so you can see the shape, but the link is not live and the OTP stays pending. To finish the flow, move it to SMS with resend {"channel":"sms"} and verify with 123456.
Inbound approve
Inbound approve can only be tested with a live key, because in the sandbox completion is always "code".

Switching modes

Email info@otp.com with the mode you want and we switch your account. Nothing changes on your side beyond reading action_url and completion.

Frequently asked questions

How does WhatsApp OTP pricing work?

WhatsApp OTP is priced per country, like SMS. You pay once per code sent at the published rate for that country, starting from $0.0010 in Colombia; the United States is $0.0041. In the link modes, the inbound and outbound messages that carry one code still count as a single verification.

Do I pay for failed verifications?

Verifying is always free, however many attempts your user needs, and sends from a sandbox test key are free too. What you pay for is the send, so a code that does not arrive is still charged. A resend counts as a fresh verification at the rate of the channel it lands on.

Is there a free trial?

Yes. Every new account starts with $3 in free credits, with no credit card and no sales call. Test keys also run the full send and verify flow in the sandbox without delivering or charging anything.

No sales call

Ready to start for free?

Global OTP via SMS, WhatsApp, Telegram & Email. One API. Transparent pricing.