API tokens
Check the token you authenticate with. Tokens themselves are created, regenerated and revoked in the dashboard (Team → API tokens) by owners and managers, never through the API.
Get the current API token
Returns the token that authenticated this request: its name, abilities, team and expiry.
Any valid token may call it, whatever its abilities, so SDKs and the Terraform provider use
it to check credentials before doing anything else. Revoked and expired tokens get 401.
Get the current API token › Responses
The token that authenticated the request.
idToken ID
nameName given to the token when it was created
last_fourLast four characters of the token, to tell tokens apart
abilitiesWhat the token may do. Each endpoint lists the ability it requires
The team the token acts for
expires_atWhen the token stops working; null if it never expires
created_atWhen the token was created