get https://api.gusto-demo.com/v1/token_info
Returns scope and resource information associated with the current access token.
Response
Returns scope and resource information associated with the current access token.
xxxxxxxxxx
curl --request GET \
--url https://api.gusto-demo.com/v1/token_info \
--header 'X-Gusto-API-Version: 2024-03-01' \
--header 'accept: application/json'
xxxxxxxxxx
11{
"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"
}
}