Skip to main content

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

ParameterTypeRequiredDescription
emailStringYesEmail used to request the reset OTP.
codeString | IntegerYesPassword-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."
}