Send OTP Link (Phone)
This endpoint initiates an OTP link to be sent to the specified phone number using the provided channels.
💡 What is an OTP Link?
💡 What is an OTP Link?
An OTP link is a message that contains a one-time password (OTP) and a magic link, allowing the user to either enter the OTP manually or simply click the link for quick authentication. It combines security and convenience in one message.
💡 How to verify an OTP Link?
💡 How to verify an OTP Link?
An OTP link can be verified in two ways:
If it’s an OTP
, use the OTP entered by the user or auto-read in the application and validate it using the Verify OTP API.
If it’s a Magic link
, extract the code
parameter from the redirect URI and use the Verify Code API to authenticate the user.
💡 What's Redirect URI?
💡 What's Redirect URI?
It is the URL where the user will be redirected after clicking the magic link. The Redirect URI serves as the endpoint for receiving the authentication code upon successful authentication. Know more
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 OTP LINK
to users outside India then please reach out
to us on support to activate it.
Body
Response
OTP link initiated successfully
The response is of type object
.