---
title: "Access token metadata"
method: GET
path: "/token/info"
tags: ["GET token/info"]
---

# Access token metadata

`GET /token/info`

## Request

- The document declares no server URL.
- Auth: API key in header `X-API-Key`

Returns metadata for the bearer access token sent in the `Authorization` header. The raw token value is not repeated in the response body.

## Response `200`

Token is valid and not expired/revoked.

- OAuthTokenInfoSuccessResponse
  - `resource_owner_id` integer, nullable
  - `scope` string[]: List of token scopes as strings.
  - `expires_in` integer, nullable: Seconds until expiry from the time of the request, when expiring tokens are used.
  - `application` object, nullable
    - `uid` string, nullable
  - `created_at` integer: Unix time when the token row was created.

## Other responses

- `401`: Missing, unknown, expired, or revoked token.

---

[API](https://skmtc.dev/healthsherpa/apis/health-insurance-quotes-api.md) - [All operations](https://skmtc.dev/healthsherpa/apis/health-insurance-quotes-api/llms.txt) - [OpenAPI document](https://skmtc.dev/healthsherpa/apis/health-insurance-quotes-api/revisions/3cbfff4e5929?raw)
