Send OTP to Email for Authentication
POST /user/send-otp/
Use the POST /user/send-otp/
endpoint to send a One-Time Password (OTP) to the user's email for authentication purposes.
Parameters
Request Body
Field
Type
Description
data
Object
Request body containing the user's email address.
email
String
The email address to send the OTP to. Minimum length: 1.
Responses
Response Content Type
Code
Description
201
OTP successfully sent to the provided email.
Example Response
{
"email": "user@example.com"
}
Last updated