Send Magic link (Phone)
This endpoint initiates a Magic Link to be sent to the specified phone number using the provided channels.
This API is accessible exclusively to users subscribed to the OTPless Pro plan. Ensure you have an active OTPless Pro Plan subscription to utilize this feature.
If you need to send the SMS MAGIC LINK
to users outside India then please reach out
to us on support to activate it.
Body
The URL to which the user will be redirected after successful authentication.
The phone number to which the Magic Link will be sent, including the country code.
An array specifying the channels through which the Magic Link will be sent.
Supported channels include WHATSAPP
, SMS
, and VIBER
.
If multiple channels are provided, a smart authentication flow is activated,
which automatically falls back to the next channel in the array if the delivery
of the Magic Link fails or if the user does not verify within the expected time frame.
WHATSAPP
, SMS
, VIBER
The expiration time for the Magic Link in seconds.
Additional metadata for the request.
Response
The unique identifier for the Magic Link request.
Was this page helpful?