Reset Password
Auth Endpoints
Reset Password
Reset a user’s password using a token from the reset email
POST
Reset Password
Sets a new password for a user by validating a reset token received via email. On success, all existing refresh tokens for the user are invalidated, forcing re-authentication.
Returned when the token does not match any user record or the token has
expired (1 hour TTL).
Body Parameters
The raw reset token from the password reset email link. The server hashes
this token internally before comparing it to the stored hash.
The new password to set.
Response
true on success.Confirmation message:
"Password has been reset successfully."Error Responses
Invalid or Expired Token — 400
Invalid or Expired Token — 400

