Find classes
find_classesClasses in a date range as compact rows (time, name, staff, location, capacity, spots left), sorted, with paging handled. Filter by program, staff, location or class description IDs, by name, or to classes with open spots. Up to 31 days. Mindbody calls: 1 per 200 classes (at most 5). Use it when browsing the schedule or looking for open spots.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | start (default): soonest first. spotsLeft: most open spots first. | |
| limit | No | Maximum rows to return, 1-200 (default 50). | |
| siteId | No | Site to call (SiteId header). Default -99. | |
| endDate | No | Business-local end, inclusive (default 7 days after startDate; at most 31 days after it). | |
| openOnly | No | Only classes with spots left that are not canceled. | |
| staffIds | No | Only classes taught by these staff members. | |
| startDate | No | Business-local start, e.g. 2026-10-01 or 2026-10-01T06:00:00 (default today). | |
| programIds | No | Only these programs (get_programs). | |
| locationIds | No | Only these locations. | |
| nameContains | No | Case-insensitive text the class name must contain, e.g. "yoga". | |
| includeCanceled | No | Include canceled classes (default false). | |
| classDescriptionIds | No | Only these class types (get_class_descriptions). |