People & profiles
Get My Team Summary
Returns manager dashboard numbers: capped direct reports, subtree count, out-today, upcoming leave and pending review counts.
GEThttps://api.toku.com/hris/get-my-team-summary
Not available to API keys.
curl --request GET \
--url 'https://api.toku.com/hris/get-my-team-summary' \
--header 'Authorization: Bearer <token>'200 response
{
"directReports": [],
"directReportCount": 0,
"subtreeCount": 0,
"outToday": [],
"upcomingThisWeek": [],
"pendingTimeOffCount": 0,
"pendingExpenseCount": 0
}Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is an access token from a Toku sign-in. See Authentication in the API reference.
Response
200Successful response
directReportsany[]directReportCountintegersubtreeCountintegeroutTodayany[]upcomingThisWeekany[]pendingTimeOffCountintegerpendingExpenseCountinteger400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
429Response 429
Was this page helpful? Suggest edits