Hypersender
FeaturesOTPLaravel SDKUse casesPricingFAQsDocsBlog
Sign InGet Started
Hypersender

Product

  • Features
  • Use cases
  • Pricing
  • WhatsApp API pricing
  • Laravel SDK
  • Docs

Resources

  • FAQ
  • Blog
  • Discord
  • WhatsApp

Legal

  • Terms and Conditions
  • Privacy Policy

© 2026 Hypersender. All rights reserved.

Featured on LaunchAFGET IT ONGoogle Play
All use cases

Hypersender uses

OTP verification API for WhatsApp and SMS

Use the Hypersender OTP API to verify users at sign-in, during account recovery, or before a sensitive action. Choose a WhatsApp or SMS code when users should enter it in your app. Choose a WhatsApp verification link when you want users to confirm through WhatsApp without typing a code.

Start with HypersenderView pricing
One-time passcode verification flow connecting an app and a phone

How this workflow fits

Add verification where it matters

An OTP step can confirm access to a phone number during account creation, help recover an account, or approve a sensitive action. Decide which actions require verification and what your application should do after a successful or unsuccessful attempt.

  • Explain why the customer is being asked to verify.
  • Set an expiry period appropriate to the action.
  • Apply limits to requests and validation attempts.

Choose an OTP code or a WhatsApp verification link

With a code, the user receives it over WhatsApp or SMS, enters it in your app, and your backend validates it. With a link, the user opens WhatsApp and sends the prefilled message. Your backend handles the verification outcome through the configured callbacks.

  • Choose SMS codes when your users need a flow that works without WhatsApp.
  • Choose WhatsApp links when users can switch to WhatsApp to verify.
  • Keep credentials short-lived and out of application logs.

Keep authentication under your control

Hypersender provides OTP delivery and validation capabilities; your application remains responsible for account security, session creation, abuse controls, and user recovery. Review the endpoint requirements and test edge cases such as expired codes and repeated requests.

  • Never treat message submission alone as successful verification.
  • Choose WhatsApp or SMS deliberately for your integration.
  • Automatic fallback between channels is not implied.

Example: generate a WhatsApp OTP link

Call generate-link to create a passwordless WhatsApp verification link. The response includes a prefilled WhatsApp link; present it in your app or another channel so the user can open WhatsApp and complete the verification flow.

Generate link request

http
POST https://app.hypersender.com/api/otp/v2/{instance}/generate-link
Authorization: Bearer <token>
Content-Type: application/json
 
{
  "expires": 1800,
  "name": "Hypersender",
  "message": {
    "prompt": "Open this link to sign in",
    "success": "Sign-in confirmed",
    "failed": "Sign-in failed",
    "expired": "This link has expired"
  },
  "callback": {
    "success": "https://yourdomain.com/callback/success",
    "failed": "https://yourdomain.com/callback/failed"
  }
}

Example API response

json
{
  "success": true,
  "message": "OTP link request created successfully",
  "data": {
    "uuid": "<otp_uuid>",
    "code": "<generated_code>",
    "status": "pending",
    "otp_type": "link",
    "expires_at": "<ISO-8601 timestamp>",
    "whatsapp_link": "https://wa.me/<number>?text=<prefilled_verification_message>"
  }
}

The returned code and WhatsApp recipient are redacted. Treat generated verification data as sensitive, respect the configured expiry, and handle success and failure using your callback URLs.

See the OTP link endpointSee the OTP request-code endpointSee the OTP validation endpoint

Start Sending WhatsApp and SMS Messages Today

Try WhatsApp and SMS messaging free for 14 days, with up to 100 messages a day.

Get Started