Skip to main content
Check a password-reset token

Query Parameters

resetToken
string
required

The token as it stands in the password-reset link that was mailed out.

Response

Returns whether the token can still be used, the e-mail address it was issued for and when it expires.

email
string

E-mail address the reset was asked for, so the form can show whose password is about to be set.

Example:

"john.doe@example.com"

expires
string<date-time>

When the token stops being accepted, counted from the moment the reset was requested. A token that was already used or withdrawn is invalid before this moment.

valid
boolean

Whether what was checked - a token, a name, an account - passed the check. A negative answer is an outcome, not a failure: the request itself succeeded.

Example:

true