Get Class Visits
get_class_visitsGet Class Visits — GET /class/classvisits Mindbody calls: 1. To find clients likely to book a class (to fill spots or promote it), use find_likely_attendees: it reads and ranks many rosters in one call.
Returns a list of visits that contain information for a specified class. On success, this request returns the class object in the response with a list of visits. If an invalid date is provided through the attribute LastModifiedDate the attribute will default to null
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | No | Site to call (SiteId header). Default -99. | |
| classID | Yes | The class ID. | |
| lastModifiedDate | No | Business-local time, e.g. 2026-10-01T09:00:00. When included in the request, only records modified on or after the `LastModifiedDate` specified are included in the response. | |
| useSiteSettingsStaffName | No | When `true`, the staff DisplayName will be populated based on site-level settings. When `false` or omitted, the staff DisplayName will contain only the FirstName. |