Generate an OTP link for passwordless authentication where users click a WhatsApp link to verify their identity.
code and whatsapp_link



1800 seconds (30 minutes).
{link} placeholder for the actual login/verification URLuuid: Unique identifier for this OTP link requestcode: Short verification code (e.g., “RDYFQUBX”)chat_id: The recipient’s chat IDstatus: Current status (pending, verified, failed, or expired)otp_type: Type of OTP (always link for this endpoint)expires_at: ISO 8601 timestamp when the link expirescreated_at: ISO 8601 timestamp when the link was createdwhatsapp_link: The complete WhatsApp link to send to the userwhatsapp_link follows this format:
whatsapp_link to your user through:
{link}: Replaced with the actual authentication/login URL{name}: Your application name{code}: The verification codeBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Hypersender instance UUID