OAuth2 token info endpoint

Validates an access token and returns its metadata: client_id, scope array, and exp (expiration timestamp). Returns an OAuth error if the token is invalid or expired.

Query Parameters
  • token
    Type: string
    required

    Access token

Responses
  • application/json
  • 400

    Invalid request

  • 401

    Unauthorized

  • application/json
  • application/json
  • application/json
Request Example for get/auth/oauth/token-info
curl 'https://test.boost.space/api/auth/oauth/token-info?token=' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "client_id": "string",
  "scope": [
    "string"
  ],
  "exp": 1
}