Skip to main content
GET
Activity report for a period

Authorizations

Authorization
string
header
required

Organization-scoped bearer credential: a customer API key (1club_sk_live_...) or an MCP OAuth access token.

Query Parameters

from
string<date>
required

First day of the period (YYYY-MM-DD), on the organization's own clock.

to
string<date>
required

Last day of the period, inclusive.

clubId
integer

Only this club's bookings, check-ins and capacity.

compare
enum<string>
default:previous_period

What to compare the period with.

Available options:
previous_period,
previous_year,
none
granularity
enum<string>

How trend buckets the period. Chosen from the period's length when omitted.

Available options:
day,
week,
month

Response

The report

period
object
timezone
string

The clock the days are read on: the organization's timezone, as on the admin analytics dashboards.

totals
object
comparison
object | null
trend
object
byWeekday
object[]

The average day of each weekday in the period, Sunday first.