v1
latestOpenAPI 3.0.32026-07-26172157253.6 KBClient
Exchange reset password code for reset token
Step 1 of two-step password reset flow (only used when resetPasswordMethod is 'code'):
- Verify the 6-digit code sent to user's email
- Return a reset token that can be used to actually reset the password
This endpoint is not used when resetPasswordMethod is 'link', because the browser reset-link flow uses the emailed link token directly.
post/api/auth/email/exchange-reset-password-token
Request body
Example request
{
"email": "user@example.com",
"code": "123456"
}Response
Code verified successfully, reset token returned