API tokens
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/token
Request
- Base URLhttps://api.spectate.net/v1
- AuthHTTP bearer
Response
The token that authenticated the request.
Example response
{
"name": "Terraform",
"last_four": "a1B2",
"team": {
"name": "Acme"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.