Validate password reset token
Checks whether a forgot-password reset token (previously emailed via ForgotPassword) is
still valid - i.e. cryptographically valid, not expired and not already used - and whether the
original request came from the mobile app. Useful for a reset-password page to show an
appropriate message before the user attempts to submit a new password.
Permissions: All users.
Headers
- Type: stringD
C Key The Integration Key generated for API Authentication by the PAR OPS support team as part of the integration/partnership process.
Body·
Login and reset token to validate.
- Type: string | nullLogin
- Type: string | nullToken
Responses
- 400
Token is not valid or already used.
Request Example for post/v2/Account/ValidationTokenInfo
curl /v2/Account/ValidationTokenInfo \
--request POST \
--header 'Content-Type: application/json-patch+json' \
--header 'DCKey: YOUR_SECRET_TOKEN' \
--data '{
"Login": null,
"Token": null
}'
{
"IsValid": true,
"IsMobile": true
}