API ReferenceAPI Appsv1
07 - New class schedule (instant) In Mindbody → _zapier
This event triggers when a **new class schedule** is created in Mindbody
This event triggers when a new class schedule is created in Mindbody. The payload provides details about the class schedule, including its timing, location, instructor, and capacity.
Payload Structure
Root Object
- eventId (string) – Identifies the event type (classSchedule.created).
- eventInstanceOrigin (string) – Source identifier for the event.
- eventInstanceOriginationDateTime (string, ISO 8601) – Timestamp when the class schedule was created.
- eventSchemaVersion (integer) – Version of the event schema.
- messageId (string) – Unique identifier for the message.
Class Schedule Details
- classScheduleId (integer) – Unique identifier for the class schedule.
- classDescriptionId (integer) – ID associated with the class description.
- daysOfWeek (array) – Days of the week when the class occurs (e.g., Monday, Tuesday).
- startDate (string, ISO 8601) – Date when the class schedule begins.
- endDate (string, ISO 8601) – Date when the class schedule ends.
- startTime (string, HH:MM:SS) – Scheduled start time of the class.
- endTime (string, HH:MM:SS) – Scheduled end time of the class.
- isActive (boolean) – Indicates whether the class schedule is active (true/false).
Instructor Details
- staffId (integer) – ID of the instructor assigned to the class.
- staffName (string) – Name of the instructor.
Assistant Instructor Details (If Available)
- assistantOneId (integer or null) – ID of the first assistant instructor.
- assistantOneName (string or null) – Name of the first assistant instructor.
- assistantTwoId (integer or null) – ID of the second assistant instructor.
- assistantTwoName (string or null) – Name of the second assistant instructor.
Location & Resources
- siteId (integer) – ID of the Mindbody site where the class schedule was created.
- locationId (integer) – ID of the location where the class is held.
- resources (object) – Information about any assigned resources.
- id (integer) – Resource ID.
- name (string) – Resource name (e.g., Zoom 5).
Class Capacity
- maxCapacity (integer) – Maximum number of attendees allowed.
- webCapacity (integer) – Maximum number of online bookings allowed.
Summary
This event ensures that newly created class schedules in Mindbody are instantly updated in Zapier-powered workflows, allowing businesses to automate scheduling, notifications, and capacity management efficiently.
v1.4 Field Reference
Version: 1.4 | Status: Fixed | Total fields: 20
What's New in v1.4
- Class Enrichment (5 fields): className, classCategory, classSubcategory, classProgramName, classSessionTypeName
- No client enrichment (no client in class schedule events)
- Metadata: eventId, eventInstanceOriginationDateTime, eventSchemaVersion, messageId from trigger (no eventInstanceOrigin field)
Complete Field List
| Field | Status | Description |
|---|---|---|
| classId | Unchanged | |
| classDescriptionId | Unchanged | |
| classScheduleId | Unchanged | |
| startDateTime | Unchanged | |
| endDateTime | Unchanged | |
| staffId | Unchanged | |
| staffName | Unchanged | |
| locationId | Unchanged | |
| siteId | Unchanged | |
| isCancelled | Unchanged | |
| isStaffASubstitute | Unchanged | |
| isWaitlistAvailable | Unchanged | |
| isIntendedForOnlineViewing | Unchanged | |
| assistantOneId | Unchanged | |
| assistantOneName | Unchanged | |
| assistantTwoId | Unchanged | |
| assistantTwoName | Unchanged | |
| className | ✅ New | Added in v1.4 class enrichment |
| classCategory | ✅ New | Added in v1.4 class enrichment |
| classSubcategory | ✅ New | Added in v1.4 class enrichment |
| classProgramName | ✅ New | Added in v1.4 class enrichment |
| classSessionTypeName | ✅ New | Added in v1.4 class enrichment |
Related docs
Last updated April 8, 2026