Account

Get Current 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.

An expiring access token can also be used. The response then describes the expiring token itself, its scopes and expiry, not the API token or contact that created it.

get/token

Request

  • Base URL
    https://api.wistia.com/modern
  • URL
    https://api.wistia.com/modern/token
  • Auth
    HTTP bearer

Headers

X-Wistia-API-Versionstring required

Response

Successful response

type'permanent' | 'expiring' | 'oauth' required

The type of token used.

scopesstring[] required

The scopes of the token.

namestring nullable required

The name of the token. This only applies to permanent tokens.

expires_atstring iso8601 nullable

When the token expires. A null token means it never expires.

Changes

No recorded changes to this operation across all 2 revisions of this API.