Skip to main content
GET
Get Team KPIs

Get Team KPIs

Returns key performance indicators for every member of a team. Each entry includes uninvoiced charges, remaining booking and time credits, and total/monthly usage. Used on the team dashboard to give administrators a quick financial and usage overview.

Authentication

Requires a valid customer bearer token. The customer must be a team administrator of the specified team.

Path Parameters

teamId
number
required
Numeric identifier of the team. Returned as Id from GET /api/public/teams/my.

Query Parameters

_shape
string
Comma-separated list of field paths to include in the response. When provided, only the specified fields are returned — useful for reducing payload size. Supports nested paths using dot notation.

Response

Kpi
TeamKpi[]
required
Array of per-member KPI objects.

Per-Member Fields

Kpi[].CoworkerId
number
Numeric identifier of the team member.
Kpi[].CoworkerFullName
string
Display name of the team member.
Kpi[].CoworkerEmail
string
Email address of the team member.
Kpi[].UninvoicedProducts
number
Count of purchased products not yet invoiced.
Kpi[].UninvoicedExtraServices
number
Count of extra services not yet invoiced.
Kpi[].UnivoicedEventAttendees
number
Count of event attendee charges not yet invoiced. Note the typo (Univoiced) — it is preserved as-is in the API.
Kpi[].UnivoicedTimepasses
number
Count of time passes not yet invoiced. Note the typo (Univoiced) — it is preserved as-is in the API.
Kpi[].RemainingBookingCredit
number
Remaining booking credit balance.
Kpi[].RemainingTimeCreditMinutes
number
Remaining time credit in minutes.
Kpi[].RemainingTimeCreditDays
number
Remaining time credit in days.
Kpi[].RemainingTimeCreditWeeks
number
Remaining time credit in weeks.
Kpi[].RemainingTimeCreditMonths
number
Remaining time credit in months.
Kpi[].RemainingTimeCreditUses
number
Remaining time credit uses.
Kpi[].RemainingTimePassesMinutes
number
Remaining time pass minutes.
Kpi[].RemainingTimePassesCount
number
Remaining time pass count.
Kpi[].BookedTimeTotal
number
Total booked time in minutes across all time.
Kpi[].BookedTimeThisMonth
number
Total booked time in minutes for the current month.
Kpi[].CheckedTimeTotal
number
Total checked-in time in minutes across all time.
Kpi[].CheckedTimeThisMonth
number
Total checked-in time in minutes for the current month.

Examples

Fetch team KPIs

TypeScript Integration

Usage in Portal

Error Responses

401 Unauthorized
error
The customer is not authenticated or the session has expired.
404 Not Found
error
Team with the specified ID does not exist.