Skip to main content
GET
Get gym traffic

Authorizations

X-API-Key
string
header
required

Query Parameters

location
string

Your own id for the location. Leave it out for the whole organization (by day only).

Required string length: 1 - 255
Pattern: ^[A-Za-z0-9._:-]{1,255}$
from
string<date>
required

The first day of the range, a Monday. Figures are reported for whole weeks.

to
string<date>
required

The last day of the range, a Sunday, at most 13 weeks after from and at least two days ago.

bucket
enum<string>
default:day

day for check-ins by local date, hour for check-ins by local date and hour.

Available options:
day,
hour

Response

bucket
enum<string>
required
Available options:
day,
hour
from
string<date>
required
location
string | null
required

Your own id for the location, or null for the whole organization.

min_group_size
number
required

The fewest teammates a figure may describe. A smaller group is withheld. The same for every organization.

time_zone
string | null
required

The location's time zone, which its dates and hours are in. Null for the whole organization, where each visit counts on its own location's date.

to
string<date>
required
weeks
object[]
required

One entry per week, Monday to Sunday. Each week is reported on its own; there is no total across weeks.