GET /tokens/token_info

This method allows users to retrieve the whole token info

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • result string Required

      Operation result

      Default value is Token Obtained.

    • token object Required

      Queried token

      Hide token attributes Show token attributes object
      • exp string
      • iat string
      • sub string
  • 401 application/json
    Hide response attributes Show response attributes object
    • access_denied string
    • http_ressponse integer
  • default
GET /tokens/token_info
curl \
 -X GET https://api.h2olinks.com/tokens/token_info \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "result": "Token Obtained",
  "token": {
    "exp": "string",
    "iat": "string",
    "sub": "string"
  }
}
Response examples (401)
{
  "access_denied": "string",
  "http_ressponse": 42
}