capabilities.work

Add Client and Book Class

A 4-step recipe with Mindbody. We can help you get access.

Recipe · 4 steps

Add Client and Book Class

with Mindbody · Customer Data Management

Onboard a new client and book them into an upcoming class.

  1. Retrieve the class descriptions configured for the site to confirm the studio's class catalog before booking.
  2. List the scheduled class instances for the requested date range so a bookable class can be selected.
  3. Create the new client record using the supplied name and email. The created client's Id is captured for booking.
  4. Book the newly created client into the selected class instance.
What you'll need to have ready
  • apiKey: The Mindbody-issued API key sent in the API-Key header.
  • siteId: The ID of the site from which to pull data and write records.
  • authorization: A staff user authorization (OAuth bearer) token.
  • firstName: The new client's first name.
  • lastName: The new client's last name.
  • email: The new client's email address.
  • classId: The ID of the class instance to book the new client into.
  • startDateTime: Start of the date range used to list scheduled classes.
  • endDateTime: End of the date range used to list scheduled classes.
For your developer

Arazzo workflow mindbody:add-client-book-class, 4 operations: getClassDescriptions → getClasses → addClient → addClientToClass. Specs on APIs.io.