Get info about the current access token

GET {{baseUrl}}/v1/token_info

Returns scope and resource information associated with the current access token.

HEADERS

KeyDatatypeRequiredDescription
X-Gusto-API-VersionstringDetermines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.
Acceptstring

RESPONSES

status: OK

{"scope":"companies:read companies:write employees:read","resource":{"type":"Company","uuid":"5eca5127-6048-43ad-91ee-b56a0c34bc85"},"resource_owner":{"type":"CompanyAdmin","uuid":"367871c2-3f70-4874-adc9-f1736647e8e1"}}