Verify Forgot Password Endpoint
Checks a password-reset OTP before the client submits a new password.
- Endpoint:
/api/v1/auth/verify-forget-password - Method:
POST - Authentication: Partner token.
Payload Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
email | String | Yes | Email used to request the reset OTP. |
code | String | Integer | Yes | Password-reset OTP. |
Sample Payload
{
"email": "user@example.com",
"code": "482193"
}
Sample Response
{
"result": 1,
"message": "Success OTP Code"
}
This endpoint does not consume the OTP. Use the same code on Reset Password.
Sample Failure Response
{
"result": 0,
"message": "Invalid code & can you resend code."
}