UUniFlowWHATSAPP API

Login and verification codes on WhatsApp

WhatsApp OTP API

Send one-time passwords on WhatsApp with a simple REST API: approved authentication templates, code generation and verification, sandbox keys and per-message pricing.

OTPs on WhatsApp arrive fast, show your business name and avoid SMS DLT template hassles. Authentication messages are one of Meta's cheapest categories.

Our API can generate and check the code for you, or send a code you made yourself.

What you get

Two endpoints

POST /v1/otp/send and /v1/otp/verify - we create, hash and check the code (3 tries, 5 minutes).

Learn more →

Sandbox keys

Test the whole flow without sending or paying.

Learn more →

Delivery webhooks

Signed webhooks for delivered, read and failed.

Learn more →

Approved templates

Authentication templates with copy-code buttons from our library.

Learn more →

Prepaid, no minimum

Pay per OTP from your wallet; failures refunded.

Learn more →

Code samples

Node, PHP and Python recipes in the developer guides.

How to start

  1. 1

    Connect a number and approve an Authentication template

  2. 2

    Create an API key

  3. 3

    Call /v1/otp/send

  4. 4

    Verify with /v1/otp/verify

Full checklist with what Meta needs: Get started.

Questions

How fast is a WhatsApp OTP?

Usually a few seconds. If the customer isn't on WhatsApp the message fails and you are refunded, so you can fall back to SMS.

Can I send my own code?

Yes, send the Authentication template with /v1/messages and your code as the variable.

Where are the docs?

On our Developers page, with a Postman collection.

More solutions

Go live on WhatsApp this week

Sign up, connect your own number in a few clicks and send your first campaign. No setup fee, no card for the trial.