GET /gyms/{gym_id}
Read the gym's data
Permission to grant to the key: get_gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
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.
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 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.
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.
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 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"}
| HTTP | error | When |
|---|---|---|
| 400 | bad_request | Missing or invalid field, malformed JSON body |
| 401 | unauthorized | Key missing, unknown, expired or revoked (the message says which) |
| 403 | api_disabled | API access switched off for the gym |
| 403 | missing_scope | API not granted to this key |
| 403 | forbidden | API outside the catalogue, another gym, or action not allowed |
| 403 | gym_inactive | The gym's service is suspended or expired |
| 404 | not_found | Resource does not exist |
| 409 | conflict | Incompatible 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) |
| 409 | membership_required | Booking 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) |
| 429 | too_many_requests | Rate limit exceeded |
| 500 | internal | Our fault: retry, and write to us if it persists |
| 503 | email_not_sent | An email that had to go out right away was not sent (for example from send_member_access_link): try again in a few minutes |
429 too_many_requests: wait a few seconds and retry. For batch jobs, space out the calls.file field.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.
No dedicated app is needed: use the generic HTTP module of each tool.
https://api.boxly.run/gyms/GYM_ID/…, headers Authorization: Bearer bx_live_… and Content-Type: application/json, JSON data.Authorization and value Bearer bx_live_….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.
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.
/gyms/{gym_id}Read the gym's data
Permission to grant to the key: get_gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
/gyms/{gym_id}Update the gym's data and settings
Permission to grant to the key: update_gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
booking_animation optional | boolean | null | Animated exercise after booking |
bookings_open_until optional | string | null | Early opening: classes can be booked right away up to this date (inclusive). Absent = unchanged, null = removed. |
external_payment_enabled optional | boolean | null | You already have your own payment system: turning it on requires a link (in the body or already saved) |
external_payment_url optional | string | null | Link to renew on the gym's website (http or https; without a scheme https:// is added). Missing = unchanged, null or empty = removed. |
is_listed optional | boolean | null | Visible in the app's search (false = invite code only) |
member_docs_enabled optional | boolean | null | Gym documents to be signed in the app |
membership_fee_cents optional | integer | null | Proposed fee amount (cents). Absent = unchanged, null = removed. |
name optional | string | null | |
primary_color optional | string | null | Primary colour in hex, e.g. #C6FF3D |
qr_checkin_enabled optional | boolean | null | Member's QR for entries |
reminder_minutes_before optional | integer | null | 0 = no reminder, maximum 1440 |
require_medical_certificate optional | boolean | null | |
require_membership_fee optional | boolean | null | Annual membership fee required to book |
show_coach_last_name optional | boolean | null | Coach's last name shown in classes |
show_prices optional | boolean | null | Amounts and prices visible to members in the app |
timezone optional | string | null |
/gyms/{gym_id}/invite-codeRegenerate the invite code
Permission to grant to the key: rotate_invite_code
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
/gyms/{gym_id}/locationsList locations
Permission to grant to the key: list_locations
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
/gyms/{gym_id}/locationsCreate a location
Permission to grant to the key: create_location
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
address optional | string | null | |
is_default optional | boolean | null | |
name | string | |
timezone optional | string | null |
/gyms/{gym_id}/locations/{location_id}Update a location
Permission to grant to the key: update_location
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
location_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
address optional | string | null | |
is_default optional | boolean | null | |
name optional | string | null | |
timezone optional | string | null |
/gyms/{gym_id}/locations/{location_id}Delete a location
Permission to grant to the key: delete_location
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
location_id * | path | string (uuid) |
/gyms/{gym_id}/locations/{location_id}/roomsCreate a room in a location
Permission to grant to the key: create_room
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
location_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
capacity optional | integer | null | |
name | string |
/gyms/{gym_id}/logoUpload the gym's logo (multipart, field file: PNG, JPG or WebP, up to 1 MB)
Permission to grant to the key: upload_gym_logo
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
/gyms/{gym_id}/logoRemove the gym's logo
Permission to grant to the key: delete_gym_logo
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
/gyms/{gym_id}/roomsList rooms
Permission to grant to the key: list_rooms
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
/gyms/{gym_id}/rooms/{room_id}Update a room
Permission to grant to the key: update_room
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
room_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
capacity optional | integer | null | |
name optional | string | null |
/gyms/{gym_id}/rooms/{room_id}Delete a room
Permission to grant to the key: delete_room
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
room_id * | path | string (uuid) |
/gyms/{gym_id}/join-requestsPending join requests
Permission to grant to the key: list_join_requests
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
200 JoinRequestForStaff[]429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/join-requests/{request_id}/approveApprove a join request
Permission to grant to the key: approve_join_request
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
request_id * | path | string (uuid) |
/gyms/{gym_id}/join-requests/{request_id}/rejectReject a join request
Permission to grant to the key: reject_join_request
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
request_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
reason optional | string | null | Reason for the rejection, shown to the member (optional) |
/gyms/{gym_id}/membersList members and staff
Permission to grant to the key: list_members
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
/gyms/{gym_id}/membersCreate a member (with or without email)
Permission to grant to the key: create_member
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
email optional | string | null | Must 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_name | string | |
last_name | string | |
phone optional | string | null | |
send_invite optional | boolean | null | With 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). |
/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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
user_id * | path | string (uuid) |
/gyms/{gym_id}/members/{user_id}/access-linkEmail a member the link to choose a password and sign in to the app
Permission to grant to the key: send_member_access_link
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
user_id * | path | string (uuid) |
/gyms/{gym_id}/members/{user_id}/avatarUpload the photo of a member who belongs only to this gym (JPG or PNG)
Permission to grant to the key: upload_member_avatar
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
user_id * | path | string (uuid) |
/gyms/{gym_id}/members/{user_id}/avatarRemove the photo of a member who belongs only to this gym
Permission to grant to the key: delete_member_avatar
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
user_id * | path | string (uuid) |
/gyms/{gym_id}/members/{user_id}/profileUpdate 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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
user_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
email optional | string | null | New 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 optional | string | null | |
last_name optional | string | null | |
phone optional | string | null | Empty string = removes the phone |
/gyms/{gym_id}/members/{user_id}/unblockUnblock a member blocked for no-shows
Permission to grant to the key: unblock_member
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
user_id * | path | string (uuid) |
/gyms/{gym_id}/members/{user_id}/membership-feesA member's membership fees
Permission to grant to the key: list_membership_fees
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
user_id * | path | string (uuid) |
200 MembershipFee[]429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/members/{user_id}/membership-feesRecord a member's membership fee
Permission to grant to the key: create_membership_fee
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
user_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
amount_cents optional | integer | null | Default: the amount proposed by the gym |
ends_on optional | string (date) | null | Default: one year from the start (last day included) |
notes optional | string | null | |
payment optional | PaymentInput | null | If present (and with amount > 0) also records the payment |
starts_on optional | string (date) | null | Default: today |
201 MembershipFeeResponse400 ErrorBody403 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/members/{user_id}/membership-fees/{fee_id}Delete a membership fee
Permission to grant to the key: delete_membership_fee
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
user_id * | path | string (uuid) | |
fee_id * | path | string (uuid) |
/gyms/{gym_id}/members/{user_id}/membershipsA member's memberships
Permission to grant to the key: list_memberships
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
user_id * | path | string (uuid) |
200 MembershipView[]429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/members/{user_id}/membershipsAssign a membership (optional payment)
Permission to grant to the key: create_membership
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
user_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
credits optional | integer | null | Default: the plan's credits (from 1 to 1000) |
ends_on optional | string (date) | null | Default: 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 optional | string | null | |
payment optional | PaymentInput | null | If present, also records the payment |
plan_id | string (uuid) | |
starts_on optional | string (date) | null | Default: today |
201 MembershipResponse400 ErrorBody403 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/members/{user_id}/memberships/{membership_id}/freezeFreeze a membership
Permission to grant to the key: freeze_membership
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
user_id * | path | string (uuid) | |
membership_id * | path | string (uuid) |
200 MembershipView409 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/members/{user_id}/memberships/{membership_id}/ledgerCredit movements of a membership
Permission to grant to the key: membership_ledger
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
user_id * | path | string (uuid) | |
membership_id * | path | string (uuid) |
200 LedgerEntry[]429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/members/{user_id}/memberships/{membership_id}/unfreezeUnfreeze a membership
Permission to grant to the key: unfreeze_membership
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
user_id * | path | string (uuid) | |
membership_id * | path | string (uuid) |
200 MembershipView409 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/members/{user_id}/paymentsRecord a payment
Permission to grant to the key: create_payment
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
user_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
amount_cents | integer | |
membership_id optional | string (uuid) | null | |
method | string | |
note optional | string | null | |
paid_at optional | string (date-time) | null |
/gyms/{gym_id}/paymentsList payments in a period (CSV too)
Permission to grant to the key: list_payments
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
from | query | string | Start of the period (included): a YYYY-MM-DD date, meaning midnight in the gym's time zone, or RFC 3339 (default: 365 days ago) |
to | query | string | End 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_id | query | string (uuid) | Only this member's payments |
format | query | string | json (default) | csv |
200 PaymentListItem[]400 ErrorBody403 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/plansList membership plans
Permission to grant to the key: list_plans
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
include_inactive | query | boolean |
/gyms/{gym_id}/class-typesList class types
Permission to grant to the key: list_class_types
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
include_inactive | query | boolean |
/gyms/{gym_id}/class-typesCreate a class type
Permission to grant to the key: create_class_type
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
color optional | string | null | Hex #RRGGBB |
credit_cost optional | integer | null | Entries consumed by a booking (1–20, default 1) |
description optional | string | null | |
duration_min optional | integer | null | Default 60 |
level optional | string | null | |
name | string |
/gyms/{gym_id}/class-types/{class_type_id}Update a class type
Permission to grant to the key: update_class_type
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
class_type_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
color optional | string | null | |
credit_cost optional | integer | null | Entries consumed by a booking (1–20) |
description optional | string | null | |
duration_min optional | integer | null | |
is_active optional | boolean | null | |
level optional | string | null | |
name optional | string | null |
/gyms/{gym_id}/scheduleClasses in a date range
Permission to grant to the key: list_schedule
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
from | query | string | Start of the range, RFC 3339 or a YYYY-MM-DD date (default: now) |
to | query | string | End of the range, excluded (default: from + 14 days, maximum 62) |
location_id | query | string (uuid) | |
class_type_id | query | string (uuid) | |
coach_id | query | string (uuid) | |
include_cancelled | query | boolean |
200 Occurrence[]400 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/schedule/{occurrence_id}Class details
Permission to grant to the key: get_occurrence
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
occurrence_id * | path | string (uuid) |
200 Occurrence404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/templatesList weekly templates
Permission to grant to the key: list_templates
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
include_inactive | query | boolean |
200 ClassTemplate[]429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/templatesCreate a weekly template
Permission to grant to the key: create_template
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
capacity | integer | |
class_type_id | string (uuid) | |
coach_id optional | string (uuid) | null | |
duration_min optional | integer | null | Default: the class type's duration |
location_id | string (uuid) | |
room_id optional | string (uuid) | null | |
start_time | string | Local time of the location, HH:MM |
valid_from optional | string (date) | null | Default: today |
valid_until optional | string (date) | null | |
weekdays | integer[] | ISO weekdays: 1 = Monday ... 7 = Sunday |
201 ClassTemplate400 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
template_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
booked_lessons optional | BookedLessons | null | If 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 optional | integer | null | |
class_type_id optional | string (uuid) | null | |
coach_id optional | string (uuid) | null | null to remove the coach |
duration_min optional | integer | null | |
is_active optional | boolean | null | false deactivates it like the DELETE; true reactivates it and generates the future classes again |
location_id optional | string (uuid) | null | |
room_id optional | string (uuid) | null | null to remove the room |
start_time optional | string | null | |
valid_from optional | string (date) | null | |
valid_until optional | string (date) | null | null to make it never expire |
weekdays optional | integer[] | null |
200 TemplateUpdate404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
template_id * | path | string (uuid) | |
cancel_booked | query | boolean | true = 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 |
200 TemplateDeactivation · With cancel_booked=true: classes cancelled and members notified204 — · Without cancel_booked: template deactivated404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/templates/{template_id}/change-previewBefore 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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
template_id * | path | string (uuid) | |
weekdays | query | string | New weekdays separated by commas, 1 = Monday ... 7 = Sunday (e.g. 1,3,5) |
start_time | query | string | New time, HH:MM |
class_type_id | query | string (uuid) | New class type |
location_id | query | string (uuid) | New location |
200 TemplateChangePreview400 ErrorBody404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/templates/{template_id}/deactivation-previewBefore deactivating a weekly template: how many future classes already have bookings
Permission to grant to the key: preview_template_deactivation
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
template_id * | path | string (uuid) |
200 DeactivationPreview404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/templates/{template_id}/reactivation-previewBefore 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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
template_id * | path | string (uuid) |
200 TemplateReactivationPreview404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/workoutsRead workouts of the day (WOD)
Permission to grant to the key: list_workouts
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
from * | query | string | |
to * | query | string |
/gyms/{gym_id}/workoutsWrite workouts of the day (WOD)
Permission to grant to the key: save_workouts
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
items | WorkoutItem[] |
/gyms/{gym_id}/booking-policiesRead booking rules
Permission to grant to the key: list_policies
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
/gyms/{gym_id}/booking-policiesCreate or update a booking rule
Permission to grant to the key: upsert_policy
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
auto_no_show optional | boolean | null | |
block_days optional | integer | null | |
class_type_id optional | string (uuid) | null | Absent = the gym's default rule |
close_minutes_before optional | integer | null | |
free_cancel_minutes_before optional | integer | null | |
max_active_bookings optional | integer | null | |
max_per_day optional | integer | null | |
max_per_week optional | integer | null | |
no_show_strikes_before_block optional | integer | null | |
open_hours_before optional | integer | null | |
waitlist_accept_minutes optional | integer | null | |
waitlist_enabled optional | boolean | null |
/gyms/{gym_id}/booking-policies/{policy_id}Delete a booking rule
Permission to grant to the key: delete_policy
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
policy_id * | path | string (uuid) |
/gyms/{gym_id}/checkinEntrance check-in with the member's QR (turnstiles and readers)
Permission to grant to the key: checkin
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
occurrence_id optional | string (uuid) | null | The class to check in to. Absent = the booking "happening now". |
token | string | The content of the QR shown by the member's app |
walk_in optional | boolean | null | Without 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. |
200 CheckinResponse400 ErrorBody404 ErrorBody409 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/members/{user_id}/bookingsA member's booking and attendance history
Permission to grant to the key: member_bookings
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
user_id * | path | string (uuid) | |
from | query | string | |
to | query | string |
/gyms/{gym_id}/recurringRecurring bookings
Permission to grant to the key: list_recurring
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
template_id | query | string (uuid) | |
user_id | query | string (uuid) |
200 RecurringBooking[]429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/schedule/{occurrence_id}/bookingsBookings and waitlist of a class
Permission to grant to the key: list_occurrence_bookings
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
occurrence_id * | path | string (uuid) |
200 OccurrenceBookings429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/schedule/{occurrence_id}/bookingsBook a member into a class
Permission to grant to the key: book_for
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
occurrence_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
check_in optional | boolean | null | true = 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 optional | boolean | null | true = books even without a valid membership/certificate (e.g. free trial) |
user_id | string (uuid) |
201 BookOutcome404 ErrorBody409 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
occurrence_id * | path | string (uuid) | |
user_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
status | string | attended or no_show (from 2 hours before the start) | booked (to correct; once the class has ended, removing an attendance makes it no_show) |
/gyms/{gym_id}/schedule/{occurrence_id}/bookings/{user_id}Remove a member from a class
Permission to grant to the key: cancel_for
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
occurrence_id * | path | string (uuid) | |
user_id * | path | string (uuid) |
/gyms/{gym_id}/schedule/{occurrence_id}/participantsClass participants as shown in the app
Permission to grant to the key: list_participants
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
occurrence_id * | path | string (uuid) |
200 Participants403 ErrorBody404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/templates/{template_id}/recurringCreate a recurring booking on a template
Permission to grant to the key: create_recurring
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
template_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
user_id optional | string (uuid) | null | For staff: the member to book. Absent = the requester. |
201 RecurringBooking403 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/templates/{template_id}/recurring/{user_id}Remove a recurring booking
Permission to grant to the key: delete_recurring
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
template_id * | path | string (uuid) | |
user_id * | path | string (uuid) |
/gyms/{gym_id}/broadcastNotify all members
Permission to grant to the key: broadcast
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
body | string | |
email optional | boolean | null | Also by email, to those who allow it |
title | string |
202 BroadcastResponse400 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/members/{user_id}/messageMessage a member
Permission to grant to the key: message_member
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
user_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
body | string | |
email optional | boolean | null | Also by email, to those who allow it |
title | string |
202 BroadcastResponse400 ErrorBody404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/dashboardToday's dashboard
Permission to grant to the key: dashboard
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
/gyms/{gym_id}/reports/attendanceAttendance report (also CSV)
Permission to grant to the key: report_attendance
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
from | query | string | |
to | query | string | |
format | query | string | json (default) | csv |
200 AttendanceRow[]403 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/reports/coach-hoursHours worked by coaches: finished classes and PT sessions, summary per coach (also CSV)
Permission to grant to the key: report_coach_hours
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
from | query | string | Start 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) |
to | query | string | End 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_id | query | string (uuid) | Only this coach's classes and sessions |
format | query | string | json (default) | csv |
200 CoachHoursReport400 ErrorBody403 ErrorBody404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/reports/inactiveInactive members (also CSV)
Permission to grant to the key: report_inactive
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
days | query | integer | |
format | query | string | json (default) | csv |
200 InactiveMember[]403 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/reports/occupancyOccupancy report (also CSV)
Permission to grant to the key: report_occupancy
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
from | query | string | |
to | query | string | |
by | query | string | class_type | coach | weekday | hour |
format | query | string | json (default) | csv |
200 OccupancyRow[]403 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/eventsList events
Permission to grant to the key: list_events · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
200 EventListResponse403 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/eventsCreate an event
Permission to grant to the key: create_event · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
checkin_codes optional | boolean | null | Personal check-in code for every registrant (default: no) |
ends_at | string (date-time) | |
registration_closes_at optional | string (date-time) | null | Registration closes (empty = when the event starts) |
registration_opens_at optional | string (date-time) | null | Registration opens (empty = as soon as published) |
starts_at | string (date-time) | |
template optional | string | null | gara (default) | benefico | essenziale: only "gara" starts with the medical requirement and the parental consent |
title | string |
201 EventSummary400 ErrorBody409 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/events/{id}Event details
Permission to grant to the key: get_event · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) |
200 EventSummary404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/events/{id}Update an event
Permission to grant to the key: update_event · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
auto_delete_after_days optional | integer | null | |
cancel_until optional | string (date-time) | null | |
checkin_codes optional | boolean | null | |
collected_fields optional | string[] | null | |
competitive optional | boolean | null | |
contact_email optional | string | null | |
content_en optional | object | null | |
content_fr optional | object | null | |
content_it optional | object | null | |
description_en optional | string | null | |
description_fr optional | string | null | |
description_it optional | string | null | |
docs_retention_days optional | integer | null | |
ends_at optional | string (date-time) | null | |
leaderboard_mode optional | string | null | |
leaderboard_names optional | string | null | |
location optional | string | null | |
organizer_name optional | string | null | |
organizer_privacy_text optional | string | null | |
organizer_privacy_url optional | string | null | |
participants_list_mode optional | string | null | |
registration_closes_at optional | string (date-time) | null | |
registration_opens_at optional | string (date-time) | null | |
sections optional | object | null | |
slug optional | string | null | |
starts_at optional | string (date-time) | null | |
template optional | string | null | |
theme optional | object | null | |
title optional | string | null |
200 EventSummary400 ErrorBody404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/events/{id}Delete an event
Permission to grant to the key: delete_event · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) |
/gyms/{gym_id}/events/{id}/accountsEvent registrations (with participants and documents)
Permission to grant to the key: list_event_accounts · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) |
200 AccountView[]404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
aid * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
force optional | boolean | true to reactivate a cancelled or removed registration even when the category is full (without it, 409 sold out) |
status | string | pending | complete | cancelled | removed |
/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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
aid * | path | string (uuid) |
/gyms/{gym_id}/events/{id}/accounts/{aid}/checkinCheck in a registration at the event
Permission to grant to the key: event_checkin · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
aid * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
checked_in | boolean |
200 EventCheckinResult404 ErrorBody409 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/events/{id}/categoriesEvent categories
Permission to grant to the key: list_event_categories · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) |
/gyms/{gym_id}/events/{id}/categoriesCreate a category
Permission to grant to the key: create_event_category · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
capacity optional | integer | null | Places in the category (null = no limit) |
constraints optional | object | null | |
force optional | boolean | Update only: true to lower the places below the registrations already holding them (without it, 409) |
kind optional | string | null | individual | team |
name optional | string | null | |
price_cents optional | integer | null | Fee in cents (null = free) |
sort optional | integer | null | |
team_max optional | integer | null | |
team_min optional | integer | null |
/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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
cid * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
capacity optional | integer | null | Places in the category (null = no limit) |
constraints optional | object | null | |
force optional | boolean | Update only: true to lower the places below the registrations already holding them (without it, 409) |
kind optional | string | null | individual | team |
name optional | string | null | |
price_cents optional | integer | null | Fee in cents (null = free) |
sort optional | integer | null | |
team_max optional | integer | null | |
team_min optional | integer | null |
/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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
cid * | path | string (uuid) |
/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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
code * | path | string |
200 EventCheckinResult404 ErrorBody409 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/events/{id}/documents/{did}/fileDownload a participant's document
Permission to grant to the key: download_event_document · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
did * | path | string (uuid) |
/gyms/{gym_id}/events/{id}/documents/{did}/reviewApprove or reject a participant's document
Permission to grant to the key: review_event_document · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
did * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
approve | boolean | |
expected_updated_at optional | string (date-time) | null | The 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 optional | string | null |
/gyms/{gym_id}/events/{id}/export.csvCSV export of registrations
Permission to grant to the key: event_export_csv · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) |
/gyms/{gym_id}/events/{id}/imagesEvent page images
Permission to grant to the key: list_event_images · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) |
/gyms/{gym_id}/events/{id}/imagesUpload an image (cover, gallery, sponsor)
Permission to grant to the key: upload_event_image · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) |
/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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
iid * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
alt optional | string | null | |
link optional | string | null |
/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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
iid * | path | string (uuid) |
/gyms/{gym_id}/events/{id}/leaderboardEvent leaderboard
Permission to grant to the key: event_leaderboard · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) |
200 CategoryLeaderboard[]404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/events/{id}/linksPublic and preview links of an event
Permission to grant to the key: event_links · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) |
200 EventLinks404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
pid * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
hide_name_in_leaderboard | boolean |
200 EventParticipant404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/events/{id}/requirementsDocument requirements of an event
Permission to grant to the key: list_event_requirements · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) |
200 Requirement[]404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/events/{id}/requirementsCreate a document requirement
Permission to grant to the key: create_event_requirement · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
applies_to optional | string | null | all | minors |
kind optional | string | null | medical_certificate | waiver | parent_consent | id_document | payment_receipt | other |
mode optional | string | null | upload (file to upload) | declaration (ticked declaration) |
required optional | boolean | null | |
sort optional | integer | null | |
title optional | string | null |
201 Requirement400 ErrorBody404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
rid * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
applies_to optional | string | null | all | minors |
kind optional | string | null | medical_certificate | waiver | parent_consent | id_document | payment_receipt | other |
mode optional | string | null | upload (file to upload) | declaration (ticked declaration) |
required optional | boolean | null | |
sort optional | integer | null | |
title optional | string | null |
200 Requirement400 ErrorBody404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
rid * | path | string (uuid) |
/gyms/{gym_id}/events/{id}/requirements/{rid}/templateDownload a requirement's template
Permission to grant to the key: download_requirement_template · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
rid * | path | string (uuid) |
/gyms/{gym_id}/events/{id}/requirements/{rid}/templateUpload a requirement's template (PDF)
Permission to grant to the key: upload_requirement_template · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
rid * | path | string (uuid) |
200 Requirement400 ErrorBody404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/events/{id}/requirements/{rid}/templateDelete a requirement's template
Permission to grant to the key: delete_requirement_template · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
rid * | path | string (uuid) |
/gyms/{gym_id}/events/{id}/rulesUpload the rules (PDF)
Permission to grant to the key: upload_event_rules · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) |
/gyms/{gym_id}/events/{id}/rulesDelete the rules
Permission to grant to the key: delete_event_rules · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) |
/gyms/{gym_id}/events/{id}/statusChange 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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
status | string | draft | published | closed | archived |
/gyms/{gym_id}/events/{id}/workoutsEvent workouts and scores
Permission to grant to the key: list_event_workouts · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) |
200 EventWorkout[]404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/gyms/{gym_id}/events/{id}/workoutsCreate a workout
Permission to grant to the key: create_event_workout · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
ranking_mode optional | string | null | positions | points_table | raw_sum |
score_type optional | string | null | time | reps | load | distance | calories | points |
sort optional | integer | null | |
tiebreak_type optional | string | null | time | reps | load | distance | calories | points (null = none) |
title optional | string | null |
201 EventWorkout400 ErrorBody404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
wid * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
ranking_mode optional | string | null | positions | points_table | raw_sum |
score_type optional | string | null | time | reps | load | distance | calories | points |
sort optional | integer | null | |
tiebreak_type optional | string | null | time | reps | load | distance | calories | points (null = none) |
title optional | string | null |
200 EventWorkout400 ErrorBody404 ErrorBody429 ErrorBody · Per-minute request limit exceeded for this gym: try again shortly/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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
wid * | path | string (uuid) |
/gyms/{gym_id}/events/{id}/workouts/{wid}/scoresEnter or update a score
Permission to grant to the key: upsert_event_score · Only when events are enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
wid * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
account_id | string (uuid) | |
scaled optional | boolean | |
tiebreak optional | number | null | |
value | number |
/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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
id * | path | string (uuid) | |
wid * | path | string (uuid) | |
aid * | path | string (uuid) |
/gyms/{gym_id}/wod-tvRead 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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
/gyms/{gym_id}/wod-tvChange the Wod TV look
Permission to grant to the key: update_wod_tv · Only when the Wod TV is enabled for the gym
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
| Field | Type | Description |
|---|---|---|
accent_color | string | Accent colour (clock, labels), #RRGGBB |
bg_color | string | Background colour, #RRGGBB |
bg_color2 | string | Second gradient colour, #RRGGBB |
bg_mode | string | solid | gradient | image |
class_type_ids optional | string (uuid)[] | null | Class types to show; absent or empty = all |
font | string | unbounded | manrope | serif | mono | system |
orientation | string | auto | landscape | portrait |
rotate_seconds | integer | Seconds between one class and the next, 5–120 |
show_clock | boolean | Clock at the top right |
show_logo | boolean | Gym logo next to the name |
show_schedule | boolean | Strip with today's classes |
text_color | string | Text colour, #RRGGBB |
text_scale | integer | Text size as a percentage, 50–200 |
/gyms/{gym_id}/wod-tv/backgroundUpload 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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
/gyms/{gym_id}/wod-tv/backgroundRemove 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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) |
/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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
day * | path | string | Day YYYY-MM-DD in the gym's time zone |
| Field | Type | Description |
|---|---|---|
body optional | string | null | WOD text, one line per movement (2000 characters at most) |
title | string | Empty = back to the class skills |
/gyms/{gym_id}/pt/sessionsList 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
| Parameter | In | Type | Notes |
|---|---|---|---|
gym_id * | path | string (uuid) | |
from | query | string | ISO 8601, default now |
to | query | string | ISO 8601, default +7 days |
coach_id | query | string (uuid) | Only this coach's sessions |
user_id | query | string (uuid) | Only this member's sessions |
status | query | string | Only these statuses, comma-separated (e.g. done,no_show) |
| Field | Type | Description |
|---|---|---|
category_id | string (uuid) | |
checked_in_at optional | string (date-time) | null | |
checkin_code | string | Short random code for check-in by voice or by hand |
completed_by_staff_at optional | string (date-time) | null | Marked complete by hand by the staff: the recalculation from the documents does not change it until the staff chooses another status |
created_at | string (date-time) | |
email | string | |
email_confirmed_at optional | string (date-time) | null | Double opt-in: while NULL the registration does not count and cannot sign in |
event_id | string (uuid) | |
first_name | string | |
id | string (uuid) | |
kind | string | individual | team |
last_name | string | |
phone optional | string | null | |
status | string | pending | complete | cancelled | removed |
team_name optional | string | null | |
updated_at | string (date-time) |
| Field | Type | Description |
|---|---|---|
force optional | boolean | true to reactivate a cancelled or removed registration even when the category is full (without it, 409 sold out) |
status | string | pending | complete | cancelled | removed |
| Field | Type | Description |
|---|---|---|
category_id | string (uuid) | |
checked_in_at optional | string (date-time) | null | |
checkin_code | string | Short code for check-in by voice or by hand |
completed_by_staff_at optional | string (date-time) | null | Marked complete by hand by the staff: the recalculation from the documents does not change it until the staff chooses another status |
created_at | string (date-time) | |
email | string | |
email_confirmed_at optional | string (date-time) | null | Double opt-in: while NULL the registration does not count and cannot sign in |
event_id | string (uuid) | |
first_name | string | |
id | string (uuid) | |
kind | string | individual | team |
last_name | string | |
phone optional | string | null | |
status | string | pending | complete | cancelled | removed |
team_name optional | string | null | |
updated_at | string (date-time) | |
linked_to_boxly | boolean | Signed in with Boxly credentials (without saying which user) |
participants | ParticipantView[] |
| Field | Type | Description |
|---|---|---|
status | string | attended or no_show (from 2 hours before the start) | booked (to correct; once the class has ended, removing an attendance makes it no_show) |
| Field | Type | Description |
|---|---|---|
attended | integer | |
booked | integer | Valid bookings (booked, attended or no-show) |
cancelled | integer | |
first_name | string | |
last_name | string | |
late_cancelled | integer | |
no_show | integer | |
user_id | string (uuid) |
| Field | Type | Description |
|---|---|---|
check_in optional | boolean | null | true = 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 optional | boolean | null | true = books even without a valid membership/certificate (e.g. free trial) |
user_id | string (uuid) |
| Field | Type | Description |
|---|---|---|
booked_at | string (date-time) | |
booked_by optional | string (uuid) | null | |
cancelled_at optional | string (date-time) | null | |
cancelled_by_class optional | boolean | Cancelled because the gym cancelled the class (credit refunded): "Restore" books it again. |
checked_in_at optional | string (date-time) | null | |
created_at | string (date-time) | |
credit_tx_id optional | string (uuid) | null | Credit ledger movement charged by this booking |
gym_id | string (uuid) | |
id | string (uuid) | |
occurrence_id | string (uuid) | |
status | string | |
updated_at | string (date-time) | |
user_id | string (uuid) |
Booking with the user's data, for the staff attendance list.
| Field | Type | Description |
|---|---|---|
booked_at | string (date-time) | |
booked_by optional | string (uuid) | null | |
checked_in_at optional | string (date-time) | null | |
email | string | |
first_name | string | |
id | string (uuid) | |
last_name | string | |
status | string | |
user_id | string (uuid) |
| Field | Type | Description |
|---|---|---|
body | string | |
email optional | boolean | null | Also by email, to those who allow it |
title | string |
| Field | Type | Description |
|---|---|---|
queued | boolean |
| Field | Type | Description |
|---|---|---|
capacity optional | integer | null | |
constraints | object | |
created_at | string (date-time) | |
event_id | string (uuid) | |
id | string (uuid) | |
kind | string | individual | team |
name | string | |
price_cents optional | integer | null | |
sort | integer | |
team_max | integer | |
team_min | integer |
| Field | Type | Description |
|---|---|---|
category | Category | |
leaderboard | EventLeaderboard |
| Field | Type | Description |
|---|---|---|
capacity optional | integer | null | Places in the category (null = no limit) |
constraints optional | object | null | |
force optional | boolean | Update only: true to lower the places below the registrations already holding them (without it, 409) |
kind optional | string | null | individual | team |
name optional | string | null | |
price_cents optional | integer | null | Fee in cents (null = free) |
sort optional | integer | null | |
team_max optional | integer | null | |
team_min optional | integer | null |
| Field | Type | Description |
|---|---|---|
occurrence_id optional | string (uuid) | null | The class to check in to. Absent = the booking "happening now". |
token | string | The content of the QR shown by the member's app |
walk_in optional | boolean | null | Without 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. |
| Field | Type | Description |
|---|---|---|
booking optional | Booking | null | |
occurrence optional | Occurrence | null | |
outcome | CheckinOutcome | |
user | CheckinUser | |
warnings | string[] | Things to tell the member: certificate expired, membership over… |
| Field | Type | Description |
|---|---|---|
email | string | |
first_name | string | |
id | string (uuid) | |
last_name | string |
| Field | Type | Description |
|---|---|---|
capacity | integer | |
class_type_id | string (uuid) | |
coach_id optional | string (uuid) | null | |
created_at | string (date-time) | |
deactivated_at optional | string (date-time) | null | When it was deactivated; null if it is active |
duration_min | integer | |
gym_id | string (uuid) | |
id | string (uuid) | |
is_active | boolean | false = deactivated: it no longer generates classes, it stays for the history |
location_id | string (uuid) | |
room_id optional | string (uuid) | null | |
start_time | string | Local time of the location (e.g. 18:30:00) |
updated_at | string (date-time) | |
valid_from | string (date) | |
valid_until optional | string (date) | null | |
weekdays | integer[] | ISO weekdays: 1 = Monday ... 7 = Sunday |
| Field | Type | Description |
|---|---|---|
color optional | string | null | |
created_at | string (date-time) | |
credit_cost | integer | Entries (credits) consumed by a booking |
description optional | string | null | |
duration_min | integer | |
gym_id | string (uuid) | |
id | string (uuid) | |
is_active | boolean | |
level optional | string | null | |
name | string | |
updated_at | string (date-time) |
| Field | Type | Description |
|---|---|---|
color optional | string | null | |
id | string (uuid) | |
name | string |
| Field | Type | Description |
|---|---|---|
color optional | string | null | Hex #RRGGBB |
credit_cost optional | integer | null | Entries consumed by a booking (1–20, default 1) |
description optional | string | null | |
duration_min optional | integer | null | Default 60 |
level optional | string | null | |
name | string |
Hours worked by coaches in the period: summary per coach and detail.
| Field | Type | Description |
|---|---|---|
coach_options | CoachOption[] | Coaches to offer as a filter: those with the coach role and anyone who worked in the period |
coaches | CoachHoursSummary[] | One item per coach with classes or sessions in the period, by name; classes without a coach come last |
from | string (date-time) | Start of the period (included) |
pt_enabled | boolean | Personal trainer enabled for the gym: only then are PT sessions included |
rows | CoachHoursRow[] | Classes and sessions already over, by start time |
timezone | string | The gym's time zone: the rows' dates and times are in this time zone |
to | string (date-time) | End of the period (excluded) |
A group class or PT session already over, in the coach hours report. Dates and times are in the gym's time zone.
| Field | Type | Description |
|---|---|---|
attended | integer | Attended; PT session: 1 if done |
booked | integer | Seats taken (booked + attended + no-shows); PT session: 1 unless cancelled |
class_type_name optional | string | null | Class type (empty for PT sessions) |
coach_id optional | string (uuid) | null | Coach of that single class, even if different from the recurring slot's coach (empty = no coach) |
coach_name optional | string | null | |
counted | boolean | The hours count in the totals (false for cancelled classes and sessions) |
date | string (date) | Day of the start in the gym's time zone |
end_at | string (date-time) | |
end_time | string | End time HH:MM in the gym's time zone |
hours | number | The minutes in decimal hours, with at most six decimals: the rows add up to the total |
id | string (uuid) | Id of the class or session |
kind | string | class (group class) | pt (personal training session) |
location_name optional | string | null | Location (for PT sessions the coach's one, if set) |
minutes | integer | Minutes worked: actual end minus start (correct even on the night the clocks change); 0 if cancelled |
room_name optional | string | null | |
start_at | string (date-time) | |
start_time | string | Start time HH:MM in the gym's time zone |
status | string | Class: held or cancelled. PT session: done, no_show (member absent), confirmed (confirmed, not marked yet), cancelled (cancelled in time) or late_cancelled (cancelled late) |
weekday | integer | ISO weekday (1 = Monday) |
A coach's totals for the period.
| Field | Type | Description |
|---|---|---|
cancelled | integer | Cancelled classes and sessions: in the detail with 0 hours, left out of the totals |
class_minutes | integer | Minutes of the classes taught |
classes | integer | Group classes taught (not cancelled) |
coach_id optional | string (uuid) | null | Empty = classes without a coach |
coach_name optional | string | null | |
pt_minutes | integer | Minutes of the PT sessions that count |
pt_sessions | integer | PT sessions that count: done, member absent, confirmed and already over |
total_hours | number | The total in decimal hours, rounded to two decimals |
total_minutes | integer | Classes plus PT sessions, in minutes |
Coach offered as a filter of the report.
| Field | Type | Description |
|---|---|---|
first_name | string | |
last_name | string | |
user_id | string (uuid) |
| Field | Type | Description |
|---|---|---|
checkin_codes optional | boolean | null | Personal check-in code for every registrant (default: no) |
ends_at | string (date-time) | |
registration_closes_at optional | string (date-time) | null | Registration closes (empty = when the event starts) |
registration_opens_at optional | string (date-time) | null | Registration opens (empty = as soon as published) |
starts_at | string (date-time) | |
template optional | string | null | gara (default) | benefico | essenziale: only "gara" starts with the medical requirement and the parental consent |
title | string |
| Field | Type | Description |
|---|---|---|
email optional | string | null | Must 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_name | string | |
last_name | string | |
phone optional | string | null | |
send_invite optional | boolean | null | With 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). |
Custom text for a day: it replaces the class skills on the TV.
| Field | Type | Description |
|---|---|---|
body optional | string | null | |
day | string | |
gym_id | string (uuid) | |
title | string | |
updated_at | string (date-time) |
| Field | Type | Description |
|---|---|---|
body optional | string | null | WOD text, one line per movement (2000 characters at most) |
title | string | Empty = back to the class skills |
| Field | Type | Description |
|---|---|---|
active_members | integer | |
certificates_attention | ExpiringCertificate[] | |
low_credits | LowCredits[] | |
members_missing_documents | integer | Members missing a required signature (0 if the gym does not ask for documents) |
members_without_certificate | integer | |
membership_fees_due | FeeDue[] | With a current membership but the membership fee still due (empty if the gym does not require it) |
memberships_expiring | ExpiringMembership[] | |
recent_no_shows | RecentNoShow[] | |
recent_trials | RecentTrial[] | Trials from the last 7 days not marked absent: people to call back |
today | TodaySummary |
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.
| Field | Type | Description |
|---|---|---|
class_type_color optional | string | null | |
class_type_id | string (uuid) | |
class_type_name | string | |
day | string | |
notes optional | string | null | |
title | string |
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).
| Field | Type | Description |
|---|---|---|
bookings | integer | Bookings on those classes: active, or to be booked again when the closure is removed |
first_start_at optional | string (date-time) | null | Start of the first of those classes; null if there are none |
lessons_with_bookings | integer | Future classes with bookings: scheduled with at least one booking, or cancelled by a closure with members to book again |
| Field | Type | Description |
|---|---|---|
reason optional | string | null | Reason for the rejection, shown to the member (optional) |
| Field | Type | Description |
|---|---|---|
created_at | string (date-time) | |
declared_at optional | string (date-time) | null | |
expires_on optional | string (date) | null | |
id | string (uuid) | |
locked_at optional | string (date-time) | null | |
participant_id | string (uuid) | |
purged_at optional | string (date-time) | null | |
reject_reason optional | string | null | |
requirement_id | string (uuid) | |
reviewed_at optional | string (date-time) | null | |
status | string | |
updated_at | string (date-time) |
| Field | Type | Description |
|---|---|---|
created_at | string (date-time) | |
declared_at optional | string (date-time) | null | |
expires_on optional | string (date) | null | |
id | string (uuid) | |
locked_at optional | string (date-time) | null | |
participant_id | string (uuid) | |
purged_at optional | string (date-time) | null | |
reject_reason optional | string | null | |
requirement_id | string (uuid) | |
reviewed_at optional | string (date-time) | null | |
status | string | |
updated_at | string (date-time) | |
has_file | boolean |
| Field | Type | Description |
|---|---|---|
error | string | Stable code: bad_request, unauthorized, forbidden, not_found, conflict, membership_required, too_many_requests, gym_inactive, api_disabled, missing_scope, email_not_sent, internal |
message | string | |
next_membership_starts_on optional | string (date) | null | Only 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 |
| Field | Type | Description |
|---|---|---|
auto_delete_accounts | boolean | |
auto_delete_after_days | integer | |
cancel_until optional | string (date-time) | null | |
checkin_codes | boolean | Personal check-in code for every registrant (off by default) |
collected_fields | string[] | Optional participant fields the organiser collects (sex, tax_code, shirt_size, phone): the others are neither asked nor stored |
competitive | boolean | |
contact_email optional | string | null | |
content_en optional | object | null | |
content_fr optional | object | null | |
content_it optional | object | null | |
created_at | string (date-time) | |
created_by optional | string (uuid) | null | |
description_en optional | string | null | |
description_fr optional | string | null | |
description_it optional | string | null | |
docs_purged_at optional | string (date-time) | null | |
docs_retention_days | integer | |
ends_at | string (date-time) | |
gym_id | string (uuid) | |
hash | string | |
id | string (uuid) | |
leaderboard_mode | string | |
leaderboard_names | string | |
location optional | string | null | |
organizer_name optional | string | null | Data controller (organiser's legal name) |
organizer_privacy_text optional | string | null | |
organizer_privacy_url optional | string | null | Organiser's privacy notice: link or text |
participants_list_mode | string | |
registration_closes_at optional | string (date-time) | null | |
registration_opens_at optional | string (date-time) | null | |
sections | object | |
slug optional | string | null | |
starts_at | string (date-time) | |
status | string | draft | published | closed | archived |
template | string | |
theme | object | |
title | string | |
updated_at | string (date-time) |
| Field | Type | Description |
|---|---|---|
checked_in | boolean |
Check-in result: the registration, and whether it had already checked in.
| Field | Type | Description |
|---|---|---|
category_id | string (uuid) | |
checked_in_at optional | string (date-time) | null | |
checkin_code | string | Short random code for check-in by voice or by hand |
completed_by_staff_at optional | string (date-time) | null | Marked complete by hand by the staff: the recalculation from the documents does not change it until the staff chooses another status |
created_at | string (date-time) | |
email | string | |
email_confirmed_at optional | string (date-time) | null | Double opt-in: while NULL the registration does not count and cannot sign in |
event_id | string (uuid) | |
first_name | string | |
id | string (uuid) | |
kind | string | individual | team |
last_name | string | |
phone optional | string | null | |
status | string | pending | complete | cancelled | removed |
team_name optional | string | null | |
updated_at | string (date-time) | |
already_checked_in | boolean | Had already checked in: the time stays that of the first check-in (checked_in_at) |
Leaderboard of a category: the workouts and the rows with points or position.
| Field | Type | Description |
|---|---|---|
ranking_mode | string | |
rows | Row[] | |
workouts | EventWorkout[] |
| Field | Type | Description |
|---|---|---|
preview_url | string | |
public_url | string |
| Field | Type | Description |
|---|---|---|
events | EventSummary[] | |
events_per_month | integer | |
used_this_month | integer |
Participant registered to an event: personal data and required documents.
| Field | Type | Description |
|---|---|---|
account_id | string (uuid) | |
birth_date optional | string (date) | null | |
created_at | string (date-time) | |
email optional | string | null | |
first_name | string | |
hide_name_in_leaderboard | boolean | |
id | string (uuid) | |
last_name | string | |
sex optional | string | null | |
shirt_size optional | string | null | |
sort | integer | |
tax_code optional | string | null |
Editable event fields: absent = unchanged, null = cleared.
| Field | Type | Description |
|---|---|---|
auto_delete_after_days optional | integer | null | |
cancel_until optional | string (date-time) | null | |
checkin_codes optional | boolean | null | |
collected_fields optional | string[] | null | |
competitive optional | boolean | null | |
contact_email optional | string | null | |
content_en optional | object | null | |
content_fr optional | object | null | |
content_it optional | object | null | |
description_en optional | string | null | |
description_fr optional | string | null | |
description_it optional | string | null | |
docs_retention_days optional | integer | null | |
ends_at optional | string (date-time) | null | |
leaderboard_mode optional | string | null | |
leaderboard_names optional | string | null | |
location optional | string | null | |
organizer_name optional | string | null | |
organizer_privacy_text optional | string | null | |
organizer_privacy_url optional | string | null | |
participants_list_mode optional | string | null | |
registration_closes_at optional | string (date-time) | null | |
registration_opens_at optional | string (date-time) | null | |
sections optional | object | null | |
slug optional | string | null | |
starts_at optional | string (date-time) | null | |
template optional | string | null | |
theme optional | object | null | |
title optional | string | null |
| Field | Type | Description |
|---|---|---|
auto_delete_accounts | boolean | |
auto_delete_after_days | integer | |
cancel_until optional | string (date-time) | null | |
checkin_codes | boolean | Personal check-in code for every registrant (off by default) |
collected_fields | string[] | Optional participant fields the organiser collects (sex, tax_code, shirt_size, phone): the others are neither asked nor stored |
competitive | boolean | |
contact_email optional | string | null | |
content_en optional | object | null | |
content_fr optional | object | null | |
content_it optional | object | null | |
created_at | string (date-time) | |
created_by optional | string (uuid) | null | |
description_en optional | string | null | |
description_fr optional | string | null | |
description_it optional | string | null | |
docs_purged_at optional | string (date-time) | null | |
docs_retention_days | integer | |
ends_at | string (date-time) | |
gym_id | string (uuid) | |
hash | string | |
id | string (uuid) | |
leaderboard_mode | string | |
leaderboard_names | string | |
location optional | string | null | |
organizer_name optional | string | null | Data controller (organiser's legal name) |
organizer_privacy_text optional | string | null | |
organizer_privacy_url optional | string | null | Organiser's privacy notice: link or text |
participants_list_mode | string | |
registration_closes_at optional | string (date-time) | null | |
registration_opens_at optional | string (date-time) | null | |
sections | object | |
slug optional | string | null | |
starts_at | string (date-time) | |
status | string | draft | published | closed | archived |
template | string | |
theme | object | |
title | string | |
updated_at | string (date-time) | |
has_cover | boolean | |
has_rules | boolean | |
public_key | string | |
registrations | integer |
Event workout, with score type and ranking mode.
| Field | Type | Description |
|---|---|---|
created_at | string (date-time) | |
event_id | string (uuid) | |
id | string (uuid) | |
ranking_mode | string | positions | points_table | raw_sum |
score_type | string | time | reps | load | distance | calories | points |
sort | integer | |
tiebreak_type optional | string | null | time | reps | load | distance | calories | points |
title | string |
| Field | Type | Description |
|---|---|---|
expires_on | string (date) | |
first_name | string | |
last_name | string | |
user_id | string (uuid) | |
verified | boolean |
| Field | Type | Description |
|---|---|---|
credits_balance optional | integer | null | |
ends_on | string (date) | |
first_name | string | |
last_name | string | |
plan_name | string | |
user_id | string (uuid) |
| Field | Type | Description |
|---|---|---|
first_name | string | |
last_fee_ends_on optional | string (date) | null | Expiry of the last fee, if there was one |
last_name | string | |
user_id | string (uuid) |
The gym as a user sees it. invite_code appears only for owner/admin.
| Field | Type | Description |
|---|---|---|
api_enabled | boolean | Box API enabled: the API keys section of the panel appears only when it is on |
api_rate_limit_per_min | integer | Requests per minute in total across all the gym's API keys (429 above) |
booking_animation | boolean | After booking, the app shows a random animated exercise |
bookings_open_until optional | string | null | All classes up to this date (inclusive) can be booked right away |
events_enabled | boolean | Events section enabled for the gym (platform admin, default no) |
events_per_month | integer | Events that can be created per month (only the platform admin changes it) |
external_payment_enabled | boolean | The 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 optional | string | null | Link to renew or buy a membership on the gym's website. Members only receive it when the option is on |
id | string (uuid) | |
invite_code optional | string | null | |
is_listed | boolean | Listed in the app's search |
logo_url optional | string | null | Public address of the uploaded logo (PNG, no login needed), absent if the gym has not uploaded one. It changes with every upload. |
mcp_enabled | boolean | MCP connector enabled: the owner and admins can connect an AI assistant (Claude, ChatGPT…) to the gym (platform admin, off by default) |
member_docs_enabled | boolean | Gym documents to be signed in the app (enrollment form, terms, rules) |
membership_fee_cents optional | integer | null | Proposed membership fee amount, in cents |
my_role | string | Role of the user who made the request |
name | string | |
plan_expires_at optional | string (date-time) | null | |
plan_status | string | |
primary_color optional | string | null | |
pt_enabled | boolean | Personal training module enabled: the panel menu entry and the app section only appear when it is on (platform admin, default no) |
qr_checkin_enabled | boolean | Member's QR to record entries (off: the app does not show it) |
reminder_minutes_before | integer | Pre-class reminder in minutes (0 = off) |
require_medical_certificate | boolean | A valid medical certificate is required to book |
require_membership_fee | boolean | The annual membership fee (club membership) must be paid to book |
service_active | boolean | Service active: if false, panel and app only show the notice (other calls answer gym_inactive) |
service_blocks_at optional | string (date-time) | null | When the service is blocked (the expiry: no grace period) |
show_coach_last_name | boolean | In classes the coach appears with first and last name (otherwise first name only) |
show_prices | boolean | Members see amounts and prices in the app |
slug | string | |
timezone | string | |
wod_tv_enabled | boolean | Wod TV enabled: the panel menu entry appears only when it is on |
| Field | Type | Description |
|---|---|---|
alt_text optional | string | null | |
created_at | string (date-time) | |
event_id | string (uuid) | |
height optional | integer | null | |
id | string (uuid) | |
kind | string | |
link_url optional | string | null | Sponsor's website (https), opened by clicking the logo |
sort | integer | |
width optional | integer | null |
| Field | Type | Description |
|---|---|---|
alt optional | string | null | |
link optional | string | null |
| Field | Type | Description |
|---|---|---|
email | string | |
first_name | string | |
has_membership | boolean | Has an active membership today |
joined_at | string (date-time) | |
last_attended_at optional | string (date-time) | null | Last class attended (none = never) |
last_name | string | |
user_id | string (uuid) |
The request as staff see it.
| Field | Type | Description |
|---|---|---|
avatar_path optional | string | null | |
created_at | string (date-time) | |
email | string | |
first_name | string | |
id | string (uuid) | |
last_name | string | |
message optional | string | null | |
phone optional | string | null | |
status | string | |
user_id | string (uuid) |
| Field | Type | Description |
|---|---|---|
booking_id optional | string (uuid) | null | |
created_at | string (date-time) | |
created_by optional | string (uuid) | null | |
delta | integer | |
id | string (uuid) | |
membership_id | string (uuid) | |
note optional | string | null | |
reason | string |
| Field | Type | Description |
|---|---|---|
address optional | string | null | |
created_at | string (date-time) | |
gym_id | string (uuid) | |
id | string (uuid) | |
is_default | boolean | |
name | string | |
timezone optional | string | null |
| Field | Type | Description |
|---|---|---|
address optional | string | null | |
is_default optional | boolean | null | |
name | string | |
timezone optional | string | null |
| Field | Type | Description |
|---|---|---|
credits_balance | integer | |
first_name | string | |
last_name | string | |
plan_name | string | |
user_id | string (uuid) |
A member as the gym's staff see them.
| Field | Type | Description |
|---|---|---|
avatar_url optional | string | null | Path relative to the API (e.g. /files/avatars/<uuid>.jpg) |
email | string | |
email_editable | boolean | Like 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_name | string | |
joined_at | string (date-time) | |
last_name | string | |
managed_by_gym | boolean | Member 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 optional | string | null | |
photo_hidden | boolean | In the gym the member appears without a photo (owner's choice) |
role | string | |
status | string | |
user_id | string (uuid) |
Annual membership fee (club membership): staff record it and it is approved as such. Covers classes from starts_on to ends_on inclusive.
| Field | Type | Description |
|---|---|---|
amount_cents optional | integer | null | |
approved_at | string (date-time) | |
approved_by optional | string (uuid) | null | |
created_at | string (date-time) | |
ends_on | string (date) | |
gym_id | string (uuid) | |
id | string (uuid) | |
notes optional | string | null | |
payment_id optional | string (uuid) | null | |
starts_on | string (date) | |
user_id | string (uuid) |
| Field | Type | Description |
|---|---|---|
amount_cents optional | integer | null | Default: the amount proposed by the gym |
ends_on optional | string (date) | null | Default: one year from the start (last day included) |
notes optional | string | null | |
payment optional | PaymentInput | null | If present (and with amount > 0) also records the payment |
starts_on optional | string (date) | null | Default: today |
| Field | Type | Description |
|---|---|---|
fee | MembershipFee | |
payment optional | Payment | null |
| Field | Type | Description |
|---|---|---|
credits optional | integer | null | Default: the plan's credits (from 1 to 1000) |
ends_on optional | string (date) | null | Default: 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 optional | string | null | |
payment optional | PaymentInput | null | If present, also records the payment |
plan_id | string (uuid) | |
starts_on optional | string (date) | null | Default: today |
| Field | Type | Description |
|---|---|---|
created_at | string (date-time) | |
credits_balance optional | integer | null | Ledger total (NULL for unlimited plans) |
credits_total optional | integer | null | |
ends_on optional | string (date) | null | |
frozen_on optional | string (date) | null | |
gym_id | string (uuid) | |
id | string (uuid) | |
notes optional | string | null | |
plan_id | string (uuid) | |
plan_kind | string | |
plan_max_per_day optional | integer | null | Plan limits (NULL = none) |
plan_max_per_week optional | integer | null | |
plan_name | string | |
starts_on | string (date) | |
status | string | |
suspensions | SuspensionBrief[] | Suspensions for a period, earliest first: on those days the membership cannot be used to book |
updated_at | string (date-time) | |
user_id | string (uuid) | |
payment optional | Payment | null |
Membership with the plan's name and type and the computed credit balance.
| Field | Type | Description |
|---|---|---|
created_at | string (date-time) | |
credits_balance optional | integer | null | Ledger total (NULL for unlimited plans) |
credits_total optional | integer | null | |
ends_on optional | string (date) | null | |
frozen_on optional | string (date) | null | |
gym_id | string (uuid) | |
id | string (uuid) | |
notes optional | string | null | |
plan_id | string (uuid) | |
plan_kind | string | |
plan_max_per_day optional | integer | null | Plan limits (NULL = none) |
plan_max_per_week optional | integer | null | |
plan_name | string | |
starts_on | string (date) | |
status | string | |
suspensions | SuspensionBrief[] | Suspensions for a period, earliest first: on those days the membership cannot be used to book |
updated_at | string (date-time) | |
user_id | string (uuid) |
Booking with the class data, for "my bookings".
| Field | Type | Description |
|---|---|---|
booked_at | string (date-time) | |
checked_in_at optional | string (date-time) | null | |
class_type_color optional | string | null | |
class_type_id | string (uuid) | |
class_type_name | string | |
coach_name optional | string | null | |
end_at | string (date-time) | |
id | string (uuid) | |
location_address optional | string | null | Address of the location, if set |
location_name | string | |
occurrence_id | string (uuid) | |
occurrence_status | string | |
room_name optional | string | null | |
start_at | string (date-time) | |
status | string | |
workout_animation optional | string | null | Exercise animation picked by hand for the workout of the day: missing = from the text, none = none |
workout_notes optional | string | null | |
workout_title optional | string | null | The class's workout of the day, if set |
| Field | Type | Description |
|---|---|---|
attended | integer | |
booked | integer | Seats taken: booked + attended + no-shows |
capacity | integer | |
key | string | Class type / coach id, ISO weekday number (1 = Monday) or hour "HH" |
label | string | |
no_show | integer | |
occurrences | integer |
A class on the calendar, with names already resolved for the client.
| Field | Type | Description |
|---|---|---|
booked_count | integer | Seats taken: active bookings + promotions waiting to be accepted |
booking_opens_at | string (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 optional | string | null | |
capacity | integer | |
class_type_color optional | string | null | |
class_type_id | string (uuid) | |
class_type_name | string | |
close_minutes_before | integer | How many minutes before the start bookings close |
closure_id optional | string (uuid) | null | |
coach_id optional | string (uuid) | null | |
coach_name optional | string | null | |
created_at | string (date-time) | |
credit_cost | integer | Entries consumed by a booking (from the class type) |
end_at | string (date-time) | |
free_cancel_minutes_before | integer | From the booking rule in force (class type or gym default): up to how many minutes before cancelling is free |
gym_id | string (uuid) | |
id | string (uuid) | |
is_modified | boolean | |
location_id | string (uuid) | |
location_name | string | |
my_booking_status optional | string | null | Booking status of the viewer (even if cancelled), if any |
my_waitlist_rank optional | integer | null | Position on the waitlist (only if waiting) |
my_waitlist_status optional | string | null | Waitlist status of the viewer (waiting or promoted) |
notes optional | string | null | |
open_hours_before | integer | How many hours before the start booking opens |
room_id optional | string (uuid) | null | |
room_name optional | string | null | |
start_at | string (date-time) | |
status | string | |
template_id optional | string (uuid) | null | |
updated_at | string (date-time) | |
waitlist_count | integer | People on the waitlist |
waitlist_enabled | boolean | From the rule in force: when the class is full you can join the waitlist |
workout_animation optional | string | null | Exercise animation picked by hand for the workout of the day: missing = from the text, none = none |
workout_notes optional | string | null | |
workout_title optional | string | null | Workout of the day (WOD) of the class type on that day, if set |
| Field | Type | Description |
|---|---|---|
bookings | BookingWithUser[] | |
trials | TrialSpot[] | Trials added by staff: they take a seat, attendance without strikes |
waitlist | WaitlistEntryWithUser[] |
A member as other members see them: first name and initial, photo. Whoever chose not to appear is "Athlete" with no id or photo.
| Field | Type | Description |
|---|---|---|
anonymous | boolean | |
avatar_url optional | string | null | |
display_name | string | |
is_me | boolean | |
status | string | |
trial | boolean | Trial added by staff (shown in the app with the mascot, without a photo) |
user_id optional | string (uuid) | null |
| Field | Type | Description |
|---|---|---|
account_id | string (uuid) | |
birth_date optional | string (date) | null | |
created_at | string (date-time) | |
email optional | string | null | |
first_name | string | |
hide_name_in_leaderboard | boolean | |
id | string (uuid) | |
last_name | string | |
sex optional | string | null | |
shirt_size optional | string | null | |
sort | integer | |
tax_code optional | string | null | |
consent_link_sent_at optional | string (date-time) | null | When the latest consent link was sent to the team member |
consent_pending | boolean | Team member who has not yet given their consents from the link received by email (the registration stays pending) |
documents | DocumentView[] | |
is_minor | boolean |
| Field | Type | Description |
|---|---|---|
hide_name_in_leaderboard | boolean |
| Field | Type | Description |
|---|---|---|
participants | Participant[] | |
total | integer | |
waitlist | Waiter[] | |
waitlist_total | integer |
| Field | Type | Description |
|---|---|---|
amount_cents | integer | |
created_at | string (date-time) | |
currency | string | |
gym_id | string (uuid) | |
id | string (uuid) | |
membership_id optional | string (uuid) | null | |
method | string | |
note optional | string | null | |
paid_at | string (date-time) | |
receipt_number | string | |
recorded_by optional | string (uuid) | null | |
user_id | string (uuid) |
| Field | Type | Description |
|---|---|---|
amount_cents | integer | |
method | string | cash | bank_transfer | pos | other |
note optional | string | null |
A payment in the staff list, with names already resolved.
| Field | Type | Description |
|---|---|---|
amount_cents | integer | |
created_at | string (date-time) | |
currency | string | |
gym_id | string (uuid) | |
id | string (uuid) | |
membership_id optional | string (uuid) | null | |
method | string | |
note optional | string | null | |
paid_at | string (date-time) | |
receipt_number | string | |
recorded_by optional | string (uuid) | null | |
user_id | string (uuid) | |
email optional | string | null | Member's email: empty if they deleted their account; a placeholder address for members created without an email |
first_name | string | Member's first name |
last_name | string | Member's last name |
membership_fee | boolean | The payment settles a membership fee |
plan_name optional | string | null | Plan of the membership the payment refers to, if any |
recorded_by_name optional | string | null | Full name of the person who recorded the payment |
| Field | Type | Description |
|---|---|---|
amount_cents | integer | |
membership_id optional | string (uuid) | null | |
method | string | |
note optional | string | null | |
paid_at optional | string (date-time) | null |
| Field | Type | Description |
|---|---|---|
class_type_ids optional | string (uuid)[] | null | NULL = all class types |
created_at | string (date-time) | |
credits optional | integer | null | |
currency | string | |
description optional | string | null | |
duration_days optional | integer | null | Validity in days from activation (NULL = in months or no expiry) |
duration_months optional | integer | null | Validity in calendar months from activation, 1–36 (NULL = in days or no expiry) |
gym_id | string (uuid) | |
id | string (uuid) | |
is_active | boolean | |
kind | string | |
location_ids optional | string (uuid)[] | null | NULL = all locations |
max_per_day optional | integer | null | Maximum entries per day with this plan (NULL = no limit) |
max_per_week optional | integer | null | Maximum entries per week with this plan (NULL = no limit) |
name | string | |
price_cents optional | integer | null | NULL = plan without a price (e.g. events) |
sort_order | integer | |
updated_at | string (date-time) |
| Field | Type | Description |
|---|---|---|
auto_no_show optional | boolean | null | |
block_days optional | integer | null | |
class_type_id optional | string (uuid) | null | Absent = the gym's default rule |
close_minutes_before optional | integer | null | |
free_cancel_minutes_before optional | integer | null | |
max_active_bookings optional | integer | null | |
max_per_day optional | integer | null | |
max_per_week optional | integer | null | |
no_show_strikes_before_block optional | integer | null | |
open_hours_before optional | integer | null | |
waitlist_accept_minutes optional | integer | null | |
waitlist_enabled optional | boolean | null |
| Field | Type | Description |
|---|---|---|
auto_no_show | boolean | |
block_days | integer | |
class_type_id optional | string (uuid) | null | NULL = the gym's default |
close_minutes_before | integer | |
created_at | string (date-time) | |
free_cancel_minutes_before | integer | |
gym_id | string (uuid) | |
id | string (uuid) | |
max_active_bookings optional | integer | null | |
max_per_day optional | integer | null | |
max_per_week optional | integer | null | |
no_show_strikes_before_block optional | integer | null | |
open_hours_before | integer | |
updated_at | string (date-time) | |
waitlist_accept_minutes optional | integer | null | |
waitlist_enabled | boolean |
| Field | Type | Description |
|---|---|---|
booked_by optional | string (uuid) | null | |
cancel_reason optional | string | null | |
cancelled_at optional | string (date-time) | null | |
coach_avatar_url optional | string | null | |
coach_id | string (uuid) | |
coach_name | string | |
consumes | boolean | Deducts a session from the package |
created_at | string (date-time) | |
end_at | string (date-time) | |
gym_id | string (uuid) | |
id | string (uuid) | |
location_address optional | string | null | Address of the coach's location; if the coach has no location, the address of the gym's main location |
location_name optional | string | null | |
membership_id optional | string (uuid) | null | Package it is deducted from (empty = session outside any package) |
membership_name optional | string | null | |
membership_price_cents optional | integer | null | Package price in cents (empty if it has no price) |
membership_sessions_total optional | integer | null | Sessions included in the package |
note optional | string | null | |
room_name optional | string | null | |
session_price_cents optional | integer | null | Package price divided by its sessions, in rounded cents (empty for sessions outside a package or packages without a price) |
start_at | string (date-time) | |
status | string | pending (awaiting confirmation), confirmed, done, no_show (member absent), cancelled (cancelled in time), late_cancelled (cancelled late), declined (declined by the coach) |
user_avatar_url optional | string | null | |
user_id | string (uuid) | |
user_name | string |
| Field | Type | Description |
|---|---|---|
class_type_name | string | |
first_name | string | |
last_name | string | |
no_show_strikes | integer | |
occurrence_id | string (uuid) | |
start_at | string (date-time) | |
user_id | string (uuid) |
| Field | Type | Description |
|---|---|---|
attended optional | boolean | null | Attendance: empty = not marked yet, true = present |
class_type_name | string | |
id | string (uuid) | |
name optional | string | null | Name chosen by staff; empty = "Trial" ("Prova") |
note optional | string | null | Note visible to staff only |
occurrence_id | string (uuid) | |
start_at | string (date-time) |
| Field | Type | Description |
|---|---|---|
created_at | string (date-time) | |
created_by optional | string (uuid) | null | |
gym_id | string (uuid) | |
id | string (uuid) | |
template_id | string (uuid) | |
user_id | string (uuid) |
| Field | Type | Description |
|---|---|---|
user_id optional | string (uuid) | null | For staff: the member to book. Absent = the requester. |
| Field | Type | Description |
|---|---|---|
applies_to | string | all | minors |
event_id | string (uuid) | |
has_template | boolean | The path stays on the server: the panel only needs to know whether it exists. |
id | string (uuid) | |
kind | string | medical_certificate | waiver | parent_consent | id_document | payment_receipt | other |
mode | string | upload | declaration |
required | boolean | |
sort | integer | |
title | string |
| Field | Type | Description |
|---|---|---|
applies_to optional | string | null | all | minors |
kind optional | string | null | medical_certificate | waiver | parent_consent | id_document | payment_receipt | other |
mode optional | string | null | upload (file to upload) | declaration (ticked declaration) |
required optional | boolean | null | |
sort optional | integer | null | |
title optional | string | null |
| Field | Type | Description |
|---|---|---|
approve | boolean | |
expected_updated_at optional | string (date-time) | null | The 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 optional | string | null |
| Field | Type | Description |
|---|---|---|
capacity optional | integer | null | |
created_at | string (date-time) | |
id | string (uuid) | |
location_id | string (uuid) | |
name | string |
| Field | Type | Description |
|---|---|---|
capacity optional | integer | null | |
name | string |
| Field | Type | Description |
|---|---|---|
account_id | string (uuid) | |
category_id | string (uuid) | |
display_name | string | Displayed name, already filtered by the privacy settings |
hidden_from_public | boolean | Staff 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) |
rank | integer | |
results | WorkoutResult[] | |
team | boolean | |
total | number |
| Field | Type | Description |
|---|---|---|
account_id | string (uuid) | |
entered_at | string (date-time) | |
entered_by optional | string (uuid) | null | |
id | string (uuid) | |
scaled | boolean | |
tiebreak optional | number | null | |
value | number | |
workout_id | string (uuid) |
| Field | Type | Description |
|---|---|---|
account_id | string (uuid) | |
scaled optional | boolean | |
tiebreak optional | number | null | |
value | number |
| Field | Type | Description |
|---|---|---|
status | string | draft | published | closed | archived |
Membership suspension for a period (from/to, inclusive)
| Field | Type | Description |
|---|---|---|
ends_on | string (date) | Last suspended day (inclusive) |
has_certificate | boolean | The certificate file justifying the suspension is available |
id | string (uuid) | |
starts_on | string (date) | First suspended day |
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.
| Field | Type | Description |
|---|---|---|
bookings | integer | Active bookings on those classes |
first_start_at optional | string (date-time) | null | Start of the first of those classes; null if there are none |
lessons_not_movable | integer | Future 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_bookings | integer | Future classes with bookings that would be moved |
lessons_with_waitlist_only | integer | Future 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_day | integer | Future 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_removed | integer | With 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 |
Result of "Deactivate" with cancel_booked=true.
| Field | Type | Description |
|---|---|---|
cancelled_occurrences | integer | Future 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_members | integer | Members notified (booked and waitlist), each counted once |
Preview of a weekly template reactivation: the future classes in the calendar after the reactivation and the cancelled ones that stay cancelled.
| Field | Type | Description |
|---|---|---|
cancelled_lessons | integer | Cancelled 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 optional | string (date-time) | null | Start of the first of those classes; null if there are none |
last_cancelled_at optional | string (date-time) | null | Start of the last of those cancelled classes; null if there are none |
lessons | integer | Future classes scheduled after the reactivation, over the next three months: those that stayed, those that come back and those generated again |
recurring_members | integer | Members 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) |
| Field | Type | Description |
|---|---|---|
capacity | integer | |
class_type_id | string (uuid) | |
coach_id optional | string (uuid) | null | |
duration_min optional | integer | null | Default: the class type's duration |
location_id | string (uuid) | |
room_id optional | string (uuid) | null | |
start_time | string | Local time of the location, HH:MM |
valid_from optional | string (date) | null | Default: today |
valid_until optional | string (date) | null | |
weekdays | integer[] | ISO weekdays: 1 = Monday ... 7 = Sunday |
Result of a weekly template update: the template, plus the classes moved with their booked members.
| Field | Type | Description |
|---|---|---|
capacity | integer | |
class_type_id | string (uuid) | |
coach_id optional | string (uuid) | null | |
created_at | string (date-time) | |
deactivated_at optional | string (date-time) | null | When it was deactivated; null if it is active |
duration_min | integer | |
gym_id | string (uuid) | |
id | string (uuid) | |
is_active | boolean | false = deactivated: it no longer generates classes, it stays for the history |
location_id | string (uuid) | |
room_id optional | string (uuid) | null | |
start_time | string | Local time of the location (e.g. 18:30:00) |
updated_at | string (date-time) | |
valid_from | string (date) | |
valid_until optional | string (date) | null | |
weekdays | integer[] | ISO weekdays: 1 = Monday ... 7 = Sunday |
moved_lessons | integer | Future classes with bookings or with someone on the waiting list moved to the new schedule (only with booked_lessons: move) |
notified_members | integer | Members notified of the move, each counted once |
removed_members | integer | Members 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) |
| Field | Type | Description |
|---|---|---|
booked | integer | |
capacity | integer | |
occurrences | integer |
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.
| Field | Type | Description |
|---|---|---|
attended optional | boolean | null | Attendance: empty = not marked yet, true = present, false = absent |
created_at | string (date-time) | |
created_by_name optional | string | null | Who added it (first and last name) |
id | string (uuid) | |
name optional | string | null | Name chosen by staff; empty = "Trial" ("Prova") |
note optional | string | null | Note visible to staff only |
occurrence_id | string (uuid) |
A day as the panel sees it: the classes' skills of the week and, if any, the custom text.
| Field | Type | Description |
|---|---|---|
custom optional | CustomDay | null | |
day | string | |
workouts | DayWorkout[] |
| Field | Type | Description |
|---|---|---|
color optional | string | null | |
credit_cost optional | integer | null | Entries consumed by a booking (1–20) |
description optional | string | null | |
duration_min optional | integer | null | |
is_active optional | boolean | null | |
level optional | string | null | |
name optional | string | null |
The logo is not changed here: upload it with POST /gyms/{gym_id}/logo.
| Field | Type | Description |
|---|---|---|
booking_animation optional | boolean | null | Animated exercise after booking |
bookings_open_until optional | string | null | Early opening: classes can be booked right away up to this date (inclusive). Absent = unchanged, null = removed. |
external_payment_enabled optional | boolean | null | You already have your own payment system: turning it on requires a link (in the body or already saved) |
external_payment_url optional | string | null | Link to renew on the gym's website (http or https; without a scheme https:// is added). Missing = unchanged, null or empty = removed. |
is_listed optional | boolean | null | Visible in the app's search (false = invite code only) |
member_docs_enabled optional | boolean | null | Gym documents to be signed in the app |
membership_fee_cents optional | integer | null | Proposed fee amount (cents). Absent = unchanged, null = removed. |
name optional | string | null | |
primary_color optional | string | null | Primary colour in hex, e.g. #C6FF3D |
qr_checkin_enabled optional | boolean | null | Member's QR for entries |
reminder_minutes_before optional | integer | null | 0 = no reminder, maximum 1440 |
require_medical_certificate optional | boolean | null | |
require_membership_fee optional | boolean | null | Annual membership fee required to book |
show_coach_last_name optional | boolean | null | Coach's last name shown in classes |
show_prices optional | boolean | null | Amounts and prices visible to members in the app |
timezone optional | string | null |
| Field | Type | Description |
|---|---|---|
address optional | string | null | |
is_default optional | boolean | null | |
name optional | string | null | |
timezone optional | string | null |
| Field | Type | Description |
|---|---|---|
email optional | string | null | New 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 optional | string | null | |
last_name optional | string | null | |
phone optional | string | null | Empty string = removes the phone |
| Field | Type | Description |
|---|---|---|
capacity optional | integer | null | |
name optional | string | null |
| Field | Type | Description |
|---|---|---|
booked_lessons optional | BookedLessons | null | If 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 optional | integer | null | |
class_type_id optional | string (uuid) | null | |
coach_id optional | string (uuid) | null | null to remove the coach |
duration_min optional | integer | null | |
is_active optional | boolean | null | false deactivates it like the DELETE; true reactivates it and generates the future classes again |
location_id optional | string (uuid) | null | |
room_id optional | string (uuid) | null | null to remove the room |
start_time optional | string | null | |
valid_from optional | string (date) | null | |
valid_until optional | string (date) | null | null to make it never expire |
weekdays optional | integer[] | null |
Who is waiting: same privacy as the attendees, plus the position.
| Field | Type | Description |
|---|---|---|
anonymous | boolean | |
avatar_url optional | string | null | |
display_name | string | |
is_me | boolean | |
position | integer | 1 = next in line |
promoted | boolean | Already has a spot offered and must accept it |
user_id optional | string (uuid) | null |
| Field | Type | Description |
|---|---|---|
created_at | string (date-time) | |
expires_at optional | string (date-time) | null | |
gym_id | string (uuid) | |
id | string (uuid) | |
occurrence_id | string (uuid) | |
position | integer | |
promoted_at optional | string (date-time) | null | |
status | string | |
updated_at | string (date-time) | |
user_id | string (uuid) |
| Field | Type | Description |
|---|---|---|
created_at | string (date-time) | |
expires_at optional | string (date-time) | null | |
first_name | string | |
id | string (uuid) | |
last_name | string | |
rank | integer | |
status | string | |
user_id | string (uuid) |
Look and content of the TV. The token is the public address.
| Field | Type | Description |
|---|---|---|
accent_color | string | Accent colour (clock, labels), #RRGGBB |
bg_color | string | Background colour, #RRGGBB |
bg_color2 | string | Second gradient colour, #RRGGBB |
bg_mode | string | solid | gradient | image |
class_type_ids optional | string (uuid)[] | null | Class types shown; absent = all |
font | string | unbounded | manrope | serif | mono | system |
gym_id | string (uuid) | |
orientation | string | auto | landscape | portrait |
rotate_seconds | integer | Seconds between one WOD and the next when there is more than one (5–120) |
show_clock | boolean | Clock at the top right |
show_logo | boolean | Gym logo next to the name |
show_schedule | boolean | Strip with today's classes |
text_color | string | Text colour, #RRGGBB |
text_scale | integer | Text size as a percentage (50–200) |
token | string | |
updated_at | string (date-time) |
| Field | Type | Description |
|---|---|---|
bg_image_url optional | string | null | Uploaded background photo, if any |
class_types | ClassTypeLite[] | Active class types (to choose which ones to show) |
days | TvDay[] | Today and the coming days |
public_url | string | Address to open on the TV |
settings | WodTv | |
today | string |
| Field | Type | Description |
|---|---|---|
accent_color | string | Accent colour (clock, labels), #RRGGBB |
bg_color | string | Background colour, #RRGGBB |
bg_color2 | string | Second gradient colour, #RRGGBB |
bg_mode | string | solid | gradient | image |
class_type_ids optional | string (uuid)[] | null | Class types to show; absent or empty = all |
font | string | unbounded | manrope | serif | mono | system |
orientation | string | auto | landscape | portrait |
rotate_seconds | integer | Seconds between one class and the next, 5–120 |
show_clock | boolean | Clock at the top right |
show_logo | boolean | Gym logo next to the name |
show_schedule | boolean | Strip with today's classes |
text_color | string | Text colour, #RRGGBB |
text_scale | integer | Text size as a percentage, 50–200 |
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).
| Field | Type | Description |
|---|---|---|
animation optional | string | null | Exercise animation picked by hand for the workout of the day: missing = from the text, none = none |
class_type_id | string (uuid) | |
created_at | string (date-time) | |
created_by optional | string (uuid) | null | |
day | string (date) | |
gym_id | string (uuid) | |
id | string (uuid) | |
notes optional | string | null | |
title | string | |
updated_at | string (date-time) |
A workout of the day to save; empty title = removes it.
| Field | Type | Description |
|---|---|---|
animation optional | string | null | Exercise animation in the app: missing = keeps the previous one, auto = from the text, none = none, otherwise the exercise name (e.g. deadlift) |
class_type_id | string (uuid) | |
day | string | (e.g. 2026-10-20) |
notes optional | string | null | |
title | string |
| Field | Type | Description |
|---|---|---|
ranking_mode optional | string | null | positions | points_table | raw_sum |
score_type optional | string | null | time | reps | load | distance | calories | points |
sort optional | integer | null | |
tiebreak_type optional | string | null | time | reps | load | distance | calories | points (null = none) |
title optional | string | null |
| Field | Type | Description |
|---|---|---|
contribution | number | Points or position used for the overall ranking |
rank optional | integer | null | |
scaled | boolean | |
tiebreak optional | number | null | |
value optional | number | null | |
workout_id | string (uuid) |
| Field | Type | Description |
|---|---|---|
items | WorkoutItem[] |
save_workouts accepts the optional animation field (auto = from the text, none = none, or the exercise name, e.g. deadlift); when it is missing, the choice already made stays. list_workouts returns it as animation, list_schedule and get_occurrence as workout_animation.POST /gyms/{gym_id}/schedule/{occurrence_id}/checkin route now returns 404 and the gym (get_gym, update_gym) no longer has the self_checkin_enabled and self_checkin_minutes_before fields (if you send them to update_gym they are ignored). Check-in stays with the staff, from the class (set_attendance) or with the member's QR (checkin), always from 2 hours before the start.book_for on a class that has already started creates the booking as attended (status attended, as with check_in, even without the set_attendance permission): before, it stayed booked and became an automatic no-show when the class ended; before the start nothing changes. set_attendance with booked on an attended booking once the class has ended counts as no_show (strike, possible block and the "No-show recorded" notice) and the response is the no_show booking; removing a no-show (booked on a no_show) is still a correction, at any time. When the gym cancels a class (cancel_occurrence, closures, disabled time slot or class removed from the timetable, even when only cancellations are left) members who had cancelled late get back the entry that was kept, with a cancel_refund entry in the credit ledger and a notice; only once, even if the class is restored and cancelled again. A coach who is blocked or turned back into a member in the panel no longer runs personal training sessions: their clients' future sessions are cancelled, go back to the package and the clients are notified; book_pt_session and confirming with set_pt_session_status answer 404/409 "coach not available for personal training". review_event_document without expected_updated_at decides the document in any state, even already approved or rejected (before only one awaiting review: 409); the document counts as it was when the request arrived: two requests at the same time still give a single outcome and a single email, and a document already in the requested state is returned as it is, without another email. update_event and update_event_category: null now also clears location, contact_email, organizer_name, organizer_privacy_url, organizer_privacy_text, registration_opens_at, registration_closes_at, cancel_until, capacity (no limit) and price_cents (free), which used to be ignored; on a published or closed event the organiser, contact and privacy notice cannot be removed (409). While the gym's service is blocked, the owner and admins can still download event registrations (list_events and event_export_csv, not with an API key); everything else answers gym_inactive as before.event_leaderboard: on equal results the tie-break follows its own type (tiebreak_type: in an AMRAP with a time tie-break the lowest time wins; before, it followed the workout's direction) and those who did not enter it come after those who did (before, it counted as 0); the base is the active, confirmed registrations (no longer those with an unconfirmed email) and the rows the public leaderboard does not show, because the registration is not complete, have hidden_from_public: totals and positions are the same in both leaderboards. set_event_account_status: reactivating a cancelled or removed registration when the category is full returns 409, unless force: true; complete chosen by the staff stays until the staff changes the status (completed_by_staff_at on the registration), pending restores the status computed from the documents. update_event_category: with registrations the type does not change and the minimum and maximum number of members do not exclude registered teams (409); the places go below the registrations holding them only with force: true (409 without); a team without team_max gets a maximum equal to the minimum, and a minimum above the maximum returns 400 (before, 500). delete_event_category deletes a category with only cancelled or removed registrations (deleted with it); with active registrations 409. event_checkin and event_checkin_by_code return 409 for cancelled, removed or unconfirmed registrations; a second check-in keeps the time of the first and the response has already_checked_in. upsert_event_score returns 409 for inactive or unconfirmed registrations, and 400 for a negative tie-break or values above the type's maximum (time 86400 s, load 10000, distance 1000000, others 100000). update_event no longer changes the slug of a published event or of one with registrations (409): links already sent keep working. With parallel requests create_event no longer exceeds the monthly limit. Texts with control characters (for example the NUL character) return 400.freeze_membership and update_membership (cancelled or with a changed end date) cancel the member's future bookings that no membership covers any more, refunding the entry and giving the spot to the first person on the waiting list; the member gets a single notice. Bookings covered by another valid membership stay, with the charge moved to it if needed; bookings forced with force stay too. unfreeze_membership resumes recurring bookings on the freed classes. book_for with force=true on a full class answers 409 "the class is full: members booked without a membership don't go on the waiting list. Raise the capacity or cancel someone" instead of putting the member on the waiting list. cancel_for refunds everything the booking charged (also two charges left by a late cancellation that was booked again), and booking the same class again after a late cancellation no longer uses another entry. With upsert_policy the limits of the gym rule only count classes without their own rule (before, all of them: the outcome depended on the order of the bookings). A member cannot book on their own a class overlapping another active booking of theirs (409 "you already have a booking at that time: …"); book_for can. With a limit of 1 the 409 messages are singular ("you have reached the maximum of 1 booking per day"). In the checkin warnings: "member blocked by the gym" for a block by the owner and "bookings blocked for no-shows until …" for a no-show block (before, "client blocked for too many no-shows" in the first case and nothing in the second). A waiting-list promotion not accepted in time passes right away to the next person in line.review_event_document accepts expected_updated_at, the document's updated_at as you read it: if in the meantime the athlete replaced it or another review came first it answers 409 "the document changed in the meantime: reload and check it again" without deciding anything or sending emails; without the field only a document awaiting review can be decided (before, also one already approved or rejected). In list_event_accounts every participant has consent_pending (team member who has not yet given their consents from the link) and consent_link_sent_at. Creating, updating or deleting a requirement (create_event_requirement, update_event_requirement, delete_event_requirement) and changing starts_at with update_event recompute the status of every registration (those going back to pending get an email); deleting a requirement also removes the documents uploaded for it. In the CSV export the "documenti" column is ok, da rivedere (to review) or mancanti (missing) according to each participant's required documents, and control characters in fields become spaces. Taken places (registrations in list_events) count confirmed registrations and unconfirmed ones younger than 30 minutes. Names and titles with control characters (line breaks, tabs) answer 400 "<field> is not valid: it contains characters that are not allowed".get_gym my_role is admin). If the person who created it is blocked, moved to a role other than owner or admin, or deletes their account, the key answers 401 "API key no longer valid: the person who created it is no longer an owner or admin of the gym" and is revoked (the panel shows it as revoked). With events switched off for the gym, all event APIs (not only list_events and create_event) answer 403 "events are not enabled for this gym", even if the key had them; the same goes for the Wod TV and Personal trainer APIs when their section is off. The data stays and can be reached again by switching the section back on. create_membership accepts credits from 1 to 1000 (above: 400 "the number of entries must be between 1 and 1000").book_pt_session chooses and checks the package under a lock: two sessions in parallel, even with different coaches, no longer use more sessions than are left (the second returns 409); if the member already has a session at that time the 409 message is "the client already has a session at that time". set_pt_session_status checks the package again when the session goes back to using it (confirmed from declined, done from a no_show that did not use it): with no sessions left, or with the package cancelled or (for a confirmation) expired on that day, it returns 409 "the client's package no longer covers this session (expired, cancelled or no sessions left)"; a confirmation also returns 409 if the member is blocked or already has another session at that time. delete_member also cancels the member's future sessions (they go back to the package, the coach's slot is freed and the coach gets a notice); the same happens when the owner blocks the member or the member deletes their account from the app.book_for returns 409, as before): their future bookings are cancelled with the entry refunded and they leave every waiting list; their recurring bookings stay saved and, when they are active again, resume also on the classes the block had freed. A member blocked for no-shows stays booked where they already were, leaves every waiting list and, while the block lasts, gets no automatic bookings (recurring bookings, promotion from the waiting list, restore of a cancelled class): only book_for books them, and unblock_member resumes their recurring bookings right away. Promotion from the waiting list also respects the rule limits (active, per day, per week), except for those who joined the queue through book_for or a recurring booking: whoever cannot get in is skipped and the spot goes to the next one. create_recurring books only the classes of the new recurring booking, skipping the rule's window and limits. book_for has the new check_in field (booked and checked in together; with an API key the set_attendance permission is also required). The 409 messages "bookings for this class open on …" and "bookings blocked until …" give the date and time in the gym's time zone, without "UTC" (the block now with the time too).update_template updates in place (same id) the future classes not edited by hand, including those with bookings: capacity, coach, room and duration always change (capacity never drops below the seats already taken; if it goes up, members on the waiting list get in); the days, time, class type or location of classes with bookings change only with the new booked_lessons field set to move, which notifies the booked members (keep, the default, leaves them as they are). A template never has two classes on the same day, and a class moved by hand no longer makes a class reappear at the old time. The update_template response also has moved_lessons and notified_members. New APIs preview_template_change (how many classes with bookings would change) and preview_template_reactivation (how many classes come back in the calendar when a template is reactivated, how many stay cancelled, how many members have a recurring booking). delete_template leaves cancelled, instead of deleting them, the future classes whose only bookings were cancelled by members, and recurring bookings no longer book again the classes the member or the staff had cancelled. With booked_lessons = move and a new class type or location, the members of the moved classes are checked again: those who cannot take it with their membership (or because of the medical certificate, membership fee or documents) leave the class with their entry refunded, or the waiting list (also when the class costs more entries than before and they do not have them), and get a notice; the freed spot goes to the first eligible member on the waiting list. The preview's members_removed counts the same members as removed_members, also when the same update raises the capacity. The update_template response also has removed_members, and preview_template_change has lessons_with_waitlist_only, lessons_not_movable (booked classes that stay as they are even with move) and members_removed; an invalid class_type_id or location_id returns 400. With cancel_booked=true, the cancelled_occurrences of delete_template also counts the classes already cancelled by a closure (the same number as preview_template_deactivation). The classes left in the calendar by a deactivated template no longer disappear when it is edited, and a class moved by hand to another day no longer takes that day's regular class away. A class whose only bookings were cancelled by members and that the template leaves without a day stays cancelled with the cancel_reason "Tolta dall'orario"; list_schedule, get_occurrence and the other responses with a class (update, cancel, restore, check-in) return it in the Accept-Language language ("Removed from the schedule"), like "Chiusura" ("Closure") for closures without a reason.payment_receipt API has been removed (GET /gyms/{gym_id}/payments/{payment_id}/receipt.pdf now returns 404): Boxly records payments, it does not produce PDF summaries or receipts. Payments are read with list_payments, which now also has the first_name, last_name, email, plan_name, membership_fee and recorded_by_name fields, also accepts YYYY-MM-DD dates in from and to (midnight in the gym's time zone) and with format=csv exports the list as CSV (; separator, amounts with a decimal comma, date and time in the gym's time zone; owner, admins and API keys only). Keys that had the payment_receipt permission no longer show it.membership_required, or conflict if the member has a membership that does not cover the class yet) have the next_membership_starts_on field (a YYYY-MM-DD date) when the member has already bought a membership valid for the class that starts later, and the message mentions that date; other errors do not have the field. The dashboard's memberships_expiring no longer lists members who already have another membership (frozen too, or a pack with entries left) covering the day after the expiry. unfreeze_membership extends the expiry only by the frozen days inside the validity period: a membership frozen and unfrozen before it starts is not extended.upload_gym_logo (POST /gyms/{gym_id}/logo, multipart with the file field) and removed with delete_gym_logo; update_gym no longer accepts logo_url (the field is ignored) and logo_url in responses is the public address of the uploaded logo.update_member_profile, upload_member_avatar and delete_member_avatar only work for members who belong only to your gym (previously for everyone; for the others 403, Boxly handles them on request); update_member_profile also accepts email for members created by the gym; new delete_member API (deletes the account of a member who belongs only to your gym, cannot be undone); Member has the managed_by_gym and email_editable fields.membership_required (previously conflict); the gym has the external_payment_enabled and external_payment_url fields ("Renew here" link for gyms with their own payment system).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.