Skip to main content

Send One-Time Password (OTP)

This endpoint is used to send a one-time password (OTP) to the user's email address. The OTP is used to authenticate the user.

Endpoint Information

  • Method: POST
  • URL: /v1/auth/otp/send
  • Authentication Required: No

Request body

The request body must include:

  • email – A string representing the user's email address

Example request

{
"email": "user@example.com"
}

Responses

✅ 200 – Success

{
"message": "OTP sent successfully",
}