Sign In with OTP Link
Send OTP Link (Email)
This endpoint initiates an OTP link to be sent to the specified email or phone number using the provided channels.
POST
/
auth
/
v1
/
initiate
/
otplink
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.
Body
application/json
The URI to redirect the user after verification.
The email to which the OTP will be sent.
An array specifying the channels through which the OTP link will be sent.
Supported channels include EMAIL
.
Available options:
EMAIL
The expiration time for the OTP in seconds.
The length of the OTP, either 4 or 6.
Available options:
4
, 6
Additional metadata for the request.
Response
200 - application/json
The unique identifier for the OTP link request.
Was this page helpful?