Documentation Index
Fetch the complete documentation index at: https://mintlify.com/SoftwareVerse/userverse/llms.txt
Use this file to discover all available pages before exploring further.
Request password reset
PATCH/password-reset/request
Sends a one-time PIN (OTP) to the user’s email address to begin the password reset flow. No authentication is required.
Request
The email address of the account for which to initiate a password reset.
Response
Returns a202 Accepted response when the OTP is dispatched.
Human-readable status message. Example:
"OTP sent to email"Always
null for this endpoint.Error codes
| Code | Description |
|---|---|
400 | Malformed or missing email address. |
404 | No account found for the provided email. |
500 | Internal server error. |
Example
Validate OTP and reset password
PATCH/password-reset/validate-otp
Validates the OTP sent to the user’s email and, if correct, updates the password to the one supplied via Basic Auth.
This endpoint uses HTTP Basic Auth. Provide the user’s email as the username and the new desired password as the password. The OTP is passed as a query parameter.
Request
Basic Auth credentials encoded as
Base64(email:new_password). The password in this header becomes the new account password if the OTP is valid.The OTP code received in the password reset email.
Response
Returns a202 Accepted response on successful password change.
Human-readable status message. Example:
"Password changed successfully"Always
null for this endpoint.Error codes
| Code | Description |
|---|---|
400 | OTP is invalid, does not match, or has expired. |
401 | Missing or invalid Basic Auth credentials. |
404 | No account found for the provided email. |
500 | Internal server error. |