Ready to test this endpoint live?
API Reference/Authentication & Users/post

Send Login Email OTP

Sends a 6-digit one-time login verification code to a registered user's email address. Use this endpoint to request or resend an email verification OTP for login. Enforces a 60-second cooldown and 10-minute OTP expiration window.

post
/auth/login/send-otp
Public Access (No Auth Required)
This is a public endpoint. No authorization header, API key, or session cookie is required to execute requests.

Request Body Schema

BODY REQUIRED
string(email)
REQUIRED

Registered user's account email address.

string(password)
optional

Optional account password for pre-validation.

Responses & Status Codes (6)

Click status code to preview
200Successful Response
Login verification code sent to email successfully.
Sample Response Body:
{
  "success": true,
  "message": "Login verification code sent to your email."
}
API Documentation - RevoChat