API ReferenceAPI Appsv1
02 - New class booking (instant) In Mindbody → _zapier
This event triggers when a new class booking is created in Mindbody
This event triggers when a new class booking is created in Mindbody. The payload contains detailed information about the client, class, booking details, and site-related data.
Payload Structure
Root Object
- eventId (string) – Identifies the event type (classRosterBooking.created).
- eventInstanceOrigin (string) – Source of the event (push).
- eventInstanceOriginationDateTime (string, ISO 8601) – Timestamp when the event was triggered.
- eventSchemaVersion (integer) – Version of the event schema.
- messageId (string) – Unique identifier for the message.
Client Details
- clientId (string) – Internal Mindbody client ID.
- clientUniqueId (string) – Unique identifier for the client.
- clientFirstName (string) – Client’s first name.
- clientLastName (string) – Client’s last name.
- clientEmail (string) – Client’s email address.
- clientPhone (string) – Client’s phone number.
- birthDateTime (string, ISO 8601) – Client’s date of birth.
- gender (string) – Client’s gender (Male, Female, etc.).
- status (string) – Client’s status (Active, Inactive, etc.).
- clientsNumberOfVisitsAtSite (integer) – Total number of visits by the client.
- isCompany (boolean) – Whether the client represents a company (true/false).
- isLiabilityReleased (boolean) – Whether the client has signed a liability waiver (true/false).
- isProspect (boolean) – Whether the client is a prospect (true/false).
- referredBy (string) – Source of referral (Another Client, Google, etc.).
Class Booking Details
- classRosterBookingId (integer) – Unique identifier for the class booking.
- classId (integer) – ID of the class.
- classStartDateTime (string, ISO 8601) – Start date and time of the class.
- classEndDateTime (string, ISO 8601) – End date and time of the class.
- bookingOriginatedFromWaitlist (boolean) – Whether the booking was from a waitlist (true/false).
- signedInStatus (string) – Client’s sign-in status (SignedIn, NotSignedIn, etc.).
- totalBooked (integer) – Total number of clients booked for the class.
- totalWaitlisted (integer) – Total number of clients waitlisted for the class.
- webBooked (integer) – Number of bookings made online.
- maxCapacity (integer) – Maximum capacity of the class.
- webCapacity (integer) – Maximum online booking capacity.
Client Pass Information
- clientPassId (string or null) – ID of the pass used for the booking.
- clientPassActivationDateTime (string or null, ISO 8601) – Activation date of the pass.
- clientPassExpirationDateTime (string or null, ISO 8601) – Expiration date of the pass.
- clientPassSessionsTotal (integer or null) – Total sessions available in the pass.
- clientPassSessionsRemaining (integer or null) – Remaining sessions in the pass.
- clientPassSessionsDeducted (integer or null) – Number of sessions deducted for this booking.
Location Details
- siteId (integer) – ID of the Mindbody site where the booking was made.
- locationId (integer) – ID of the location where the class is held.
- locationName (string) – Name of the location.
- addressLine1 (string) – Primary address of the location.
- addressLine2 (string or null) – Secondary address of the location.
- city (string) – City where the class is held.
- state (string) – State or region.
- postalCode (string or null) – Zip or postal code.
- country (string) – Country code (US, CA, etc.).
Instructor Details
- staffId (integer) – ID of the instructor for the class.
- staffName (string) – Name of the instructor.
Communication Preferences
- sendAccountEmails (boolean) – Whether the client receives account-related emails (true/false).
- sendAccountTexts (boolean) – Whether the client receives account-related texts (true/false).
- sendPromotionalEmails (boolean) – Whether the client receives promotional emails (true/false).
- sendPromotionalTexts (boolean) – Whether the client receives promotional texts (true/false).
- sendScheduleEmails (boolean) – Whether the client receives schedule-related emails (true/false).
- sendScheduleTexts (boolean) – Whether the client receives schedule-related texts (true/false).
Summary
This event ensures that any new class bookings in Mindbody are instantly reflected in Zapier-powered workflows, providing real-time updates on client registrations, class capacity, and instructor schedules.
v1.4 Field Reference
Version: 1.4 | Status: Fixed | Total fields: 67
What's New in v1.4
- Client Enrichment (39 fields): Full client profile added — addressLine1, addressLine2, appointmentGenderPreference, birthDateTime, city, clientUniqueId, country, creationDateTime, email, firstAppointmentDateTime, firstName, gender, homePhone, homeStudioName, isCompany, isLiabilityReleased, isProspect, lastName, liabilityAgreementDateTime, mobilePhone, notes, photoUrl, postalCode, redAlert, referredBy, sendAccountEmails, sendAccountTexts, sendPromotionalEmails, sendPromotionalTexts, sendScheduleEmails, sendScheduleTexts, state, status, workPhone, yellowAlert, firstClassDate, workExtension, locationName
- Class Enrichment (5 fields): className, classCategory, classSubcategory, classProgramName, classSessionTypeName
- Next Visit (6 fields): nextClassName, nextClassStartDateTime, nextClassId, nextAppointmentName, nextAppointmentStartDateTime, nextAppointmentId
- Unprefixed client field naming
- Metadata: eventId = "classRosterBooking.created", eventInstanceOrigin = "push", eventSchemaVersion = 1, messageId = "none"
Complete Field List
| Field | Status | Description |
|---|---|---|
| siteId | Unchanged | |
| bookingOriginatedFromWaitlist | Unchanged | |
| classEndDateTime | Unchanged | |
| classId | Unchanged | |
| classRosterBookingId | Unchanged | |
| classStartDateTime | Unchanged | |
| clientEmail | Unchanged | |
| clientFirstName | Unchanged | |
| clientId | Unchanged | |
| clientLastName | Unchanged | |
| clientPassActivationDateTime | Unchanged | |
| clientPassExpirationDateTime | Unchanged | |
| clientPassId | Unchanged | |
| clientPassSessionsDeducted | Unchanged | |
| clientPassSessionsRemaining | Unchanged | |
| clientPassSessionsTotal | Unchanged | |
| clientPhone | Unchanged | |
| clientUniqueId | Unchanged | |
| clientsNumberOfVisitsAtSite | Unchanged | |
| locationId | Unchanged | |
| maxCapacity | Unchanged | |
| signedInStatus | Unchanged | |
| staffId | Unchanged | |
| staffName | Unchanged | |
| totalBooked | Unchanged | |
| totalWaitlisted | Unchanged | |
| webBooked | Unchanged | |
| webCapacity | Unchanged | |
| locationName | ✅ New | Added in v1.4 enrichment |
| addressLine1 | ✅ New | Added in v1.4 client enrichment |
| addressLine2 | ✅ New | Added in v1.4 client enrichment |
| appointmentGenderPreference | ✅ New | Added in v1.4 client enrichment |
| birthDateTime | ✅ New | Added in v1.4 client enrichment |
| city | ✅ New | Added in v1.4 client enrichment |
| country | ✅ New | Added in v1.4 client enrichment |
| creationDateTime | ✅ New | Added in v1.4 client enrichment |
| ✅ New | Added in v1.4 client enrichment | |
| firstAppointmentDateTime | ✅ New | Added in v1.4 client enrichment |
| firstName | ✅ New | Added in v1.4 client enrichment |
| gender | ✅ New | Added in v1.4 client enrichment |
| homePhone | ✅ New | Added in v1.4 client enrichment |
| homeStudioName | ✅ New | Added in v1.4 client enrichment |
| isCompany | ✅ New | Added in v1.4 client enrichment |
| isLiabilityReleased | ✅ New | Added in v1.4 client enrichment |
| isProspect | ✅ New | Added in v1.4 client enrichment |
| lastName | ✅ New | Added in v1.4 client enrichment |
| liabilityAgreementDateTime | ✅ New | Added in v1.4 client enrichment |
| mobilePhone | ✅ New | Added in v1.4 client enrichment |
| notes | ✅ New | Added in v1.4 client enrichment |
| photoUrl | ✅ New | Added in v1.4 client enrichment |
| postalCode | ✅ New | Added in v1.4 client enrichment |
| redAlert | ✅ New | Added in v1.4 client enrichment |
| referredBy | ✅ New | Added in v1.4 client enrichment |
| sendAccountEmails | ✅ New | Added in v1.4 client enrichment |
| sendAccountTexts | ✅ New | Added in v1.4 client enrichment |
| sendPromotionalEmails | ✅ New | Added in v1.4 client enrichment |
| sendPromotionalTexts | ✅ New | Added in v1.4 client enrichment |
| sendScheduleEmails | ✅ New | Added in v1.4 client enrichment |
| sendScheduleTexts | ✅ New | Added in v1.4 client enrichment |
| state | ✅ New | Added in v1.4 client enrichment |
| status | ✅ New | Added in v1.4 client enrichment |
| workPhone | ✅ New | Added in v1.4 client enrichment |
| yellowAlert | ✅ New | Added in v1.4 client enrichment |
| firstClassDate | ✅ New | Added in v1.4 client enrichment |
| workExtension | ✅ New | Added in v1.4 client enrichment |
| 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 |
| nextClassName | ✅ New | Added in v1.4 next visit enrichment |
| nextClassStartDateTime | ✅ New | Added in v1.4 next visit enrichment |
| nextClassId | ✅ New | Added in v1.4 next visit enrichment |
| nextAppointmentName | ✅ New | Added in v1.4 next visit enrichment |
| nextAppointmentStartDateTime | ✅ New | Added in v1.4 next visit enrichment |
| nextAppointmentId | ✅ New | Added in v1.4 next visit enrichment |
Related docs
Last updated April 8, 2026