Create a passwordless flow: generate a WhatsApp link that pre-fills a message with a unique code. When the user taps Send in WhatsApp, you get the verification event via callbacks. Use the Laravel SDK method to keep things concise.Documentation Index
Fetch the complete documentation index at: https://docs.hypersender.com/llms.txt
Use this file to discover all available pages before exploring further.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| expires | int | no | TTL in seconds (default 1800). |
| name | string | no | Your app name displayed in messages. |
| message.prompt | string | yes | Text pre-filled in the WhatsApp link. |
| message.success | string | yes | Reply when verification succeeds. Use {link} placeholder. |
| message.failed | string | yes | Reply when verification fails. |
| message.expired | string | yes | Reply when the link expired. |
| callback.success | string | no | Webhook URL for successful verification. |
| callback.failed | string | no | Webhook URL for failed verification. |
Generate the link
whatsappLink via email, SMS, or in-app notification. When the user clicks it, WhatsApp opens with the prompt + code. Handle callbacks to finalize the login.
