Tell if a password reset token is valid for an email address. The reset page asks before it shows the password form. The route does not use the token and does not make it last longer. The answer is the same if the address is unknown or if the token is wrong, expired or used. You do not need to log in to use this route.
POST
/auth/reset-password/check
curl \
--request POST '/api/auth/reset-password/check' \
--header "Content-Type: application/json" \
--data '{
"email": "admin@example.com",
"token": "string"
}'
Request examples
{
"email": "admin@example.com",
"token": "string"
}
Response examples (200)
{
"valid": true
}