Skip to main content
Generate a WhatsApp OTP link with the Hypersender API in Postman. The walkthrough below shows the request; use the Generate WhatsApp OTP Link reference for the response shape, implementation flow, and security notes. This endpoint is WhatsApp only — it returns a whatsapp_link that opens WhatsApp with a pre-filled verification message.

What you need

  • A Hypersender account with an active instance.
  • Your API token and instance UUID from the dashboard.
  • Postman installed, or the OTP Postman collection imported.
  • A WhatsApp number connected to your instance.
  • Public HTTPS callback URLs on your server if you want to confirm the result server-to-server.

Request

POST https://app.hypersender.com/api/otp/v2/{instance}/generate-link
Use the recipient’s WhatsApp chat ID for chatId. Set the lifetime in seconds with expires. The API schema does not specify a default. The message object customizes the verification messages. The callback URLs are optional; the API reference does not specify callback payload fields or a signing scheme.

What happens next

  1. In Postman, check for success: true. Copy data.whatsapp_link from the response and note data.expires_at. The request starts in the pending state.
  2. Open the link on a test device and send the prefilled WhatsApp message. In production, your backend can associate the pending request with the intended user and your app can present the link to that user.
  3. If you configured callbacks, check which endpoint received the result. Test success, failure, and expiry before using the flow for sign-in.
The public API specification does not define a callback payload or signature. Confirm how to authenticate callbacks for your account before using one to authorize sign-in.

Troubleshooting

Check the Authorization header, and regenerate the token in the dashboard if it was rotated.
Check that your HTTPS endpoint is publicly reachable and inspect your own server logs for the test request.

Next steps

Generate OTP Link reference

Full parameter reference for this endpoint.

OTP API overview

See how the code and link flows fit together.

Create your Hypersender account

Get your API token and instance UUID, connect a WhatsApp number, and generate your first login link.

Full API integration guide

Review the response, server example, and error handling.

Use Laravel

Generate an OTP link with the Laravel SDK.
Last modified on November 7, 2026