# Get Token Information


Endpoint: POST /token-info
Version: 3.30.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Request body:

  - `application/json` (unknown)
    The parameters to get information about a token.

## Request fields (application/json):

  - `token` (string, required)
    API Key or JWT token for fetching information
    Example: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIyIiwiaXNzIjoiYXBpZ3ctc2VydmljZXMtYXBwIiwiaWF0IjoxNjYwMDI1MTczLCJlbWFpbCI6ImppdGVuZHJhLm1hdGh1ckBkZWxwaGl4LmNvbSIsInVzZXJuYW1lIjoidXNlci00MjciLCJleHAiOjE2NjAxMTE1…

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `active` (boolean)
    Flag to identify if the token is active.

  - `token_type` (string)
    Type of the token.

  - `account_id` (integer)
    Numeric ID of the account.

  - `first_name` (string)
    First name for the Account.

  - `last_name` (string)
    Last name for the Account.

  - `email` (string)
    Email for the Account.

  - `username` (string)
    The username or logical name for the Account.

  - `ldap_principal` (string)
    The LDAP Principal for the Account.

  - `exp` (integer)
    Seconds duration after which the token will expire.

  - `last_activity_time` (string)
    Last activity time of this token in UTC timezone.

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `error` (string)
    Error code for any failure

  - `error_description` (string)
    Error description for any failure

