POST
/api/company/forgot-password/verifyVerify a password reset OTP
Verifies a password reset OTP sent to a company user's email address. Submit the account email and the 6-digit otp to receive a reset verification token. Use the returned token when completing the token-based password reset flow.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
The company account email address and its password reset OTP.
emailstringrequired
The company account's email address in email format.
otpstringrequired
The 6-digit password reset code sent to the email address.
200Returns a success indicator and the reset verification token.
resetTokenstringoptional
successbooleanoptional
400Returned when the OTP is invalid or expired.
Error handling
The email and otp fields are required, and email must use email format; otp must be the 6-digit code sent to that address. A 400 is returned when the OTP is invalid or expired.