Set New Password (via Reset Token)
Set a new password using a password reset token. Also used after email confirmation to set the initial password.
Authentication: Public — token-based.
Request body:
token(required) — Password reset token from the reset email or confirmation flowpassword(required) — New passwordpassword_confirmation(required) — Must match the new password
Response: Same as a successful login:
token— JWT auth token (user is auto-logged in)location— Redirect URL- the member’s profile fields at the top level of
data(id,first_name,last_name,name,initials,email,avatar_url,status,bio,phone,website, social handles,otp_enabled,passkey_registered,last_seen_at,created_at,updated_at, …) — there is no nesteduserobject
Side effects:
- Updates the user’s password
- Sets user status to “active”
- Clears the
reset_passwordflag - Triggers a
UserLoginevent - Creates a new session
Errors:
401— Invalid or expired reset token422— Password validation failed (e.g. too short, confirmation mismatch)
Request
This endpoint expects an object.
token
password
password_confirmation
Response
OK