Send OTP codes and magic links via Hypersender using Laravel.
Use the Hypersender OTP service from Laravel to send verification codes or passwordless links over WhatsApp (and SMS for codes), then validate user submissions securely using the packaged SDK methods.
What you can do
Request OTP codes: Generate a one-time code and deliver it over WhatsApp.
Validate codes: Check user-entered codes against the active OTP.
Generate magic links: Create WhatsApp links that complete verification without typing.
Prerequisites
Laravel app with the Hypersender Laravel package installed (Installation).
Hypersender API token and Instance UUID from the dashboard.
Laravel HTTP client available (Illuminate\\Support\\Facades\\Http).
Base URL and auth
Base URL: https://app.hypersender.com/api/otp/v2Auth: Authorization: Bearer YOUR_API_TOKENInstance: X-Instance-UUID: YOUR_INSTANCE_UUID