POST /v1/auth/check-token

Check a password reset token is valid

application/json

Body

Check password reset token request body

  • token string Required

    Password reset token

  • email string Required

    User email address

Responses

  • 200 application/json

    successful operation

    Hide response attribute Show response attribute object
    • message Required
  • 422 application/json

    Validation error

    Hide response attributes Show response attributes object
    • statusCode number Required

      Status Code

    • messages array[string] Required

      List of error messages

    • exception object

      Exception

POST /v1/auth/check-token
curl \
 --request POST 'https://localhost/v1/auth/check-token' \
 --header "Content-Type: application/json" \
 --data '{"token":"********","email":"user@example.com"}'
Request examples
{
  "token": "********",
  "email": "user@example.com"
}
Response examples (200)
{}
Response examples (422)
{
  "statusCode": 42.0,
  "messages": [
    "string"
  ],
  "exception": {}
}