Skip to main content
Send one-time passwords (OTPs) and magic links to your users via WhatsApp or SMS. Simple as that.

Quick Demo

Learn how to use Hypersender OTP API with Postman: Send OTP Guide | Generate OTP Link Guide

How It Works

Request Code

Generate a verification code and send it to your user via WhatsApp or SMS.You can customize the code length, character type (numbers, letters, or both), and expiration time. Works with WhatsApp chat IDs and phone numbers for SMS.

Validate Code

When your user enters the code, hit this endpoint to check if it’s correct.Works for both WhatsApp and SMS. We handle expiration checks and make sure each code only works once.

Generate Link (WhatsApp only)

Create a WhatsApp link with a prefilled verification message. Your backend receives the link and delivers it to the user; handle configured success or failure callbacks in your application.
This endpoint is WhatsApp only. The API reference does not define callback payload fields or a redirect parameter.

Quick Setup

Base URL:
Auth: Bearer token in the header
Endpoints:

Endpoints

Request Code

Send a verification code

Validate Code

Verify user’s code

Generate Link

Send a magic link
For a complete server-side request, response, and integration flow, see Generate WhatsApp OTP Link. Laravel users can follow the Laravel SDK guide or install the SDK.

Good to Know

  • Codes expire automatically (you set the TTL)
  • Each code works only once
  • Rate limiting is built-in
  • Works with both WhatsApp chat IDs and phone numbers for SMS
Keep your API keys secret. Don’t put them in client-side code.

Postman Collection

Download OTP Collection

Get the Postman collection to test the endpoints.

Next Steps

  1. Grab your API token and instance UUID from the dashboard
  2. Try sending a code with Request Code
  3. Validate it with Validate Code
That’s it. You’re ready to go.
Last modified on November 7, 2026