POST
/api/company/forgot-passwordRequest a password reset OTP
Requests a one-time password for resetting a company user's password. Supply the account email to send a 6-digit OTP to that address. Use the OTP verification endpoint before submitting a password reset.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
The email address for the company account that needs a password reset.
emailstringrequired
The company account's email address in email format.
200Returns a success indicator and a message confirming that the OTP was sent.
messagestringoptional
successbooleanoptional
404Returned when the supplied email address is not associated with an account.
429Returned when the request exceeds the allowed rate.
Error handling
The email field is required and must use email format. A 404 is returned when the email is not found, and a 429 when the request is rate limited.