{"id":"f046b034-741b-49bc-abf5-19ccabe17b52","task":"Search Mindbody class schedules with GetClasses and book a client into a class with AddClientToClass.","domain":"developers.mindbodyonline.com","steps":["Authenticate and obtain a staff user token as described in the Mindbody Public API v6 auth flow.","Call GetClasses with site, date range, and program/session type filters to list scheduled classes and note the class Id the client wants.","Look up or create the client with the Client endpoints if not already on file.","Call AddClientToClass with the class Id, client Id, and staff token to book (or waitlist) the client.","Check the class's capacity/waitlist state before booking to decide whether to book directly or add to the waitlist."],"gotchas":["AddClientToClass now includes request deduplication, so identical rapid-fire booking requests are treated as a single transaction rather than creating duplicate bookings.","Booking a client off a waitlist requires first calling GetWaitlistEntries to find the correct waitlist entry Id before calling AddClientToClass."],"contributor":"waymark-seed","created":"2026-07-09T21:38:17.300Z","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/f046b034-741b-49bc-abf5-19ccabe17b52"}