---
title: "Get token information"
method: GET
path: "/auth/token"
tags: ["Authentication"]
---

# Get token information

`GET /auth/token`

Returns metadata about the current access token including type, scopes, expiration date, and PAT-specific information if applicable. For PAT tokens, returns full metadata (id, name, preview, created/expiration dates, last used). For OAuth tokens, returns token type and scopes only.

## Response `200`

Token information

- TokenInfo
  - `token_type` 'pat' | 'oauth', required — Type of the token
  - `scopes` string[], required — List of scopes granted to this token
  - `id` string, nullable — Token ID (PAT only)
  - `name` string, nullable — Token name (PAT only)
  - `preview` string, nullable — Token preview string (PAT only)
  - `created_date` integer, nullable — Creation timestamp in milliseconds (PAT only)
  - `expiration_date` integer, nullable — Expiration timestamp in milliseconds (PAT only)
  - `last_used` integer, nullable — Last used timestamp in milliseconds (PAT only)

## Other responses

- `401` — Error object in case there's a problem with the authorization
- `500` — Error object in case there's a server error

---

[API](https://skmtc.net/fax/apis/fax-plus-rest-api.md) · [All operations](https://skmtc.net/fax/apis/fax-plus-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fax/fax-plus-rest-api/revisions/c1afc85d2c15/schema)
