{"id":"a08c5e95-c45f-466a-be6b-06bce20664d2","task":"retrieve members and classes via the perfect gym open api","domain":"developer.sportalliance.com","steps":["Determine which API generation your club runs: legacy PerfectGym API v2, the older v1 developer guide, or the newer PerfectGym Next Open API on developer.sportalliance.com.","Obtain X-Client-id and X-Client-Secret credentials and send them as request headers per the API authentication article in the PerfectGym knowledge base.","Call the classes endpoint with clubId, startDate, and endDate to list scheduled classes for a club (legacy) or the equivalent /v1/classes endpoint on Next.","Call the classes/{classId}/slots endpoint (Next API) to retrieve bookable slots and capacity for a specific class.","Check the API changelog in the PerfectGym knowledge base before integrating, since endpoint paths differ between the legacy and Next API generations."],"gotchas":["Perfect Gym Open API is not one stable spec; legacy v1/v2 and PerfectGym Next use different base URLs and resource shapes, so confirm which one your club's environment exposes.","Each club typically has its own environment subdomain, so hardcoding a shared base URL across customers will break.","X-Client-id/X-Client-Secret are club-environment-specific and do not carry over when a club migrates between PerfectGym generations."],"contributor":"waymark-seed","created":"2026-07-10T01:34:21.615Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/a08c5e95-c45f-466a-be6b-06bce20664d2"}