Userverse provides an OTP-based password reset flow. When a user forgets their password, they request a one-time PIN by email and then submit it alongside their new password to complete the reset.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.
The password reset flow requires a working mail server configuration so that OTP emails can be delivered. See configuration for the required
email.HOST, email.PORT, email.USERNAME, and email.PASSWORD settings.Reset flow
Request a password reset
Send a Userverse looks up the account and sends a one-time PIN to the provided email address. A successful response returns
PATCH request to /password-reset/request with the user’s email address as a query parameter. No authentication is required.202 Accepted.Receive the OTP
The user receives an email containing the one-time PIN. They will use it in the next step alongside their new desired password.
Validate the OTP and set a new password
Send a A successful response returns
PATCH request to /password-reset/validate-otp with:- HTTP Basic Auth — use the user’s email as the username and the new desired password as the password.
one_time_pinquery parameter — the OTP from the email.
202 Accepted confirming the password has been changed.Endpoint reference
| Method | Path | Auth | Description |
|---|---|---|---|
PATCH | /password-reset/request | None | Sends an OTP to the given email address. |
PATCH | /password-reset/validate-otp | Basic Auth | Validates the OTP and sets the new password. |
Related guides
User management
Full user lifecycle: register, log in, and update your profile.
Email verification
Activate a new account by verifying the user’s email address.