Resend OTP User
Resend the OTP verification code to user's email.
Endpoint
Authentication
Not required (public endpoint)
Request Body
Parameters
| Field | Type | Required | Description | Validation |
|---|---|---|---|---|
email |
string | Yes | User's email address | Valid email format |
Response
Success (200 OK)
A new OTP code is generated and sent to the user's email.
Error Responses
User Not Found (404)
Example Request
curl -X POST "https://api.luxmart.site/v1/accounts/resend/otp/user/" \
-H "Content-Type: application/json" \
-d '{
"email": "user@example.com"
}'
Notes
- A new 6-digit OTP is generated and sent
- Previous OTP is replaced with the new one
- OTP is sent asynchronously via email