---
title: "Get Current Token"
method: GET
path: "/token"
tags: ["Account"]
---

# Get Current Token

`GET /token`

Retrieves a summary of the token used to make the API request. This endpoint can primarily be used to
debug permission issues with the API.

## Headers

- `X-Wistia-API-Version` string, required

## Response `200`

Successful response

- object — The token used to make the API request. This is primarily for debugging purposes. Sensitive data such as the token value is excluded.
  - `type` 'permanent' | 'expiring' | 'oauth', required — The type of token used.
  - `application` object, nullable, required — The application used by the token. Will be null if the token isn't an oauth token.
    - `name` string, required — The name of the application.
    - `scopes` string[], required — The scopes of the application. These may be different than the token scope.
  - `scopes` string[], required — The scopes of the token.
  - `name` string, nullable, required — The name of the token. This only applies to permanent tokens.
  - `expires_at` string, iso8601, nullable — When the token expires. A null token means it never expires.

## Other responses

- `401` — Unauthorized, invalid or missing token
- `500` — Internal server error

---

[API](https://skmtc.dev/wistia/apis/data-api.md) · [All operations](https://skmtc.dev/wistia/apis/data-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wistia/data-api/revisions/e40b3678d9d5/schema)
