Boxly

Box API

Version 1 · Italiano · Français · OpenAPI spec: api.boxly.run/api-docs/public.json?lang=en (static copy)

Box API lets a gym automate from its own systems (scripts, Zapier, Make, n8n, management software, turnstiles) what it does in the panel today: create members, assign memberships, record payments, book classes on behalf of members, mark attendance, write the workout of the day, update the Wod TV, manage events. They are the same APIs the panel uses, opened with a key that only works for your gym and only for the functions you choose, one by one.

Enabling access

API access is an option Boxly switches on per gym: write to [email protected] saying what you want to connect. While it is off, the section does not appear in the panel and every key answers 403 api_disabled. If it is switched off later, all keys stop working immediately but are not deleted: switching it back on makes them valid again, except expired or revoked ones.

Keys and authentication

Keys are created in the panel under Settings → Box API (owners and admins only). For each key you choose a name, a mandatory expiry (30, 90, 180 or 365 days, or a custom number of days up to 3650, i.e. 10 years: there is no "never") and the allowed APIs. The key is shown once: copy it right away. You can revoke it at any time, with immediate effect. The list shows prefix, permissions, who created it and when, expiry, last use and status (active, expired, revoked).

Every call carries the key in the Authorization header and uses the same routes as the panel, all under /gyms/{gym_id}/…: your gym id is shown in the Box API section of the panel (in the ready-to-copy example).

Authorization: Bearer bx_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

A key works for one gym only: a different gym_id in the path answers 403, and no route without a gym_id (user profile, personal notifications, the Boxly subscription, the Platform area) can be reached with a key. The key acts with the current role of the person who created it (owner or admin, never more) and works as long as that person is still an active owner or admin of the gym: if they are blocked, moved to another role or delete their account, the key answers 401 and is revoked. Every call stays in the activity log with the key id, who created it, method, path, outcome and IP.

Treat the key like a password: keep it out of web pages, published apps and repositories. If you lose it, revoke it and create a new one. Grant only the APIs you really need and pick the shortest expiry that works for you.

Per-API permissions

Each API in the catalogue has an identifier (for example create_member): that is the permission to grant to the key. In the panel you pick APIs one by one, searching by name or path, grouped by area, with a "select the whole area" shortcut. Calling an API that was not granted answers 403 missing_scope naming the missing permission; an API outside the catalogue answers 403 forbidden. Event APIs can only be granted when events are enabled for the gym, Wod TV APIs only when the Wod TV is enabled.

Deliberately outside the catalogue: changing a member's role or status, creating or editing plans, everything about medical certificates, creating, editing, cancelling or restoring a single class, closures.

Quick start

Create a key with get_gym, create_member, create_membership, list_plans, list_schedule, book_for and set_attendance, then (replace GYM_ID with your gym id):

1. Check the key. Returns the gym's data; my_role is owner.

curl https://api.boxly.run/gyms/GYM_ID \
  -H "Authorization: Bearer bx_live_…"

2. Create a member. Without an email you get a member "without the app"; with an email, the address must be free (if it already has a Boxly account the member joins from the app and you approve the request with approve_join_request) and the member immediately gets an email with the link to choose a password and sign in to the app ("send_invite": false to skip it, send_member_access_link to send it later). The member id is user_id in the response.

curl -X POST https://api.boxly.run/gyms/GYM_ID/members \
  -H "Authorization: Bearer bx_live_…" \
  -H "Content-Type: application/json" \
  -d '{"first_name": "Mario", "last_name": "Rossi", "email": "[email protected]", "phone": "333 1234567"}'

3. Assign a plan (plan ids from GET /gyms/GYM_ID/plans), recording the payment too.

curl -X POST https://api.boxly.run/gyms/GYM_ID/members/USER_ID/memberships \
  -H "Authorization: Bearer bx_live_…" \
  -H "Content-Type: application/json" \
  -d '{"plan_id": "PLAN_ID", "payment": {"amount_cents": 5000, "method": "pos"}}'

4. Find the class and book. The schedule accepts YYYY-MM-DD dates in the gym's time zone; the booking skips windows and limits like staff would, but not capacity. Once the class has started the member is marked as attended right away (they are at the gym).

curl "https://api.boxly.run/gyms/GYM_ID/schedule?from=2026-11-03&to=2026-11-04" \
  -H "Authorization: Bearer bx_live_…"

curl -X POST https://api.boxly.run/gyms/GYM_ID/schedule/OCCURRENCE_ID/bookings \
  -H "Authorization: Bearer bx_live_…" \
  -H "Content-Type: application/json" \
  -d '{"user_id": "USER_ID"}'

5. Mark attendance once the class is over.

curl -X PATCH https://api.boxly.run/gyms/GYM_ID/schedule/OCCURRENCE_ID/bookings/USER_ID \
  -H "Authorization: Bearer bx_live_…" \
  -H "Content-Type: application/json" \
  -d '{"status": "attended"}'

Errors

Errors always share the same basic JSON body. error is a stable code to build logic on; message is human-readable text in the language of the Accept-Language header (it, en, fr; Italian by default). Only bookings refused because of the membership can carry one more field, next_membership_starts_on (see the table).

{"error": "missing_scope", "message": "the API key does not have the book_for permission"}

{"error": "membership_required", "message": "no entries left: your next membership starts on 15/11/2026", "next_membership_starts_on": "2026-11-15"}
HTTPerrorWhen
400bad_requestMissing or invalid field, malformed JSON body
401unauthorizedKey missing, unknown, expired or revoked (the message says which)
403api_disabledAPI access switched off for the gym
403missing_scopeAPI not granted to this key
403forbiddenAPI outside the catalogue, another gym, or action not allowed
403gym_inactiveThe gym's service is suspended or expired
404not_foundResource does not exist
409conflictIncompatible state: email already registered, blocked member, full class without waitlist, duplicate; also a booking refused because the member's membership is frozen, covers other classes or locations, or starts later (in the last case, if it covers the class, the body also has next_membership_starts_on)
409membership_requiredBooking refused: the member has no valid membership or has run out of entries (until November 2026 this was conflict). If they have already bought a membership valid for the class that starts later, the body also has next_membership_starts_on (a YYYY-MM-DD date) and the message says when they will be able to book: do not offer a renewal. Before that date the booking is still refused (the new membership is not brought forward)
429too_many_requestsRate limit exceeded
500internalOur fault: retry, and write to us if it persists
503email_not_sentAn email that had to go out right away was not sent (for example from send_member_access_link): try again in a few minutes

Limits

Lists and ranges

Gym lists (members, plans, locations, class types, templates, keys) come back complete in one response. Lists that grow over time are read by range: the schedule and workouts with from and to (YYYY-MM-DD dates in the gym's time zone, or RFC 3339), payments with from and to in RFC 3339 (default: last year), a member's booking history with from and to. Dates and times in responses are RFC 3339 (UTC); amounts are in euro cents.

Zapier, Make, n8n

No dedicated app is needed: use the generic HTTP module of each tool.

Typical flow: a sign-up form on your website → create the member with POST …/members → assign the trial with POST …/members/{user_id}/memberships. A turnstile: reads the member's QR and calls POST …/checkin.

To use Boxly from an AI assistant (Claude, ChatGPT and other MCP-compatible ones) you don't need a key: there is a separate connector you sign in to with your own account. See MCP connector.

Reference

Generated from the backend's OpenAPI spec: the same catalogue you see in the panel. Base URL: https://api.boxly.run. The gym_id parameter is always your gym's id.

Gym and locations

GET /gyms/{gym_id}

Read the gym's data

Permission to grant to the key: get_gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
Responses

PATCH /gyms/{gym_id}

Update the gym's data and settings

Permission to grant to the key: update_gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
Request body (JSON): UpdateGymRequest
FieldTypeDescription
booking_animation optionalboolean | nullAnimated exercise after booking
bookings_open_until optionalstring | nullEarly opening: classes can be booked right away up to this date (inclusive). Absent = unchanged, null = removed.
external_payment_enabled optionalboolean | nullYou already have your own payment system: turning it on requires a link (in the body or already saved)
external_payment_url optionalstring | nullLink to renew on the gym's website (http or https; without a scheme https:// is added). Missing = unchanged, null or empty = removed.
is_listed optionalboolean | nullVisible in the app's search (false = invite code only)
member_docs_enabled optionalboolean | nullGym documents to be signed in the app
membership_fee_cents optionalinteger | nullProposed fee amount (cents). Absent = unchanged, null = removed.
name optionalstring | null
primary_color optionalstring | nullPrimary colour in hex, e.g. #C6FF3D
qr_checkin_enabled optionalboolean | nullMember's QR for entries
reminder_minutes_before optionalinteger | null0 = no reminder, maximum 1440
require_medical_certificate optionalboolean | null
require_membership_fee optionalboolean | nullAnnual membership fee required to book
show_coach_last_name optionalboolean | nullCoach's last name shown in classes
show_prices optionalboolean | nullAmounts and prices visible to members in the app
timezone optionalstring | null
Responses

POST /gyms/{gym_id}/invite-code

Regenerate the invite code

Permission to grant to the key: rotate_invite_code

ParameterInTypeNotes
gym_id *pathstring (uuid)
Responses
  • 200 GymDto
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

GET /gyms/{gym_id}/locations

List locations

Permission to grant to the key: list_locations

ParameterInTypeNotes
gym_id *pathstring (uuid)
Responses
  • 200 Location[]
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

POST /gyms/{gym_id}/locations

Create a location

Permission to grant to the key: create_location

ParameterInTypeNotes
gym_id *pathstring (uuid)
Request body (JSON): LocationRequest
FieldTypeDescription
address optionalstring | null
is_default optionalboolean | null
namestring
timezone optionalstring | null
Responses
  • 201 Location
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

PATCH /gyms/{gym_id}/locations/{location_id}

Update a location

Permission to grant to the key: update_location

ParameterInTypeNotes
gym_id *pathstring (uuid)
location_id *pathstring (uuid)
Request body (JSON): UpdateLocationRequest
FieldTypeDescription
address optionalstring | null
is_default optionalboolean | null
name optionalstring | null
timezone optionalstring | null
Responses

DELETE /gyms/{gym_id}/locations/{location_id}

Delete a location

Permission to grant to the key: delete_location

ParameterInTypeNotes
gym_id *pathstring (uuid)
location_id *pathstring (uuid)
Responses
  • 204 —
  • 404 ErrorBody
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

POST /gyms/{gym_id}/locations/{location_id}/rooms

Create a room in a location

Permission to grant to the key: create_room

ParameterInTypeNotes
gym_id *pathstring (uuid)
location_id *pathstring (uuid)
Request body (JSON): RoomRequest
FieldTypeDescription
capacity optionalinteger | null
namestring
Responses

GET /gyms/{gym_id}/rooms

List rooms

Permission to grant to the key: list_rooms

ParameterInTypeNotes
gym_id *pathstring (uuid)
Responses
  • 200 Room[]
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

PATCH /gyms/{gym_id}/rooms/{room_id}

Update a room

Permission to grant to the key: update_room

ParameterInTypeNotes
gym_id *pathstring (uuid)
room_id *pathstring (uuid)
Request body (JSON): UpdateRoomRequest
FieldTypeDescription
capacity optionalinteger | null
name optionalstring | null
Responses

DELETE /gyms/{gym_id}/rooms/{room_id}

Delete a room

Permission to grant to the key: delete_room

ParameterInTypeNotes
gym_id *pathstring (uuid)
room_id *pathstring (uuid)
Responses
  • 204 —
  • 404 ErrorBody
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

Members

GET /gyms/{gym_id}/join-requests

Pending join requests

Permission to grant to the key: list_join_requests

ParameterInTypeNotes
gym_id *pathstring (uuid)
Responses

POST /gyms/{gym_id}/join-requests/{request_id}/approve

Approve a join request

Permission to grant to the key: approve_join_request

ParameterInTypeNotes
gym_id *pathstring (uuid)
request_id *pathstring (uuid)
Responses
  • 204 —
  • 404 ErrorBody
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

POST /gyms/{gym_id}/join-requests/{request_id}/reject

Reject a join request

Permission to grant to the key: reject_join_request

ParameterInTypeNotes
gym_id *pathstring (uuid)
request_id *pathstring (uuid)
Request body (JSON): DecisionBody
FieldTypeDescription
reason optionalstring | nullReason for the rejection, shown to the member (optional)
Responses
  • 204 —
  • 404 ErrorBody
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

GET /gyms/{gym_id}/members

List members and staff

Permission to grant to the key: list_members

ParameterInTypeNotes
gym_id *pathstring (uuid)
Responses

POST /gyms/{gym_id}/members

Create a member (with or without email)

Permission to grant to the key: create_member

ParameterInTypeNotes
gym_id *pathstring (uuid)
Request body (JSON): CreateMemberRequest
FieldTypeDescription
email optionalstring | nullMust be free: an existing account joins with the invite code or with a request from the app (409 otherwise). Absent: a member "without the app" is created with a placeholder email.
first_namestring
last_namestring
phone optionalstring | null
send_invite optionalboolean | nullWith an email: immediately sends the member the email with the link to choose a password and sign in to the app (default true). false = no email; it can be sent later with send_member_access_link. The email and the member's language follow Accept-Language (it, en, fr; default Italian).
Responses

DELETE /gyms/{gym_id}/members/{user_id}

Delete the account of a member who belongs only to this gym (cannot be undone: future bookings cancelled, payments and attendance kept without the name)

Permission to grant to the key: delete_member

ParameterInTypeNotes
gym_id *pathstring (uuid)
user_id *pathstring (uuid)
Responses

POST /gyms/{gym_id}/members/{user_id}/avatar

Upload the photo of a member who belongs only to this gym (JPG or PNG)

Permission to grant to the key: upload_member_avatar

ParameterInTypeNotes
gym_id *pathstring (uuid)
user_id *pathstring (uuid)
multipart/form-data
Responses

DELETE /gyms/{gym_id}/members/{user_id}/avatar

Remove the photo of a member who belongs only to this gym

Permission to grant to the key: delete_member_avatar

ParameterInTypeNotes
gym_id *pathstring (uuid)
user_id *pathstring (uuid)
Responses

PATCH /gyms/{gym_id}/members/{user_id}/profile

Update the name, phone and email (if the gym created the account) of a member who belongs only to this gym

Permission to grant to the key: update_member_profile

ParameterInTypeNotes
gym_id *pathstring (uuid)
user_id *pathstring (uuid)
Request body (JSON): UpdateMemberProfileRequest
FieldTypeDescription
email optionalstring | nullNew email: only for members created by the gym's staff (403 otherwise), 409 if it already belongs to another account. The new address receives the email with the link to choose a password and sign in to the app (valid for 7 days); links sent earlier, the previous password and open sessions stop working.
first_name optionalstring | null
last_name optionalstring | null
phone optionalstring | nullEmpty string = removes the phone
Responses

POST /gyms/{gym_id}/members/{user_id}/unblock

Unblock a member blocked for no-shows

Permission to grant to the key: unblock_member

ParameterInTypeNotes
gym_id *pathstring (uuid)
user_id *pathstring (uuid)
Responses
  • 204 —
  • 404 ErrorBody
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

Memberships and payments

GET /gyms/{gym_id}/members/{user_id}/membership-fees

A member's membership fees

Permission to grant to the key: list_membership_fees

ParameterInTypeNotes
gym_id *pathstring (uuid)
user_id *pathstring (uuid)
Responses

POST /gyms/{gym_id}/members/{user_id}/membership-fees

Record a member's membership fee

Permission to grant to the key: create_membership_fee

ParameterInTypeNotes
gym_id *pathstring (uuid)
user_id *pathstring (uuid)
Request body (JSON): MembershipFeeRequest
FieldTypeDescription
amount_cents optionalinteger | nullDefault: the amount proposed by the gym
ends_on optionalstring (date) | nullDefault: one year from the start (last day included)
notes optionalstring | null
payment optionalPaymentInput | nullIf present (and with amount > 0) also records the payment
starts_on optionalstring (date) | nullDefault: today
Responses

DELETE /gyms/{gym_id}/members/{user_id}/membership-fees/{fee_id}

Delete a membership fee

Permission to grant to the key: delete_membership_fee

ParameterInTypeNotes
gym_id *pathstring (uuid)
user_id *pathstring (uuid)
fee_id *pathstring (uuid)
Responses
  • 204 —
  • 404 ErrorBody
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

GET /gyms/{gym_id}/members/{user_id}/memberships

A member's memberships

Permission to grant to the key: list_memberships

ParameterInTypeNotes
gym_id *pathstring (uuid)
user_id *pathstring (uuid)
Responses

POST /gyms/{gym_id}/members/{user_id}/memberships

Assign a membership (optional payment)

Permission to grant to the key: create_membership

ParameterInTypeNotes
gym_id *pathstring (uuid)
user_id *pathstring (uuid)
Request body (JSON): MembershipRequest
FieldTypeDescription
credits optionalinteger | nullDefault: the plan's credits (from 1 to 1000)
ends_on optionalstring (date) | nullDefault: from the plan's duration, last day included (30 days from 9 Feb → 10 Mar; 1 month from 9 Feb → 8 Mar, from 31 Jan → 28 Feb)
notes optionalstring | null
payment optionalPaymentInput | nullIf present, also records the payment
plan_idstring (uuid)
starts_on optionalstring (date) | nullDefault: today
Responses

POST /gyms/{gym_id}/members/{user_id}/memberships/{membership_id}/freeze

Freeze a membership

Permission to grant to the key: freeze_membership

ParameterInTypeNotes
gym_id *pathstring (uuid)
user_id *pathstring (uuid)
membership_id *pathstring (uuid)
Responses

GET /gyms/{gym_id}/members/{user_id}/memberships/{membership_id}/ledger

Credit movements of a membership

Permission to grant to the key: membership_ledger

ParameterInTypeNotes
gym_id *pathstring (uuid)
user_id *pathstring (uuid)
membership_id *pathstring (uuid)
Responses

POST /gyms/{gym_id}/members/{user_id}/memberships/{membership_id}/unfreeze

Unfreeze a membership

Permission to grant to the key: unfreeze_membership

ParameterInTypeNotes
gym_id *pathstring (uuid)
user_id *pathstring (uuid)
membership_id *pathstring (uuid)
Responses

POST /gyms/{gym_id}/members/{user_id}/payments

Record a payment

Permission to grant to the key: create_payment

ParameterInTypeNotes
gym_id *pathstring (uuid)
user_id *pathstring (uuid)
Request body (JSON): PaymentRequest
FieldTypeDescription
amount_centsinteger
membership_id optionalstring (uuid) | null
methodstring
note optionalstring | null
paid_at optionalstring (date-time) | null
Responses

GET /gyms/{gym_id}/payments

List payments in a period (CSV too)

Permission to grant to the key: list_payments

ParameterInTypeNotes
gym_id *pathstring (uuid)
fromquerystringStart of the period (included): a YYYY-MM-DD date, meaning midnight in the gym's time zone, or RFC 3339 (default: 365 days ago)
toquerystringEnd of the period (excluded): a YYYY-MM-DD date or RFC 3339 (default: 24 hours from now). A whole month: from=2026-10-01&to=2026-11-01
user_idquerystring (uuid)Only this member's payments
formatquerystringjson (default) | csv
Responses

GET /gyms/{gym_id}/plans

List membership plans

Permission to grant to the key: list_plans

ParameterInTypeNotes
gym_id *pathstring (uuid)
include_inactivequeryboolean
Responses
  • 200 Plan[]
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

Schedule

GET /gyms/{gym_id}/class-types

List class types

Permission to grant to the key: list_class_types

ParameterInTypeNotes
gym_id *pathstring (uuid)
include_inactivequeryboolean
Responses
  • 200 ClassType[]
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

POST /gyms/{gym_id}/class-types

Create a class type

Permission to grant to the key: create_class_type

ParameterInTypeNotes
gym_id *pathstring (uuid)
Request body (JSON): ClassTypeRequest
FieldTypeDescription
color optionalstring | nullHex #RRGGBB
credit_cost optionalinteger | nullEntries consumed by a booking (1–20, default 1)
description optionalstring | null
duration_min optionalinteger | nullDefault 60
level optionalstring | null
namestring
Responses

PATCH /gyms/{gym_id}/class-types/{class_type_id}

Update a class type

Permission to grant to the key: update_class_type

ParameterInTypeNotes
gym_id *pathstring (uuid)
class_type_id *pathstring (uuid)
Request body (JSON): UpdateClassTypeRequest
FieldTypeDescription
color optionalstring | null
credit_cost optionalinteger | nullEntries consumed by a booking (1–20)
description optionalstring | null
duration_min optionalinteger | null
is_active optionalboolean | null
level optionalstring | null
name optionalstring | null
Responses

GET /gyms/{gym_id}/schedule

Classes in a date range

Permission to grant to the key: list_schedule

ParameterInTypeNotes
gym_id *pathstring (uuid)
fromquerystringStart of the range, RFC 3339 or a YYYY-MM-DD date (default: now)
toquerystringEnd of the range, excluded (default: from + 14 days, maximum 62)
location_idquerystring (uuid)
class_type_idquerystring (uuid)
coach_idquerystring (uuid)
include_cancelledqueryboolean
Responses

GET /gyms/{gym_id}/schedule/{occurrence_id}

Class details

Permission to grant to the key: get_occurrence

ParameterInTypeNotes
gym_id *pathstring (uuid)
occurrence_id *pathstring (uuid)
Responses

GET /gyms/{gym_id}/templates

List weekly templates

Permission to grant to the key: list_templates

ParameterInTypeNotes
gym_id *pathstring (uuid)
include_inactivequeryboolean
Responses

POST /gyms/{gym_id}/templates

Create a weekly template

Permission to grant to the key: create_template

ParameterInTypeNotes
gym_id *pathstring (uuid)
Request body (JSON): TemplateRequest
FieldTypeDescription
capacityinteger
class_type_idstring (uuid)
coach_id optionalstring (uuid) | null
duration_min optionalinteger | nullDefault: the class type's duration
location_idstring (uuid)
room_id optionalstring (uuid) | null
start_timestringLocal time of the location, HH:MM
valid_from optionalstring (date) | nullDefault: today
valid_until optionalstring (date) | null
weekdaysinteger[]ISO weekdays: 1 = Monday ... 7 = Sunday
Responses

PATCH /gyms/{gym_id}/templates/{template_id}

Update a weekly template (future classes not edited by hand follow it; those with bookings change days, time, class type or location only with booked_lessons=move, and the booked members are notified; with move and a new class type or location, members not covered by their membership are removed and refunded)

Permission to grant to the key: update_template

ParameterInTypeNotes
gym_id *pathstring (uuid)
template_id *pathstring (uuid)
Request body (JSON): UpdateTemplateRequest
FieldTypeDescription
booked_lessons optionalBookedLessons | nullIf the days, time, class type or location change: what to do with the future classes that already have bookings (see the change-preview preview). move moves them to the new schedule and notifies the booked members; keep (default) leaves them as they are. Either way the template keeps a single class per day.
capacity optionalinteger | null
class_type_id optionalstring (uuid) | null
coach_id optionalstring (uuid) | nullnull to remove the coach
duration_min optionalinteger | null
is_active optionalboolean | nullfalse deactivates it like the DELETE; true reactivates it and generates the future classes again
location_id optionalstring (uuid) | null
room_id optionalstring (uuid) | nullnull to remove the room
start_time optionalstring | null
valid_from optionalstring (date) | null
valid_until optionalstring (date) | nullnull to make it never expire
weekdays optionalinteger[] | null
Responses

DELETE /gyms/{gym_id}/templates/{template_id}

Deactivate a weekly template (it is not deleted: it stops generating classes and removes future classes with no bookings that were not edited by hand, except those with only bookings cancelled by members, which stay cancelled; those with bookings stay active, or are cancelled with cancel_booked=true; the history stays)

Permission to grant to the key: delete_template

ParameterInTypeNotes
gym_id *pathstring (uuid)
template_id *pathstring (uuid)
cancel_bookedquerybooleantrue = also cancels the future classes that already have bookings: bookings released, entries given back, booked members and waitlist notified. Missing or false: they stay active in the calendar
Responses
  • 200 TemplateDeactivation · With cancel_booked=true: classes cancelled and members notified
  • 204 — · Without cancel_booked: template deactivated
  • 404 ErrorBody
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

GET /gyms/{gym_id}/templates/{template_id}/change-preview

Before changing the days, time, class type or location of a weekly template: how many future classes with bookings would change (to choose booked_lessons), how many would stay as they are and how many members would be removed with booked_lessons=move

Permission to grant to the key: preview_template_change

ParameterInTypeNotes
gym_id *pathstring (uuid)
template_id *pathstring (uuid)
weekdaysquerystringNew weekdays separated by commas, 1 = Monday ... 7 = Sunday (e.g. 1,3,5)
start_timequerystringNew time, HH:MM
class_type_idquerystring (uuid)New class type
location_idquerystring (uuid)New location
Responses

GET /gyms/{gym_id}/templates/{template_id}/deactivation-preview

Before deactivating a weekly template: how many future classes already have bookings

Permission to grant to the key: preview_template_deactivation

ParameterInTypeNotes
gym_id *pathstring (uuid)
template_id *pathstring (uuid)
Responses

GET /gyms/{gym_id}/templates/{template_id}/reactivation-preview

Before reactivating a weekly template: how many future classes will be in the calendar and from when, how many stay cancelled and how many members have a recurring booking

Permission to grant to the key: preview_template_reactivation

ParameterInTypeNotes
gym_id *pathstring (uuid)
template_id *pathstring (uuid)
Responses

GET /gyms/{gym_id}/workouts

Read workouts of the day (WOD)

Permission to grant to the key: list_workouts

ParameterInTypeNotes
gym_id *pathstring (uuid)
from *querystring
to *querystring
Responses

PUT /gyms/{gym_id}/workouts

Write workouts of the day (WOD)

Permission to grant to the key: save_workouts

ParameterInTypeNotes
gym_id *pathstring (uuid)
Request body (JSON): WorkoutsRequest
FieldTypeDescription
itemsWorkoutItem[]
Responses

Bookings and attendance

GET /gyms/{gym_id}/booking-policies

Read booking rules

Permission to grant to the key: list_policies

ParameterInTypeNotes
gym_id *pathstring (uuid)
Responses
  • 200 PolicyRow[]
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

PUT /gyms/{gym_id}/booking-policies

Create or update a booking rule

Permission to grant to the key: upsert_policy

ParameterInTypeNotes
gym_id *pathstring (uuid)
Request body (JSON): PolicyRequest
FieldTypeDescription
auto_no_show optionalboolean | null
block_days optionalinteger | null
class_type_id optionalstring (uuid) | nullAbsent = the gym's default rule
close_minutes_before optionalinteger | null
free_cancel_minutes_before optionalinteger | null
max_active_bookings optionalinteger | null
max_per_day optionalinteger | null
max_per_week optionalinteger | null
no_show_strikes_before_block optionalinteger | null
open_hours_before optionalinteger | null
waitlist_accept_minutes optionalinteger | null
waitlist_enabled optionalboolean | null
Responses

DELETE /gyms/{gym_id}/booking-policies/{policy_id}

Delete a booking rule

Permission to grant to the key: delete_policy

ParameterInTypeNotes
gym_id *pathstring (uuid)
policy_id *pathstring (uuid)
Responses
  • 204 —
  • 404 ErrorBody
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

POST /gyms/{gym_id}/checkin

Entrance check-in with the member's QR (turnstiles and readers)

Permission to grant to the key: checkin

ParameterInTypeNotes
gym_id *pathstring (uuid)
Request body (JSON): CheckinRequest
FieldTypeDescription
occurrence_id optionalstring (uuid) | nullThe class to check in to. Absent = the booking "happening now".
tokenstringThe content of the QR shown by the member's app
walk_in optionalboolean | nullWithout a booking: books and marks as attended (occurrence_id required). Membership and certificate apply, the booking window does not: from 2 hours before the start until the end.
Responses

GET /gyms/{gym_id}/members/{user_id}/bookings

A member's booking and attendance history

Permission to grant to the key: member_bookings

ParameterInTypeNotes
gym_id *pathstring (uuid)
user_id *pathstring (uuid)
fromquerystring
toquerystring
Responses

GET /gyms/{gym_id}/recurring

Recurring bookings

Permission to grant to the key: list_recurring

ParameterInTypeNotes
gym_id *pathstring (uuid)
template_idquerystring (uuid)
user_idquerystring (uuid)
Responses

GET /gyms/{gym_id}/schedule/{occurrence_id}/bookings

Bookings and waitlist of a class

Permission to grant to the key: list_occurrence_bookings

ParameterInTypeNotes
gym_id *pathstring (uuid)
occurrence_id *pathstring (uuid)
Responses

POST /gyms/{gym_id}/schedule/{occurrence_id}/bookings

Book a member into a class

Permission to grant to the key: book_for

ParameterInTypeNotes
gym_id *pathstring (uuid)
occurrence_id *pathstring (uuid)
Request body (JSON): BookForRequest
FieldTypeDescription
check_in optionalboolean | nulltrue = the member is already here: booked and checked in together, from the window in which attendance can be marked (before it: 409; class full: 409, no waitlist). With an API key the set_attendance permission is also required. Once the class has started the booking is created as attended even without it
force optionalboolean | nulltrue = books even without a valid membership/certificate (e.g. free trial)
user_idstring (uuid)
Responses

PATCH /gyms/{gym_id}/schedule/{occurrence_id}/bookings/{user_id}

Mark attendance or no-show for a class

Permission to grant to the key: set_attendance

ParameterInTypeNotes
gym_id *pathstring (uuid)
occurrence_id *pathstring (uuid)
user_id *pathstring (uuid)
Request body (JSON): AttendanceRequest
FieldTypeDescription
statusstringattended or no_show (from 2 hours before the start) | booked (to correct; once the class has ended, removing an attendance makes it no_show)
Responses

DELETE /gyms/{gym_id}/schedule/{occurrence_id}/bookings/{user_id}

Remove a member from a class

Permission to grant to the key: cancel_for

ParameterInTypeNotes
gym_id *pathstring (uuid)
occurrence_id *pathstring (uuid)
user_id *pathstring (uuid)
Responses

GET /gyms/{gym_id}/schedule/{occurrence_id}/participants

Class participants as shown in the app

Permission to grant to the key: list_participants

ParameterInTypeNotes
gym_id *pathstring (uuid)
occurrence_id *pathstring (uuid)
Responses

POST /gyms/{gym_id}/templates/{template_id}/recurring

Create a recurring booking on a template

Permission to grant to the key: create_recurring

ParameterInTypeNotes
gym_id *pathstring (uuid)
template_id *pathstring (uuid)
Request body (JSON): RecurringRequest
FieldTypeDescription
user_id optionalstring (uuid) | nullFor staff: the member to book. Absent = the requester.
Responses

DELETE /gyms/{gym_id}/templates/{template_id}/recurring/{user_id}

Remove a recurring booking

Permission to grant to the key: delete_recurring

ParameterInTypeNotes
gym_id *pathstring (uuid)
template_id *pathstring (uuid)
user_id *pathstring (uuid)
Responses
  • 204 —
  • 404 ErrorBody
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

Communications

POST /gyms/{gym_id}/broadcast

Notify all members

Permission to grant to the key: broadcast

ParameterInTypeNotes
gym_id *pathstring (uuid)
Request body (JSON): BroadcastRequest
FieldTypeDescription
bodystring
email optionalboolean | nullAlso by email, to those who allow it
titlestring
Responses

POST /gyms/{gym_id}/members/{user_id}/message

Message a member

Permission to grant to the key: message_member

ParameterInTypeNotes
gym_id *pathstring (uuid)
user_id *pathstring (uuid)
Request body (JSON): BroadcastRequest
FieldTypeDescription
bodystring
email optionalboolean | nullAlso by email, to those who allow it
titlestring
Responses

Reports

GET /gyms/{gym_id}/dashboard

Today's dashboard

Permission to grant to the key: dashboard

ParameterInTypeNotes
gym_id *pathstring (uuid)
Responses

GET /gyms/{gym_id}/reports/attendance

Attendance report (also CSV)

Permission to grant to the key: report_attendance

ParameterInTypeNotes
gym_id *pathstring (uuid)
fromquerystring
toquerystring
formatquerystringjson (default) | csv
Responses

GET /gyms/{gym_id}/reports/coach-hours

Hours worked by coaches: finished classes and PT sessions, summary per coach (also CSV)

Permission to grant to the key: report_coach_hours

ParameterInTypeNotes
gym_id *pathstring (uuid)
fromquerystringStart of the period (included): a YYYY-MM-DD date, meaning midnight in the gym's time zone, or RFC 3339 (default: 30 days before to)
toquerystringEnd of the period (excluded): a YYYY-MM-DD date or RFC 3339 (default: now; at most 2 years after from). A whole month: from=2026-10-01&to=2026-11-01
coach_idquerystring (uuid)Only this coach's classes and sessions
formatquerystringjson (default) | csv
Responses

GET /gyms/{gym_id}/reports/inactive

Inactive members (also CSV)

Permission to grant to the key: report_inactive

ParameterInTypeNotes
gym_id *pathstring (uuid)
daysqueryinteger
formatquerystringjson (default) | csv
Responses

GET /gyms/{gym_id}/reports/occupancy

Occupancy report (also CSV)

Permission to grant to the key: report_occupancy

ParameterInTypeNotes
gym_id *pathstring (uuid)
fromquerystring
toquerystring
byquerystringclass_type | coach | weekday | hour
formatquerystringjson (default) | csv
Responses

Events and competitions

GET /gyms/{gym_id}/events

List events

Permission to grant to the key: list_events · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
Responses

POST /gyms/{gym_id}/events

Create an event

Permission to grant to the key: create_event · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
Request body (JSON): CreateEventRequest
FieldTypeDescription
checkin_codes optionalboolean | nullPersonal check-in code for every registrant (default: no)
ends_atstring (date-time)
registration_closes_at optionalstring (date-time) | nullRegistration closes (empty = when the event starts)
registration_opens_at optionalstring (date-time) | nullRegistration opens (empty = as soon as published)
starts_atstring (date-time)
template optionalstring | nullgara (default) | benefico | essenziale: only "gara" starts with the medical requirement and the parental consent
titlestring
Responses

GET /gyms/{gym_id}/events/{id}

Event details

Permission to grant to the key: get_event · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
Responses

PATCH /gyms/{gym_id}/events/{id}

Update an event

Permission to grant to the key: update_event · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
Request body (JSON): EventPatch
FieldTypeDescription
auto_delete_after_days optionalinteger | null
cancel_until optionalstring (date-time) | null
checkin_codes optionalboolean | null
collected_fields optionalstring[] | null
competitive optionalboolean | null
contact_email optionalstring | null
content_en optionalobject | null
content_fr optionalobject | null
content_it optionalobject | null
description_en optionalstring | null
description_fr optionalstring | null
description_it optionalstring | null
docs_retention_days optionalinteger | null
ends_at optionalstring (date-time) | null
leaderboard_mode optionalstring | null
leaderboard_names optionalstring | null
location optionalstring | null
organizer_name optionalstring | null
organizer_privacy_text optionalstring | null
organizer_privacy_url optionalstring | null
participants_list_mode optionalstring | null
registration_closes_at optionalstring (date-time) | null
registration_opens_at optionalstring (date-time) | null
sections optionalobject | null
slug optionalstring | null
starts_at optionalstring (date-time) | null
template optionalstring | null
theme optionalobject | null
title optionalstring | null
Responses

DELETE /gyms/{gym_id}/events/{id}

Delete an event

Permission to grant to the key: delete_event · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
Responses
  • 204 —
  • 404 ErrorBody
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

GET /gyms/{gym_id}/events/{id}/accounts

Event registrations (with participants and documents)

Permission to grant to the key: list_event_accounts · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
Responses

PATCH /gyms/{gym_id}/events/{id}/accounts/{aid}

Change a registration's status

Permission to grant to the key: set_event_account_status · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
aid *pathstring (uuid)
Request body (JSON): AccountStatusRequest
FieldTypeDescription
force optionalbooleantrue to reactivate a cancelled or removed registration even when the category is full (without it, 409 sold out)
statusstringpending | complete | cancelled | removed
Responses

DELETE /gyms/{gym_id}/events/{id}/accounts/{aid}

Delete a registration

Permission to grant to the key: delete_event_account · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
aid *pathstring (uuid)
Responses
  • 204 —
  • 404 ErrorBody
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

POST /gyms/{gym_id}/events/{id}/accounts/{aid}/checkin

Check in a registration at the event

Permission to grant to the key: event_checkin · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
aid *pathstring (uuid)
Request body (JSON): EventCheckinRequest
FieldTypeDescription
checked_inboolean
Responses

GET /gyms/{gym_id}/events/{id}/categories

Event categories

Permission to grant to the key: list_event_categories · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
Responses

POST /gyms/{gym_id}/events/{id}/categories

Create a category

Permission to grant to the key: create_event_category · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
Request body (JSON): CategoryPatch
FieldTypeDescription
capacity optionalinteger | nullPlaces in the category (null = no limit)
constraints optionalobject | null
force optionalbooleanUpdate only: true to lower the places below the registrations already holding them (without it, 409)
kind optionalstring | nullindividual | team
name optionalstring | null
price_cents optionalinteger | nullFee in cents (null = free)
sort optionalinteger | null
team_max optionalinteger | null
team_min optionalinteger | null
Responses

PATCH /gyms/{gym_id}/events/{id}/categories/{cid}

Update a category

Permission to grant to the key: update_event_category · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
cid *pathstring (uuid)
Request body (JSON): CategoryPatch
FieldTypeDescription
capacity optionalinteger | nullPlaces in the category (null = no limit)
constraints optionalobject | null
force optionalbooleanUpdate only: true to lower the places below the registrations already holding them (without it, 409)
kind optionalstring | nullindividual | team
name optionalstring | null
price_cents optionalinteger | nullFee in cents (null = free)
sort optionalinteger | null
team_max optionalinteger | null
team_min optionalinteger | null
Responses

DELETE /gyms/{gym_id}/events/{id}/categories/{cid}

Delete a category

Permission to grant to the key: delete_event_category · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
cid *pathstring (uuid)
Responses

POST /gyms/{gym_id}/events/{id}/checkin/{code}

Event check-in by the participant's code

Permission to grant to the key: event_checkin_by_code · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
code *pathstring
Responses

GET /gyms/{gym_id}/events/{id}/documents/{did}/file

Download a participant's document

Permission to grant to the key: download_event_document · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
did *pathstring (uuid)
Responses

POST /gyms/{gym_id}/events/{id}/documents/{did}/review

Approve or reject a participant's document

Permission to grant to the key: review_event_document · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
did *pathstring (uuid)
Request body (JSON): ReviewRequest
FieldTypeDescription
approveboolean
expected_updated_at optionalstring (date-time) | nullThe document's updated_at as you read it (from list_event_accounts): if it changed in the meantime (new upload or another review) the response is 409 and nothing is decided. Without it, the document is decided as it was when the request arrived, in any state (even already approved or rejected): two requests at the same time give a single outcome, and a document already in the requested state is returned as it is, without another email
reason optionalstring | null
Responses

GET /gyms/{gym_id}/events/{id}/export.csv

CSV export of registrations

Permission to grant to the key: event_export_csv · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
Responses
  • 200 text/csv · CSV of the registrations
  • 404 ErrorBody
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

GET /gyms/{gym_id}/events/{id}/images

Event page images

Permission to grant to the key: list_event_images · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
Responses

POST /gyms/{gym_id}/events/{id}/images

Upload an image (cover, gallery, sponsor)

Permission to grant to the key: upload_event_image · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
multipart/form-data
Responses

PATCH /gyms/{gym_id}/events/{id}/images/{iid}

Update an image

Permission to grant to the key: update_event_image · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
iid *pathstring (uuid)
Request body (JSON): ImagePatch
FieldTypeDescription
alt optionalstring | null
link optionalstring | null
Responses

DELETE /gyms/{gym_id}/events/{id}/images/{iid}

Delete an image

Permission to grant to the key: delete_event_image · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
iid *pathstring (uuid)
Responses
  • 204 —
  • 404 ErrorBody
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

GET /gyms/{gym_id}/events/{id}/leaderboard

Event leaderboard

Permission to grant to the key: event_leaderboard · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
Responses

PATCH /gyms/{gym_id}/events/{id}/participants/{pid}

Hide or show a participant in the leaderboard

Permission to grant to the key: set_event_participant_visibility · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
pid *pathstring (uuid)
Request body (JSON): ParticipantVisibility
FieldTypeDescription
hide_name_in_leaderboardboolean
Responses

GET /gyms/{gym_id}/events/{id}/requirements

Document requirements of an event

Permission to grant to the key: list_event_requirements · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
Responses

POST /gyms/{gym_id}/events/{id}/requirements

Create a document requirement

Permission to grant to the key: create_event_requirement · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
Request body (JSON): RequirementPatch
FieldTypeDescription
applies_to optionalstring | nullall | minors
kind optionalstring | nullmedical_certificate | waiver | parent_consent | id_document | payment_receipt | other
mode optionalstring | nullupload (file to upload) | declaration (ticked declaration)
required optionalboolean | null
sort optionalinteger | null
title optionalstring | null
Responses

PATCH /gyms/{gym_id}/events/{id}/requirements/{rid}

Update a document requirement

Permission to grant to the key: update_event_requirement · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
rid *pathstring (uuid)
Request body (JSON): RequirementPatch
FieldTypeDescription
applies_to optionalstring | nullall | minors
kind optionalstring | nullmedical_certificate | waiver | parent_consent | id_document | payment_receipt | other
mode optionalstring | nullupload (file to upload) | declaration (ticked declaration)
required optionalboolean | null
sort optionalinteger | null
title optionalstring | null
Responses

DELETE /gyms/{gym_id}/events/{id}/requirements/{rid}

Delete a document requirement

Permission to grant to the key: delete_event_requirement · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
rid *pathstring (uuid)
Responses
  • 204 —
  • 404 ErrorBody
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

GET /gyms/{gym_id}/events/{id}/requirements/{rid}/template

Download a requirement's template

Permission to grant to the key: download_requirement_template · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
rid *pathstring (uuid)
Responses
  • 200 — · The file
  • 404 ErrorBody
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

POST /gyms/{gym_id}/events/{id}/requirements/{rid}/template

Upload a requirement's template (PDF)

Permission to grant to the key: upload_requirement_template · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
rid *pathstring (uuid)
multipart/form-data
Responses

DELETE /gyms/{gym_id}/events/{id}/requirements/{rid}/template

Delete a requirement's template

Permission to grant to the key: delete_requirement_template · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
rid *pathstring (uuid)
Responses
  • 204 —
  • 404 ErrorBody
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

POST /gyms/{gym_id}/events/{id}/rules

Upload the rules (PDF)

Permission to grant to the key: upload_event_rules · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
multipart/form-data
Responses

DELETE /gyms/{gym_id}/events/{id}/rules

Delete the rules

Permission to grant to the key: delete_event_rules · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
Responses
  • 204 —
  • 404 ErrorBody
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

POST /gyms/{gym_id}/events/{id}/status

Change an event's status (draft, published, closed, archived)

Permission to grant to the key: set_event_status · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
Request body (JSON): StatusRequest
FieldTypeDescription
statusstringdraft | published | closed | archived
Responses

GET /gyms/{gym_id}/events/{id}/workouts

Event workouts and scores

Permission to grant to the key: list_event_workouts · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
Responses

POST /gyms/{gym_id}/events/{id}/workouts

Create a workout

Permission to grant to the key: create_event_workout · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
Request body (JSON): WorkoutPatch
FieldTypeDescription
ranking_mode optionalstring | nullpositions | points_table | raw_sum
score_type optionalstring | nulltime | reps | load | distance | calories | points
sort optionalinteger | null
tiebreak_type optionalstring | nulltime | reps | load | distance | calories | points (null = none)
title optionalstring | null
Responses

PATCH /gyms/{gym_id}/events/{id}/workouts/{wid}

Update a workout

Permission to grant to the key: update_event_workout · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
wid *pathstring (uuid)
Request body (JSON): WorkoutPatch
FieldTypeDescription
ranking_mode optionalstring | nullpositions | points_table | raw_sum
score_type optionalstring | nulltime | reps | load | distance | calories | points
sort optionalinteger | null
tiebreak_type optionalstring | nulltime | reps | load | distance | calories | points (null = none)
title optionalstring | null
Responses

DELETE /gyms/{gym_id}/events/{id}/workouts/{wid}

Delete a workout

Permission to grant to the key: delete_event_workout · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
wid *pathstring (uuid)
Responses
  • 204 —
  • 404 ErrorBody
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

PUT /gyms/{gym_id}/events/{id}/workouts/{wid}/scores

Enter or update a score

Permission to grant to the key: upsert_event_score · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
wid *pathstring (uuid)
Request body (JSON): ScoreRequest
FieldTypeDescription
account_idstring (uuid)
scaled optionalboolean
tiebreak optionalnumber | null
valuenumber
Responses

DELETE /gyms/{gym_id}/events/{id}/workouts/{wid}/scores/{aid}

Delete a score

Permission to grant to the key: delete_event_score · Only when events are enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
id *pathstring (uuid)
wid *pathstring (uuid)
aid *pathstring (uuid)
Responses
  • 204 —
  • 404 ErrorBody
  • 429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly

Wod TV

GET /gyms/{gym_id}/wod-tv

Read the Wod TV: look, address and skills of the coming days

Permission to grant to the key: get_wod_tv · Only when the Wod TV is enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
Responses

PUT /gyms/{gym_id}/wod-tv

Change the Wod TV look

Permission to grant to the key: update_wod_tv · Only when the Wod TV is enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
Request body (JSON): WodTvSettingsRequest
FieldTypeDescription
accent_colorstringAccent colour (clock, labels), #RRGGBB
bg_colorstringBackground colour, #RRGGBB
bg_color2stringSecond gradient colour, #RRGGBB
bg_modestringsolid | gradient | image
class_type_ids optionalstring (uuid)[] | nullClass types to show; absent or empty = all
fontstringunbounded | manrope | serif | mono | system
orientationstringauto | landscape | portrait
rotate_secondsintegerSeconds between one class and the next, 5–120
show_clockbooleanClock at the top right
show_logobooleanGym logo next to the name
show_schedulebooleanStrip with today's classes
text_colorstringText colour, #RRGGBB
text_scaleintegerText size as a percentage, 50–200
Responses

POST /gyms/{gym_id}/wod-tv/background

Upload the Wod TV background photo

Permission to grant to the key: upload_wod_tv_background · Only when the Wod TV is enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
multipart/form-data
Responses

DELETE /gyms/{gym_id}/wod-tv/background

Remove the Wod TV background photo

Permission to grant to the key: delete_wod_tv_background · Only when the Wod TV is enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
Responses

PUT /gyms/{gym_id}/wod-tv/days/{day}

Write a day's custom text on the Wod TV

Permission to grant to the key: set_wod_tv_day · Only when the Wod TV is enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
day *pathstringDay YYYY-MM-DD in the gym's time zone
Request body (JSON): CustomDayRequest
FieldTypeDescription
body optionalstring | nullWOD text, one line per movement (2000 characters at most)
titlestringEmpty = back to the class skills
Responses

Personal trainer

GET /gyms/{gym_id}/pt/sessions

List personal training sessions with coach, member, status, package and price

Permission to grant to the key: list_pt_sessions · Only when Personal trainer is enabled for the gym

ParameterInTypeNotes
gym_id *pathstring (uuid)
fromquerystringISO 8601, default now
toquerystringISO 8601, default +7 days
coach_idquerystring (uuid)Only this coach's sessions
user_idquerystring (uuid)Only this member's sessions
statusquerystringOnly these statuses, comma-separated (e.g. done,no_show)
Responses

Objects

Account

FieldTypeDescription
category_idstring (uuid)
checked_in_at optionalstring (date-time) | null
checkin_codestringShort random code for check-in by voice or by hand
completed_by_staff_at optionalstring (date-time) | nullMarked complete by hand by the staff: the recalculation from the documents does not change it until the staff chooses another status
created_atstring (date-time)
emailstring
email_confirmed_at optionalstring (date-time) | nullDouble opt-in: while NULL the registration does not count and cannot sign in
event_idstring (uuid)
first_namestring
idstring (uuid)
kindstringindividual | team
last_namestring
phone optionalstring | null
statusstringpending | complete | cancelled | removed
team_name optionalstring | null
updated_atstring (date-time)

AccountStatusRequest

FieldTypeDescription
force optionalbooleantrue to reactivate a cancelled or removed registration even when the category is full (without it, 409 sold out)
statusstringpending | complete | cancelled | removed

AccountView

FieldTypeDescription
category_idstring (uuid)
checked_in_at optionalstring (date-time) | null
checkin_codestringShort code for check-in by voice or by hand
completed_by_staff_at optionalstring (date-time) | nullMarked complete by hand by the staff: the recalculation from the documents does not change it until the staff chooses another status
created_atstring (date-time)
emailstring
email_confirmed_at optionalstring (date-time) | nullDouble opt-in: while NULL the registration does not count and cannot sign in
event_idstring (uuid)
first_namestring
idstring (uuid)
kindstringindividual | team
last_namestring
phone optionalstring | null
statusstringpending | complete | cancelled | removed
team_name optionalstring | null
updated_atstring (date-time)
linked_to_boxlybooleanSigned in with Boxly credentials (without saying which user)
participantsParticipantView[]

AttendanceRequest

FieldTypeDescription
statusstringattended or no_show (from 2 hours before the start) | booked (to correct; once the class has ended, removing an attendance makes it no_show)

AttendanceRow

FieldTypeDescription
attendedinteger
bookedintegerValid bookings (booked, attended or no-show)
cancelledinteger
first_namestring
last_namestring
late_cancelledinteger
no_showinteger
user_idstring (uuid)

BookForRequest

FieldTypeDescription
check_in optionalboolean | nulltrue = the member is already here: booked and checked in together, from the window in which attendance can be marked (before it: 409; class full: 409, no waitlist). With an API key the set_attendance permission is also required. Once the class has started the booking is created as attended even without it
force optionalboolean | nulltrue = books even without a valid membership/certificate (e.g. free trial)
user_idstring (uuid)

Booking

FieldTypeDescription
booked_atstring (date-time)
booked_by optionalstring (uuid) | null
cancelled_at optionalstring (date-time) | null
cancelled_by_class optionalbooleanCancelled because the gym cancelled the class (credit refunded): "Restore" books it again.
checked_in_at optionalstring (date-time) | null
created_atstring (date-time)
credit_tx_id optionalstring (uuid) | nullCredit ledger movement charged by this booking
gym_idstring (uuid)
idstring (uuid)
occurrence_idstring (uuid)
statusstring
updated_atstring (date-time)
user_idstring (uuid)

BookingWithUser

Booking with the user's data, for the staff attendance list.

FieldTypeDescription
booked_atstring (date-time)
booked_by optionalstring (uuid) | null
checked_in_at optionalstring (date-time) | null
emailstring
first_namestring
idstring (uuid)
last_namestring
statusstring
user_idstring (uuid)

BroadcastRequest

FieldTypeDescription
bodystring
email optionalboolean | nullAlso by email, to those who allow it
titlestring

BroadcastResponse

FieldTypeDescription
queuedboolean

Category

FieldTypeDescription
capacity optionalinteger | null
constraintsobject
created_atstring (date-time)
event_idstring (uuid)
idstring (uuid)
kindstringindividual | team
namestring
price_cents optionalinteger | null
sortinteger
team_maxinteger
team_mininteger

CategoryPatch

FieldTypeDescription
capacity optionalinteger | nullPlaces in the category (null = no limit)
constraints optionalobject | null
force optionalbooleanUpdate only: true to lower the places below the registrations already holding them (without it, 409)
kind optionalstring | nullindividual | team
name optionalstring | null
price_cents optionalinteger | nullFee in cents (null = free)
sort optionalinteger | null
team_max optionalinteger | null
team_min optionalinteger | null

CheckinRequest

FieldTypeDescription
occurrence_id optionalstring (uuid) | nullThe class to check in to. Absent = the booking "happening now".
tokenstringThe content of the QR shown by the member's app
walk_in optionalboolean | nullWithout a booking: books and marks as attended (occurrence_id required). Membership and certificate apply, the booking window does not: from 2 hours before the start until the end.

CheckinResponse

FieldTypeDescription
booking optionalBooking | null
occurrence optionalOccurrence | null
outcomeCheckinOutcome
userCheckinUser
warningsstring[]Things to tell the member: certificate expired, membership over…

CheckinUser

FieldTypeDescription
emailstring
first_namestring
idstring (uuid)
last_namestring

ClassTemplate

FieldTypeDescription
capacityinteger
class_type_idstring (uuid)
coach_id optionalstring (uuid) | null
created_atstring (date-time)
deactivated_at optionalstring (date-time) | nullWhen it was deactivated; null if it is active
duration_mininteger
gym_idstring (uuid)
idstring (uuid)
is_activebooleanfalse = deactivated: it no longer generates classes, it stays for the history
location_idstring (uuid)
room_id optionalstring (uuid) | null
start_timestringLocal time of the location (e.g. 18:30:00)
updated_atstring (date-time)
valid_fromstring (date)
valid_until optionalstring (date) | null
weekdaysinteger[]ISO weekdays: 1 = Monday ... 7 = Sunday

ClassType

FieldTypeDescription
color optionalstring | null
created_atstring (date-time)
credit_costintegerEntries (credits) consumed by a booking
description optionalstring | null
duration_mininteger
gym_idstring (uuid)
idstring (uuid)
is_activeboolean
level optionalstring | null
namestring
updated_atstring (date-time)

ClassTypeLite

FieldTypeDescription
color optionalstring | null
idstring (uuid)
namestring

ClassTypeRequest

FieldTypeDescription
color optionalstring | nullHex #RRGGBB
credit_cost optionalinteger | nullEntries consumed by a booking (1–20, default 1)
description optionalstring | null
duration_min optionalinteger | nullDefault 60
level optionalstring | null
namestring

CoachHoursReport

Hours worked by coaches in the period: summary per coach and detail.

FieldTypeDescription
coach_optionsCoachOption[]Coaches to offer as a filter: those with the coach role and anyone who worked in the period
coachesCoachHoursSummary[]One item per coach with classes or sessions in the period, by name; classes without a coach come last
fromstring (date-time)Start of the period (included)
pt_enabledbooleanPersonal trainer enabled for the gym: only then are PT sessions included
rowsCoachHoursRow[]Classes and sessions already over, by start time
timezonestringThe gym's time zone: the rows' dates and times are in this time zone
tostring (date-time)End of the period (excluded)

CoachHoursRow

A group class or PT session already over, in the coach hours report. Dates and times are in the gym's time zone.

FieldTypeDescription
attendedintegerAttended; PT session: 1 if done
bookedintegerSeats taken (booked + attended + no-shows); PT session: 1 unless cancelled
class_type_name optionalstring | nullClass type (empty for PT sessions)
coach_id optionalstring (uuid) | nullCoach of that single class, even if different from the recurring slot's coach (empty = no coach)
coach_name optionalstring | null
countedbooleanThe hours count in the totals (false for cancelled classes and sessions)
datestring (date)Day of the start in the gym's time zone
end_atstring (date-time)
end_timestringEnd time HH:MM in the gym's time zone
hoursnumberThe minutes in decimal hours, with at most six decimals: the rows add up to the total
idstring (uuid)Id of the class or session
kindstringclass (group class) | pt (personal training session)
location_name optionalstring | nullLocation (for PT sessions the coach's one, if set)
minutesintegerMinutes worked: actual end minus start (correct even on the night the clocks change); 0 if cancelled
room_name optionalstring | null
start_atstring (date-time)
start_timestringStart time HH:MM in the gym's time zone
statusstringClass: held or cancelled. PT session: done, no_show (member absent), confirmed (confirmed, not marked yet), cancelled (cancelled in time) or late_cancelled (cancelled late)
weekdayintegerISO weekday (1 = Monday)

CoachHoursSummary

A coach's totals for the period.

FieldTypeDescription
cancelledintegerCancelled classes and sessions: in the detail with 0 hours, left out of the totals
class_minutesintegerMinutes of the classes taught
classesintegerGroup classes taught (not cancelled)
coach_id optionalstring (uuid) | nullEmpty = classes without a coach
coach_name optionalstring | null
pt_minutesintegerMinutes of the PT sessions that count
pt_sessionsintegerPT sessions that count: done, member absent, confirmed and already over
total_hoursnumberThe total in decimal hours, rounded to two decimals
total_minutesintegerClasses plus PT sessions, in minutes

CoachOption

Coach offered as a filter of the report.

FieldTypeDescription
first_namestring
last_namestring
user_idstring (uuid)

CreateEventRequest

FieldTypeDescription
checkin_codes optionalboolean | nullPersonal check-in code for every registrant (default: no)
ends_atstring (date-time)
registration_closes_at optionalstring (date-time) | nullRegistration closes (empty = when the event starts)
registration_opens_at optionalstring (date-time) | nullRegistration opens (empty = as soon as published)
starts_atstring (date-time)
template optionalstring | nullgara (default) | benefico | essenziale: only "gara" starts with the medical requirement and the parental consent
titlestring

CreateMemberRequest

FieldTypeDescription
email optionalstring | nullMust be free: an existing account joins with the invite code or with a request from the app (409 otherwise). Absent: a member "without the app" is created with a placeholder email.
first_namestring
last_namestring
phone optionalstring | null
send_invite optionalboolean | nullWith an email: immediately sends the member the email with the link to choose a password and sign in to the app (default true). false = no email; it can be sent later with send_member_access_link. The email and the member's language follow Accept-Language (it, en, fr; default Italian).

CustomDay

Custom text for a day: it replaces the class skills on the TV.

FieldTypeDescription
body optionalstring | null
daystring
gym_idstring (uuid)
titlestring
updated_atstring (date-time)

CustomDayRequest

FieldTypeDescription
body optionalstring | nullWOD text, one line per movement (2000 characters at most)
titlestringEmpty = back to the class skills

Dashboard

FieldTypeDescription
active_membersinteger
certificates_attentionExpiringCertificate[]
low_creditsLowCredits[]
members_missing_documentsintegerMembers missing a required signature (0 if the gym does not ask for documents)
members_without_certificateinteger
membership_fees_dueFeeDue[]With a current membership but the membership fee still due (empty if the gym does not require it)
memberships_expiringExpiringMembership[]
recent_no_showsRecentNoShow[]
recent_trialsRecentTrial[]Trials from the last 7 days not marked absent: people to call back
todayTodaySummary

DayWorkout

WOD set on a class type for a day (workouts table), with the class name and colour: it is what the TV shows by default.

FieldTypeDescription
class_type_color optionalstring | null
class_type_idstring (uuid)
class_type_namestring
daystring
notes optionalstring | null
titlestring

DeactivationPreview

What happens to classes with bookings when a weekly template is deactivated: the future classes still scheduled with at least one active booking, plus those cancelled by a closure with members to book again when it is removed. Without cancel_booked they stay active (the closed ones come back when the closure is removed), with cancel_booked they are cancelled (the closed ones stay cancelled even when the closure is removed).

FieldTypeDescription
bookingsintegerBookings on those classes: active, or to be booked again when the closure is removed
first_start_at optionalstring (date-time) | nullStart of the first of those classes; null if there are none
lessons_with_bookingsintegerFuture classes with bookings: scheduled with at least one booking, or cancelled by a closure with members to book again

DecisionBody

FieldTypeDescription
reason optionalstring | nullReason for the rejection, shown to the member (optional)

Document

FieldTypeDescription
created_atstring (date-time)
declared_at optionalstring (date-time) | null
expires_on optionalstring (date) | null
idstring (uuid)
locked_at optionalstring (date-time) | null
participant_idstring (uuid)
purged_at optionalstring (date-time) | null
reject_reason optionalstring | null
requirement_idstring (uuid)
reviewed_at optionalstring (date-time) | null
statusstring
updated_atstring (date-time)

DocumentView

FieldTypeDescription
created_atstring (date-time)
declared_at optionalstring (date-time) | null
expires_on optionalstring (date) | null
idstring (uuid)
locked_at optionalstring (date-time) | null
participant_idstring (uuid)
purged_at optionalstring (date-time) | null
reject_reason optionalstring | null
requirement_idstring (uuid)
reviewed_at optionalstring (date-time) | null
statusstring
updated_atstring (date-time)
has_fileboolean

ErrorBody

FieldTypeDescription
errorstringStable code: bad_request, unauthorized, forbidden, not_found, conflict, membership_required, too_many_requests, gym_inactive, api_disabled, missing_scope, email_not_sent, internal
messagestring
next_membership_starts_on optionalstring (date) | nullOnly when a booking is refused because of the membership (membership_required or conflict): the member already has one valid for the class starting on this date, so renewal should not be offered

Event

FieldTypeDescription
auto_delete_accountsboolean
auto_delete_after_daysinteger
cancel_until optionalstring (date-time) | null
checkin_codesbooleanPersonal check-in code for every registrant (off by default)
collected_fieldsstring[]Optional participant fields the organiser collects (sex, tax_code, shirt_size, phone): the others are neither asked nor stored
competitiveboolean
contact_email optionalstring | null
content_en optionalobject | null
content_fr optionalobject | null
content_it optionalobject | null
created_atstring (date-time)
created_by optionalstring (uuid) | null
description_en optionalstring | null
description_fr optionalstring | null
description_it optionalstring | null
docs_purged_at optionalstring (date-time) | null
docs_retention_daysinteger
ends_atstring (date-time)
gym_idstring (uuid)
hashstring
idstring (uuid)
leaderboard_modestring
leaderboard_namesstring
location optionalstring | null
organizer_name optionalstring | nullData controller (organiser's legal name)
organizer_privacy_text optionalstring | null
organizer_privacy_url optionalstring | nullOrganiser's privacy notice: link or text
participants_list_modestring
registration_closes_at optionalstring (date-time) | null
registration_opens_at optionalstring (date-time) | null
sectionsobject
slug optionalstring | null
starts_atstring (date-time)
statusstringdraft | published | closed | archived
templatestring
themeobject
titlestring
updated_atstring (date-time)

EventCheckinRequest

FieldTypeDescription
checked_inboolean

EventCheckinResult

Check-in result: the registration, and whether it had already checked in.

FieldTypeDescription
category_idstring (uuid)
checked_in_at optionalstring (date-time) | null
checkin_codestringShort random code for check-in by voice or by hand
completed_by_staff_at optionalstring (date-time) | nullMarked complete by hand by the staff: the recalculation from the documents does not change it until the staff chooses another status
created_atstring (date-time)
emailstring
email_confirmed_at optionalstring (date-time) | nullDouble opt-in: while NULL the registration does not count and cannot sign in
event_idstring (uuid)
first_namestring
idstring (uuid)
kindstringindividual | team
last_namestring
phone optionalstring | null
statusstringpending | complete | cancelled | removed
team_name optionalstring | null
updated_atstring (date-time)
already_checked_inbooleanHad already checked in: the time stays that of the first check-in (checked_in_at)

EventLeaderboard

Leaderboard of a category: the workouts and the rows with points or position.

FieldTypeDescription
ranking_modestring
rowsRow[]
workoutsEventWorkout[]

EventListResponse

FieldTypeDescription
eventsEventSummary[]
events_per_monthinteger
used_this_monthinteger

EventParticipant

Participant registered to an event: personal data and required documents.

FieldTypeDescription
account_idstring (uuid)
birth_date optionalstring (date) | null
created_atstring (date-time)
email optionalstring | null
first_namestring
hide_name_in_leaderboardboolean
idstring (uuid)
last_namestring
sex optionalstring | null
shirt_size optionalstring | null
sortinteger
tax_code optionalstring | null

EventPatch

Editable event fields: absent = unchanged, null = cleared.

FieldTypeDescription
auto_delete_after_days optionalinteger | null
cancel_until optionalstring (date-time) | null
checkin_codes optionalboolean | null
collected_fields optionalstring[] | null
competitive optionalboolean | null
contact_email optionalstring | null
content_en optionalobject | null
content_fr optionalobject | null
content_it optionalobject | null
description_en optionalstring | null
description_fr optionalstring | null
description_it optionalstring | null
docs_retention_days optionalinteger | null
ends_at optionalstring (date-time) | null
leaderboard_mode optionalstring | null
leaderboard_names optionalstring | null
location optionalstring | null
organizer_name optionalstring | null
organizer_privacy_text optionalstring | null
organizer_privacy_url optionalstring | null
participants_list_mode optionalstring | null
registration_closes_at optionalstring (date-time) | null
registration_opens_at optionalstring (date-time) | null
sections optionalobject | null
slug optionalstring | null
starts_at optionalstring (date-time) | null
template optionalstring | null
theme optionalobject | null
title optionalstring | null

EventSummary

FieldTypeDescription
auto_delete_accountsboolean
auto_delete_after_daysinteger
cancel_until optionalstring (date-time) | null
checkin_codesbooleanPersonal check-in code for every registrant (off by default)
collected_fieldsstring[]Optional participant fields the organiser collects (sex, tax_code, shirt_size, phone): the others are neither asked nor stored
competitiveboolean
contact_email optionalstring | null
content_en optionalobject | null
content_fr optionalobject | null
content_it optionalobject | null
created_atstring (date-time)
created_by optionalstring (uuid) | null
description_en optionalstring | null
description_fr optionalstring | null
description_it optionalstring | null
docs_purged_at optionalstring (date-time) | null
docs_retention_daysinteger
ends_atstring (date-time)
gym_idstring (uuid)
hashstring
idstring (uuid)
leaderboard_modestring
leaderboard_namesstring
location optionalstring | null
organizer_name optionalstring | nullData controller (organiser's legal name)
organizer_privacy_text optionalstring | null
organizer_privacy_url optionalstring | nullOrganiser's privacy notice: link or text
participants_list_modestring
registration_closes_at optionalstring (date-time) | null
registration_opens_at optionalstring (date-time) | null
sectionsobject
slug optionalstring | null
starts_atstring (date-time)
statusstringdraft | published | closed | archived
templatestring
themeobject
titlestring
updated_atstring (date-time)
has_coverboolean
has_rulesboolean
public_keystring
registrationsinteger

EventWorkout

Event workout, with score type and ranking mode.

FieldTypeDescription
created_atstring (date-time)
event_idstring (uuid)
idstring (uuid)
ranking_modestringpositions | points_table | raw_sum
score_typestringtime | reps | load | distance | calories | points
sortinteger
tiebreak_type optionalstring | nulltime | reps | load | distance | calories | points
titlestring

ExpiringCertificate

FieldTypeDescription
expires_onstring (date)
first_namestring
last_namestring
user_idstring (uuid)
verifiedboolean

ExpiringMembership

FieldTypeDescription
credits_balance optionalinteger | null
ends_onstring (date)
first_namestring
last_namestring
plan_namestring
user_idstring (uuid)

FeeDue

FieldTypeDescription
first_namestring
last_fee_ends_on optionalstring (date) | nullExpiry of the last fee, if there was one
last_namestring
user_idstring (uuid)

GymDto

The gym as a user sees it. invite_code appears only for owner/admin.

FieldTypeDescription
api_enabledbooleanBox API enabled: the API keys section of the panel appears only when it is on
api_rate_limit_per_minintegerRequests per minute in total across all the gym's API keys (429 above)
booking_animationbooleanAfter booking, the app shows a random animated exercise
bookings_open_until optionalstring | nullAll classes up to this date (inclusive) can be booked right away
events_enabledbooleanEvents section enabled for the gym (platform admin, default no)
events_per_monthintegerEvents that can be created per month (only the platform admin changes it)
external_payment_enabledbooleanThe gym already has its own payment system: when a booking is refused with membership_required the app offers "Renew here" (if the member already has a membership starting later, next_membership_starts_on, it shows instead when they will be able to book)
external_payment_url optionalstring | nullLink to renew or buy a membership on the gym's website. Members only receive it when the option is on
idstring (uuid)
invite_code optionalstring | null
is_listedbooleanListed in the app's search
logo_url optionalstring | nullPublic address of the uploaded logo (PNG, no login needed), absent if the gym has not uploaded one. It changes with every upload.
mcp_enabledbooleanMCP connector enabled: the owner and admins can connect an AI assistant (Claude, ChatGPT…) to the gym (platform admin, off by default)
member_docs_enabledbooleanGym documents to be signed in the app (enrollment form, terms, rules)
membership_fee_cents optionalinteger | nullProposed membership fee amount, in cents
my_rolestringRole of the user who made the request
namestring
plan_expires_at optionalstring (date-time) | null
plan_statusstring
primary_color optionalstring | null
pt_enabledbooleanPersonal training module enabled: the panel menu entry and the app section only appear when it is on (platform admin, default no)
qr_checkin_enabledbooleanMember's QR to record entries (off: the app does not show it)
reminder_minutes_beforeintegerPre-class reminder in minutes (0 = off)
require_medical_certificatebooleanA valid medical certificate is required to book
require_membership_feebooleanThe annual membership fee (club membership) must be paid to book
service_activebooleanService active: if false, panel and app only show the notice (other calls answer gym_inactive)
service_blocks_at optionalstring (date-time) | nullWhen the service is blocked (the expiry: no grace period)
show_coach_last_namebooleanIn classes the coach appears with first and last name (otherwise first name only)
show_pricesbooleanMembers see amounts and prices in the app
slugstring
timezonestring
wod_tv_enabledbooleanWod TV enabled: the panel menu entry appears only when it is on

Image

FieldTypeDescription
alt_text optionalstring | null
created_atstring (date-time)
event_idstring (uuid)
height optionalinteger | null
idstring (uuid)
kindstring
link_url optionalstring | nullSponsor's website (https), opened by clicking the logo
sortinteger
width optionalinteger | null

ImagePatch

FieldTypeDescription
alt optionalstring | null
link optionalstring | null

InactiveMember

FieldTypeDescription
emailstring
first_namestring
has_membershipbooleanHas an active membership today
joined_atstring (date-time)
last_attended_at optionalstring (date-time) | nullLast class attended (none = never)
last_namestring
user_idstring (uuid)

JoinRequestForStaff

The request as staff see it.

FieldTypeDescription
avatar_path optionalstring | null
created_atstring (date-time)
emailstring
first_namestring
idstring (uuid)
last_namestring
message optionalstring | null
phone optionalstring | null
statusstring
user_idstring (uuid)

LedgerEntry

FieldTypeDescription
booking_id optionalstring (uuid) | null
created_atstring (date-time)
created_by optionalstring (uuid) | null
deltainteger
idstring (uuid)
membership_idstring (uuid)
note optionalstring | null
reasonstring

Location

FieldTypeDescription
address optionalstring | null
created_atstring (date-time)
gym_idstring (uuid)
idstring (uuid)
is_defaultboolean
namestring
timezone optionalstring | null

LocationRequest

FieldTypeDescription
address optionalstring | null
is_default optionalboolean | null
namestring
timezone optionalstring | null

LowCredits

FieldTypeDescription
credits_balanceinteger
first_namestring
last_namestring
plan_namestring
user_idstring (uuid)

Member

A member as the gym's staff see them.

FieldTypeDescription
avatar_url optionalstring | nullPath relative to the API (e.g. /files/avatars/<uuid>.jpg)
emailstring
email_editablebooleanLike managed_by_gym, and the account was also created by this gym's staff (or is a member without an email): the email can be changed too. For the others Boxly changes it on request.
first_namestring
joined_atstring (date-time)
last_namestring
managed_by_gymbooleanMember who belongs only to this gym: the owner and admins can edit their details and delete their account. False for staff and for members who also belong to other gyms (there Boxly does it on request).
phone optionalstring | null
photo_hiddenbooleanIn the gym the member appears without a photo (owner's choice)
rolestring
statusstring
user_idstring (uuid)

MembershipFee

Annual membership fee (club membership): staff record it and it is approved as such. Covers classes from starts_on to ends_on inclusive.

FieldTypeDescription
amount_cents optionalinteger | null
approved_atstring (date-time)
approved_by optionalstring (uuid) | null
created_atstring (date-time)
ends_onstring (date)
gym_idstring (uuid)
idstring (uuid)
notes optionalstring | null
payment_id optionalstring (uuid) | null
starts_onstring (date)
user_idstring (uuid)

MembershipFeeRequest

FieldTypeDescription
amount_cents optionalinteger | nullDefault: the amount proposed by the gym
ends_on optionalstring (date) | nullDefault: one year from the start (last day included)
notes optionalstring | null
payment optionalPaymentInput | nullIf present (and with amount > 0) also records the payment
starts_on optionalstring (date) | nullDefault: today

MembershipRequest

FieldTypeDescription
credits optionalinteger | nullDefault: the plan's credits (from 1 to 1000)
ends_on optionalstring (date) | nullDefault: from the plan's duration, last day included (30 days from 9 Feb → 10 Mar; 1 month from 9 Feb → 8 Mar, from 31 Jan → 28 Feb)
notes optionalstring | null
payment optionalPaymentInput | nullIf present, also records the payment
plan_idstring (uuid)
starts_on optionalstring (date) | nullDefault: today

MembershipResponse

FieldTypeDescription
created_atstring (date-time)
credits_balance optionalinteger | nullLedger total (NULL for unlimited plans)
credits_total optionalinteger | null
ends_on optionalstring (date) | null
frozen_on optionalstring (date) | null
gym_idstring (uuid)
idstring (uuid)
notes optionalstring | null
plan_idstring (uuid)
plan_kindstring
plan_max_per_day optionalinteger | nullPlan limits (NULL = none)
plan_max_per_week optionalinteger | null
plan_namestring
starts_onstring (date)
statusstring
suspensionsSuspensionBrief[]Suspensions for a period, earliest first: on those days the membership cannot be used to book
updated_atstring (date-time)
user_idstring (uuid)
payment optionalPayment | null

MembershipView

Membership with the plan's name and type and the computed credit balance.

FieldTypeDescription
created_atstring (date-time)
credits_balance optionalinteger | nullLedger total (NULL for unlimited plans)
credits_total optionalinteger | null
ends_on optionalstring (date) | null
frozen_on optionalstring (date) | null
gym_idstring (uuid)
idstring (uuid)
notes optionalstring | null
plan_idstring (uuid)
plan_kindstring
plan_max_per_day optionalinteger | nullPlan limits (NULL = none)
plan_max_per_week optionalinteger | null
plan_namestring
starts_onstring (date)
statusstring
suspensionsSuspensionBrief[]Suspensions for a period, earliest first: on those days the membership cannot be used to book
updated_atstring (date-time)
user_idstring (uuid)

MyBooking

Booking with the class data, for "my bookings".

FieldTypeDescription
booked_atstring (date-time)
checked_in_at optionalstring (date-time) | null
class_type_color optionalstring | null
class_type_idstring (uuid)
class_type_namestring
coach_name optionalstring | null
end_atstring (date-time)
idstring (uuid)
location_address optionalstring | nullAddress of the location, if set
location_namestring
occurrence_idstring (uuid)
occurrence_statusstring
room_name optionalstring | null
start_atstring (date-time)
statusstring
workout_animation optionalstring | nullExercise animation picked by hand for the workout of the day: missing = from the text, none = none
workout_notes optionalstring | null
workout_title optionalstring | nullThe class's workout of the day, if set

OccupancyRow

FieldTypeDescription
attendedinteger
bookedintegerSeats taken: booked + attended + no-shows
capacityinteger
keystringClass type / coach id, ISO weekday number (1 = Monday) or hour "HH"
labelstring
no_showinteger
occurrencesinteger

Occurrence

A class on the calendar, with names already resolved for the client.

FieldTypeDescription
booked_countintegerSeats taken: active bookings + promotions waiting to be accepted
booking_opens_atstring (date-time)From when booking is possible: the "hours before" rule or, if the gym opened early up to a date covering the class, right now (the class creation time is used).
cancel_reason optionalstring | null
capacityinteger
class_type_color optionalstring | null
class_type_idstring (uuid)
class_type_namestring
close_minutes_beforeintegerHow many minutes before the start bookings close
closure_id optionalstring (uuid) | null
coach_id optionalstring (uuid) | null
coach_name optionalstring | null
created_atstring (date-time)
credit_costintegerEntries consumed by a booking (from the class type)
end_atstring (date-time)
free_cancel_minutes_beforeintegerFrom the booking rule in force (class type or gym default): up to how many minutes before cancelling is free
gym_idstring (uuid)
idstring (uuid)
is_modifiedboolean
location_idstring (uuid)
location_namestring
my_booking_status optionalstring | nullBooking status of the viewer (even if cancelled), if any
my_waitlist_rank optionalinteger | nullPosition on the waitlist (only if waiting)
my_waitlist_status optionalstring | nullWaitlist status of the viewer (waiting or promoted)
notes optionalstring | null
open_hours_beforeintegerHow many hours before the start booking opens
room_id optionalstring (uuid) | null
room_name optionalstring | null
start_atstring (date-time)
statusstring
template_id optionalstring (uuid) | null
updated_atstring (date-time)
waitlist_countintegerPeople on the waitlist
waitlist_enabledbooleanFrom the rule in force: when the class is full you can join the waitlist
workout_animation optionalstring | nullExercise animation picked by hand for the workout of the day: missing = from the text, none = none
workout_notes optionalstring | null
workout_title optionalstring | nullWorkout of the day (WOD) of the class type on that day, if set

Participant

A member as other members see them: first name and initial, photo. Whoever chose not to appear is "Athlete" with no id or photo.

FieldTypeDescription
anonymousboolean
avatar_url optionalstring | null
display_namestring
is_meboolean
statusstring
trialbooleanTrial added by staff (shown in the app with the mascot, without a photo)
user_id optionalstring (uuid) | null

ParticipantView

FieldTypeDescription
account_idstring (uuid)
birth_date optionalstring (date) | null
created_atstring (date-time)
email optionalstring | null
first_namestring
hide_name_in_leaderboardboolean
idstring (uuid)
last_namestring
sex optionalstring | null
shirt_size optionalstring | null
sortinteger
tax_code optionalstring | null
consent_link_sent_at optionalstring (date-time) | nullWhen the latest consent link was sent to the team member
consent_pendingbooleanTeam member who has not yet given their consents from the link received by email (the registration stays pending)
documentsDocumentView[]
is_minorboolean

ParticipantVisibility

FieldTypeDescription
hide_name_in_leaderboardboolean

Participants

FieldTypeDescription
participantsParticipant[]
totalinteger
waitlistWaiter[]
waitlist_totalinteger

Payment

FieldTypeDescription
amount_centsinteger
created_atstring (date-time)
currencystring
gym_idstring (uuid)
idstring (uuid)
membership_id optionalstring (uuid) | null
methodstring
note optionalstring | null
paid_atstring (date-time)
receipt_numberstring
recorded_by optionalstring (uuid) | null
user_idstring (uuid)

PaymentInput

FieldTypeDescription
amount_centsinteger
methodstringcash | bank_transfer | pos | other
note optionalstring | null

PaymentListItem

A payment in the staff list, with names already resolved.

FieldTypeDescription
amount_centsinteger
created_atstring (date-time)
currencystring
gym_idstring (uuid)
idstring (uuid)
membership_id optionalstring (uuid) | null
methodstring
note optionalstring | null
paid_atstring (date-time)
receipt_numberstring
recorded_by optionalstring (uuid) | null
user_idstring (uuid)
email optionalstring | nullMember's email: empty if they deleted their account; a placeholder address for members created without an email
first_namestringMember's first name
last_namestringMember's last name
membership_feebooleanThe payment settles a membership fee
plan_name optionalstring | nullPlan of the membership the payment refers to, if any
recorded_by_name optionalstring | nullFull name of the person who recorded the payment

PaymentRequest

FieldTypeDescription
amount_centsinteger
membership_id optionalstring (uuid) | null
methodstring
note optionalstring | null
paid_at optionalstring (date-time) | null

Plan

FieldTypeDescription
class_type_ids optionalstring (uuid)[] | nullNULL = all class types
created_atstring (date-time)
credits optionalinteger | null
currencystring
description optionalstring | null
duration_days optionalinteger | nullValidity in days from activation (NULL = in months or no expiry)
duration_months optionalinteger | nullValidity in calendar months from activation, 1–36 (NULL = in days or no expiry)
gym_idstring (uuid)
idstring (uuid)
is_activeboolean
kindstring
location_ids optionalstring (uuid)[] | nullNULL = all locations
max_per_day optionalinteger | nullMaximum entries per day with this plan (NULL = no limit)
max_per_week optionalinteger | nullMaximum entries per week with this plan (NULL = no limit)
namestring
price_cents optionalinteger | nullNULL = plan without a price (e.g. events)
sort_orderinteger
updated_atstring (date-time)

PolicyRequest

FieldTypeDescription
auto_no_show optionalboolean | null
block_days optionalinteger | null
class_type_id optionalstring (uuid) | nullAbsent = the gym's default rule
close_minutes_before optionalinteger | null
free_cancel_minutes_before optionalinteger | null
max_active_bookings optionalinteger | null
max_per_day optionalinteger | null
max_per_week optionalinteger | null
no_show_strikes_before_block optionalinteger | null
open_hours_before optionalinteger | null
waitlist_accept_minutes optionalinteger | null
waitlist_enabled optionalboolean | null

PolicyRow

FieldTypeDescription
auto_no_showboolean
block_daysinteger
class_type_id optionalstring (uuid) | nullNULL = the gym's default
close_minutes_beforeinteger
created_atstring (date-time)
free_cancel_minutes_beforeinteger
gym_idstring (uuid)
idstring (uuid)
max_active_bookings optionalinteger | null
max_per_day optionalinteger | null
max_per_week optionalinteger | null
no_show_strikes_before_block optionalinteger | null
open_hours_beforeinteger
updated_atstring (date-time)
waitlist_accept_minutes optionalinteger | null
waitlist_enabledboolean

PtSession

FieldTypeDescription
booked_by optionalstring (uuid) | null
cancel_reason optionalstring | null
cancelled_at optionalstring (date-time) | null
coach_avatar_url optionalstring | null
coach_idstring (uuid)
coach_namestring
consumesbooleanDeducts a session from the package
created_atstring (date-time)
end_atstring (date-time)
gym_idstring (uuid)
idstring (uuid)
location_address optionalstring | nullAddress of the coach's location; if the coach has no location, the address of the gym's main location
location_name optionalstring | null
membership_id optionalstring (uuid) | nullPackage it is deducted from (empty = session outside any package)
membership_name optionalstring | null
membership_price_cents optionalinteger | nullPackage price in cents (empty if it has no price)
membership_sessions_total optionalinteger | nullSessions included in the package
note optionalstring | null
room_name optionalstring | null
session_price_cents optionalinteger | nullPackage price divided by its sessions, in rounded cents (empty for sessions outside a package or packages without a price)
start_atstring (date-time)
statusstringpending (awaiting confirmation), confirmed, done, no_show (member absent), cancelled (cancelled in time), late_cancelled (cancelled late), declined (declined by the coach)
user_avatar_url optionalstring | null
user_idstring (uuid)
user_namestring

RecentNoShow

FieldTypeDescription
class_type_namestring
first_namestring
last_namestring
no_show_strikesinteger
occurrence_idstring (uuid)
start_atstring (date-time)
user_idstring (uuid)

RecentTrial

FieldTypeDescription
attended optionalboolean | nullAttendance: empty = not marked yet, true = present
class_type_namestring
idstring (uuid)
name optionalstring | nullName chosen by staff; empty = "Trial" ("Prova")
note optionalstring | nullNote visible to staff only
occurrence_idstring (uuid)
start_atstring (date-time)

RecurringBooking

FieldTypeDescription
created_atstring (date-time)
created_by optionalstring (uuid) | null
gym_idstring (uuid)
idstring (uuid)
template_idstring (uuid)
user_idstring (uuid)

RecurringRequest

FieldTypeDescription
user_id optionalstring (uuid) | nullFor staff: the member to book. Absent = the requester.

Requirement

FieldTypeDescription
applies_tostringall | minors
event_idstring (uuid)
has_templatebooleanThe path stays on the server: the panel only needs to know whether it exists.
idstring (uuid)
kindstringmedical_certificate | waiver | parent_consent | id_document | payment_receipt | other
modestringupload | declaration
requiredboolean
sortinteger
titlestring

RequirementPatch

FieldTypeDescription
applies_to optionalstring | nullall | minors
kind optionalstring | nullmedical_certificate | waiver | parent_consent | id_document | payment_receipt | other
mode optionalstring | nullupload (file to upload) | declaration (ticked declaration)
required optionalboolean | null
sort optionalinteger | null
title optionalstring | null

ReviewRequest

FieldTypeDescription
approveboolean
expected_updated_at optionalstring (date-time) | nullThe document's updated_at as you read it (from list_event_accounts): if it changed in the meantime (new upload or another review) the response is 409 and nothing is decided. Without it, the document is decided as it was when the request arrived, in any state (even already approved or rejected): two requests at the same time give a single outcome, and a document already in the requested state is returned as it is, without another email
reason optionalstring | null

Room

FieldTypeDescription
capacity optionalinteger | null
created_atstring (date-time)
idstring (uuid)
location_idstring (uuid)
namestring

RoomRequest

FieldTypeDescription
capacity optionalinteger | null
namestring

Row

FieldTypeDescription
account_idstring (uuid)
category_idstring (uuid)
display_namestringDisplayed name, already filtered by the privacy settings
hidden_from_publicbooleanStaff leaderboard only: the registration is not complete yet, so the row does not appear in the public leaderboard (which still has the same totals and positions)
rankinteger
resultsWorkoutResult[]
teamboolean
totalnumber

Score

FieldTypeDescription
account_idstring (uuid)
entered_atstring (date-time)
entered_by optionalstring (uuid) | null
idstring (uuid)
scaledboolean
tiebreak optionalnumber | null
valuenumber
workout_idstring (uuid)

ScoreRequest

FieldTypeDescription
account_idstring (uuid)
scaled optionalboolean
tiebreak optionalnumber | null
valuenumber

StatusRequest

FieldTypeDescription
statusstringdraft | published | closed | archived

SuspensionBrief

Membership suspension for a period (from/to, inclusive)

FieldTypeDescription
ends_onstring (date)Last suspended day (inclusive)
has_certificatebooleanThe certificate file justifying the suspension is available
idstring (uuid)
starts_onstring (date)First suspended day

TemplateChangePreview

Preview of a weekly template change: the future classes with bookings that would change day, time, class type or location. They are the ones booked_lessons decides about (move them or keep them as they are). On a deactivated template it is always zero: its remaining classes do not follow the changes until it is reactivated.

FieldTypeDescription
bookingsintegerActive bookings on those classes
first_start_at optionalstring (date-time) | nullStart of the first of those classes; null if there are none
lessons_not_movableintegerFuture classes with bookings that would stay as they are even with move: the new day is closed or already has another class of the template, the new time has already passed, or attendance or no-shows have already been marked for the class
lessons_with_bookingsintegerFuture classes with bookings that would be moved
lessons_with_waitlist_onlyintegerFuture classes with no bookings but with someone on the waiting list (or with a spot to accept) that would be moved: booked_lessons applies to them too, and with move those waiting are notified
lessons_without_dayintegerFuture classes with bookings on a removed day with no new day in its place: they stay scheduled as they are (cancel them from the Calendar)
members_removedintegerWith move and a new class type or location: members (booked or on the waiting list) who cannot take it with their membership (or medical certificate, membership fee, documents; those on the waiting list also if the class will cost more entries than before and they do not have them) and would be removed, with a notice (entries already used are refunded); each counted once, like the removed_members of the update

TemplateDeactivation

Result of "Deactivate" with cancel_booked=true.

FieldTypeDescription
cancelled_occurrencesintegerFuture classes with bookings cancelled, including those already cancelled by a closure with members to book again (they stay cancelled even when the closure is removed): the same number as the deactivation-preview preview
notified_membersintegerMembers notified (booked and waitlist), each counted once

TemplateReactivationPreview

Preview of a weekly template reactivation: the future classes in the calendar after the reactivation and the cancelled ones that stay cancelled.

FieldTypeDescription
cancelled_lessonsintegerCancelled future classes (by deactivating the template with cancel_booked or by hand) that stay cancelled: they keep their day, where no other class is generated. Those cancelled by a closure are excluded: they come back when it is removed.
first_start_at optionalstring (date-time) | nullStart of the first of those classes; null if there are none
last_cancelled_at optionalstring (date-time) | nullStart of the last of those cancelled classes; null if there are none
lessonsintegerFuture classes scheduled after the reactivation, over the next three months: those that stayed, those that come back and those generated again
recurring_membersintegerMembers with a recurring booking on the template: they are booked automatically on the scheduled classes (not on the cancelled ones nor on those they had cancelled)

TemplateRequest

FieldTypeDescription
capacityinteger
class_type_idstring (uuid)
coach_id optionalstring (uuid) | null
duration_min optionalinteger | nullDefault: the class type's duration
location_idstring (uuid)
room_id optionalstring (uuid) | null
start_timestringLocal time of the location, HH:MM
valid_from optionalstring (date) | nullDefault: today
valid_until optionalstring (date) | null
weekdaysinteger[]ISO weekdays: 1 = Monday ... 7 = Sunday

TemplateUpdate

Result of a weekly template update: the template, plus the classes moved with their booked members.

FieldTypeDescription
capacityinteger
class_type_idstring (uuid)
coach_id optionalstring (uuid) | null
created_atstring (date-time)
deactivated_at optionalstring (date-time) | nullWhen it was deactivated; null if it is active
duration_mininteger
gym_idstring (uuid)
idstring (uuid)
is_activebooleanfalse = deactivated: it no longer generates classes, it stays for the history
location_idstring (uuid)
room_id optionalstring (uuid) | null
start_timestringLocal time of the location (e.g. 18:30:00)
updated_atstring (date-time)
valid_fromstring (date)
valid_until optionalstring (date) | null
weekdaysinteger[]ISO weekdays: 1 = Monday ... 7 = Sunday
moved_lessonsintegerFuture classes with bookings or with someone on the waiting list moved to the new schedule (only with booked_lessons: move)
notified_membersintegerMembers notified of the move, each counted once
removed_membersintegerMembers removed from the classes moved to another class type or location because their membership (or medical certificate, membership fee, documents; on the waiting list, also the entries, if the class costs more) does not allow it: booking cancelled with the entry refunded, if one was used, or removed from the waiting list, and a notice; each counted once (only with booked_lessons: move)

TodaySummary

FieldTypeDescription
bookedinteger
capacityinteger
occurrencesinteger

TrialSpot

Trial in a class: a staff placeholder for someone coming to try who is not a member. It takes a seat; staff mark whether they came, with no strikes or automatic no-show; the note is for staff only.

FieldTypeDescription
attended optionalboolean | nullAttendance: empty = not marked yet, true = present, false = absent
created_atstring (date-time)
created_by_name optionalstring | nullWho added it (first and last name)
idstring (uuid)
name optionalstring | nullName chosen by staff; empty = "Trial" ("Prova")
note optionalstring | nullNote visible to staff only
occurrence_idstring (uuid)

TvDay

A day as the panel sees it: the classes' skills of the week and, if any, the custom text.

FieldTypeDescription
custom optionalCustomDay | null
daystring
workoutsDayWorkout[]

UpdateClassTypeRequest

FieldTypeDescription
color optionalstring | null
credit_cost optionalinteger | nullEntries consumed by a booking (1–20)
description optionalstring | null
duration_min optionalinteger | null
is_active optionalboolean | null
level optionalstring | null
name optionalstring | null

UpdateGymRequest

The logo is not changed here: upload it with POST /gyms/{gym_id}/logo.

FieldTypeDescription
booking_animation optionalboolean | nullAnimated exercise after booking
bookings_open_until optionalstring | nullEarly opening: classes can be booked right away up to this date (inclusive). Absent = unchanged, null = removed.
external_payment_enabled optionalboolean | nullYou already have your own payment system: turning it on requires a link (in the body or already saved)
external_payment_url optionalstring | nullLink to renew on the gym's website (http or https; without a scheme https:// is added). Missing = unchanged, null or empty = removed.
is_listed optionalboolean | nullVisible in the app's search (false = invite code only)
member_docs_enabled optionalboolean | nullGym documents to be signed in the app
membership_fee_cents optionalinteger | nullProposed fee amount (cents). Absent = unchanged, null = removed.
name optionalstring | null
primary_color optionalstring | nullPrimary colour in hex, e.g. #C6FF3D
qr_checkin_enabled optionalboolean | nullMember's QR for entries
reminder_minutes_before optionalinteger | null0 = no reminder, maximum 1440
require_medical_certificate optionalboolean | null
require_membership_fee optionalboolean | nullAnnual membership fee required to book
show_coach_last_name optionalboolean | nullCoach's last name shown in classes
show_prices optionalboolean | nullAmounts and prices visible to members in the app
timezone optionalstring | null

UpdateLocationRequest

FieldTypeDescription
address optionalstring | null
is_default optionalboolean | null
name optionalstring | null
timezone optionalstring | null

UpdateMemberProfileRequest

FieldTypeDescription
email optionalstring | nullNew email: only for members created by the gym's staff (403 otherwise), 409 if it already belongs to another account. The new address receives the email with the link to choose a password and sign in to the app (valid for 7 days); links sent earlier, the previous password and open sessions stop working.
first_name optionalstring | null
last_name optionalstring | null
phone optionalstring | nullEmpty string = removes the phone

UpdateRoomRequest

FieldTypeDescription
capacity optionalinteger | null
name optionalstring | null

UpdateTemplateRequest

FieldTypeDescription
booked_lessons optionalBookedLessons | nullIf the days, time, class type or location change: what to do with the future classes that already have bookings (see the change-preview preview). move moves them to the new schedule and notifies the booked members; keep (default) leaves them as they are. Either way the template keeps a single class per day.
capacity optionalinteger | null
class_type_id optionalstring (uuid) | null
coach_id optionalstring (uuid) | nullnull to remove the coach
duration_min optionalinteger | null
is_active optionalboolean | nullfalse deactivates it like the DELETE; true reactivates it and generates the future classes again
location_id optionalstring (uuid) | null
room_id optionalstring (uuid) | nullnull to remove the room
start_time optionalstring | null
valid_from optionalstring (date) | null
valid_until optionalstring (date) | nullnull to make it never expire
weekdays optionalinteger[] | null

Waiter

Who is waiting: same privacy as the attendees, plus the position.

FieldTypeDescription
anonymousboolean
avatar_url optionalstring | null
display_namestring
is_meboolean
positioninteger1 = next in line
promotedbooleanAlready has a spot offered and must accept it
user_id optionalstring (uuid) | null

WaitlistEntry

FieldTypeDescription
created_atstring (date-time)
expires_at optionalstring (date-time) | null
gym_idstring (uuid)
idstring (uuid)
occurrence_idstring (uuid)
positioninteger
promoted_at optionalstring (date-time) | null
statusstring
updated_atstring (date-time)
user_idstring (uuid)

WaitlistEntryWithUser

FieldTypeDescription
created_atstring (date-time)
expires_at optionalstring (date-time) | null
first_namestring
idstring (uuid)
last_namestring
rankinteger
statusstring
user_idstring (uuid)

WodTv

Look and content of the TV. The token is the public address.

FieldTypeDescription
accent_colorstringAccent colour (clock, labels), #RRGGBB
bg_colorstringBackground colour, #RRGGBB
bg_color2stringSecond gradient colour, #RRGGBB
bg_modestringsolid | gradient | image
class_type_ids optionalstring (uuid)[] | nullClass types shown; absent = all
fontstringunbounded | manrope | serif | mono | system
gym_idstring (uuid)
orientationstringauto | landscape | portrait
rotate_secondsintegerSeconds between one WOD and the next when there is more than one (5–120)
show_clockbooleanClock at the top right
show_logobooleanGym logo next to the name
show_schedulebooleanStrip with today's classes
text_colorstringText colour, #RRGGBB
text_scaleintegerText size as a percentage (50–200)
tokenstring
updated_atstring (date-time)

WodTvDto

FieldTypeDescription
bg_image_url optionalstring | nullUploaded background photo, if any
class_typesClassTypeLite[]Active class types (to choose which ones to show)
daysTvDay[]Today and the coming days
public_urlstringAddress to open on the TV
settingsWodTv
todaystring

WodTvSettingsRequest

FieldTypeDescription
accent_colorstringAccent colour (clock, labels), #RRGGBB
bg_colorstringBackground colour, #RRGGBB
bg_color2stringSecond gradient colour, #RRGGBB
bg_modestringsolid | gradient | image
class_type_ids optionalstring (uuid)[] | nullClass types to show; absent or empty = all
fontstringunbounded | manrope | serif | mono | system
orientationstringauto | landscape | portrait
rotate_secondsintegerSeconds between one class and the next, 5–120
show_clockbooleanClock at the top right
show_logobooleanGym logo next to the name
show_schedulebooleanStrip with today's classes
text_colorstringText colour, #RRGGBB
text_scaleintegerText size as a percentage, 50–200

Workout

What is done on a given day for a class type: shared by all classes of that type on that day (in the gym's time zone).

FieldTypeDescription
animation optionalstring | nullExercise animation picked by hand for the workout of the day: missing = from the text, none = none
class_type_idstring (uuid)
created_atstring (date-time)
created_by optionalstring (uuid) | null
daystring (date)
gym_idstring (uuid)
idstring (uuid)
notes optionalstring | null
titlestring
updated_atstring (date-time)

WorkoutItem

A workout of the day to save; empty title = removes it.

FieldTypeDescription
animation optionalstring | nullExercise animation in the app: missing = keeps the previous one, auto = from the text, none = none, otherwise the exercise name (e.g. deadlift)
class_type_idstring (uuid)
daystring (e.g. 2026-10-20)
notes optionalstring | null
titlestring

WorkoutPatch

FieldTypeDescription
ranking_mode optionalstring | nullpositions | points_table | raw_sum
score_type optionalstring | nulltime | reps | load | distance | calories | points
sort optionalinteger | null
tiebreak_type optionalstring | nulltime | reps | load | distance | calories | points (null = none)
title optionalstring | null

WorkoutResult

FieldTypeDescription
contributionnumberPoints or position used for the overall ranking
rank optionalinteger | null
scaledboolean
tiebreak optionalnumber | null
value optionalnumber | null
workout_idstring (uuid)

Changelog

Catalogue routes do not change without notice; response fields may be added, never removed. API usage and responsibility for exported data: see the terms for gyms.