Skip to main content
GET
Get Team Metrics

Get Team Metrics

Returns an array of monthly metric snapshots for a team. Each entry covers one calendar month and includes invoiced amounts, booking and check-in minutes, revenue, and outstanding charges. Used on the team dashboard to render trend charts.

Authentication

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

Path Parameters

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

Query Parameters

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

TeamMetric[]
required
Array of monthly metric snapshots, ordered chronologically.

Per-Month Fields

number
Unique identifier for the metric record.
string
ISO 8601 date representing the first day of the month this record covers.
string
ISO 4217 currency code for all monetary values in this record.
number
Total invoiced amount for the member in this month.
number
Total invoiced amount across the entire team in this month.
number
Total revenue for the team in this month.
number
Member’s checked-in time in minutes.
number
Total team checked-in time in minutes.
number
Member’s booked time in minutes.
number
Total team booked time in minutes.
number
Total number of bookings.
number
Total number of active membership plans.
number
Total other charges.
number
Number of time passes used.
number
Revenue from bookings.
number
Total unpaid amount.
number
Total unpaid NexKiosk charges.
number
Total amount currently due.
number
Unpaid event attendee charges.
number
Total charges not yet invoiced.
number
Uninvoiced miscellaneous charges.
number
Uninvoiced product charges.
number
Uninvoiced time pass charges.
number
Uninvoiced extra service charges.
string | null
ISO 8601 datetime of the next scheduled invoice, or null if none is scheduled.
number
Days since the member’s last portal access. Note the typo (Dasy) — it is preserved as-is in the API.

Examples

Fetch team metrics

TypeScript Integration

Usage in Portal

Error Responses

error
The customer is not authenticated or the session has expired.
error
Team with the specified ID does not exist.