Users

Validate access token

Optional helper: checks whether an opaque Doorkeeper access token (the token string, not a JWT) is present, not revoked, and not expired. Use the same value you would send in Authorization: Bearer. For new clients, validating by calling a lightweight authenticated endpoint is often sufficient.

post/users/validate-access-token

Request

  • Base URL: https://api.purplegrain.com/api/v1
  • URL: https://api.purplegrain.com/api/v1/users/validate-access-token
  • Auth: none declared

Request body

tokenstring

Response

Success

validboolean
user_idstring uuid nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.