Mindbody · Arazzo Workflow

Mindbody Enroll Client in Program

Version 1.0.0

List available enrollments and add a client to a chosen enrollment.

1 workflow 1 source API 1 provider
View Spec View on GitHub FitnessWellnessBeautySchedulingBookingPoint-of-SaleStudiosSalonsSpasWebhookArazzoWorkflows

Provider

mindbody

Workflows

enroll-client-in-program
Discover enrollments and enroll a client into a selected program.
Lists the enrollments for a date range and adds the client to the enrollment identified by the supplied class schedule id.
2 steps inputs: apiKey, authorization, classScheduleId, clientId, endDate, siteId, startDate outputs: enrollmentResult, enrollments
1
listEnrollments
Retrieve the enrollments offered over the requested date range to confirm the program is available before enrolling the client.
2
enrollClient
Add the client to the chosen enrollment by its class schedule id.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Mindbody Enroll Client in Program
  summary: List available enrollments and add a client to a chosen enrollment.
  description: >-
    An enrollment flow for multi-session programs, courses, and series at a
    studio. The workflow lists the enrollments offered for a date range, then
    adds the client to the chosen enrollment by its class schedule id. Every
    step inlines the Mindbody API-Key, SiteId, and staff authorization headers
    along with its request body so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: enrollmentApi
  url: ../openapi/mindbody-enrollment-api-openapi.yml
  type: openapi
workflows:
- workflowId: enroll-client-in-program
  summary: Discover enrollments and enroll a client into a selected program.
  description: >-
    Lists the enrollments for a date range and adds the client to the
    enrollment identified by the supplied class schedule id.
  inputs:
    type: object
    required:
    - apiKey
    - siteId
    - authorization
    - clientId
    - classScheduleId
    properties:
      apiKey:
        type: string
        description: The Mindbody-issued API key sent in the API-Key header.
      siteId:
        type: string
        description: The ID of the site from which to pull data and write records.
      authorization:
        type: string
        description: A staff user authorization (OAuth bearer) token.
      clientId:
        type: string
        description: The ID of the client to add to the enrollment.
      classScheduleId:
        type: integer
        description: The class schedule id (EnrollmentId) of the enrollment to add the client to.
      startDate:
        type: string
        description: The start of the date range used to list enrollments.
      endDate:
        type: string
        description: The end of the date range used to list enrollments.
  steps:
  - stepId: listEnrollments
    description: >-
      Retrieve the enrollments offered over the requested date range to confirm
      the program is available before enrolling the client.
    operationId: getEnrollments
    parameters:
    - name: version
      in: path
      value: '6'
    - name: API-Key
      in: header
      value: $inputs.apiKey
    - name: siteId
      in: header
      value: $inputs.siteId
    - name: authorization
      in: header
      value: $inputs.authorization
    - name: request.classScheduleIds
      in: query
      value: $inputs.classScheduleId
    - name: request.startDate
      in: query
      value: $inputs.startDate
    - name: request.endDate
      in: query
      value: $inputs.endDate
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      enrollments: $response.body#/Enrollments
  - stepId: enrollClient
    description: >-
      Add the client to the chosen enrollment by its class schedule id.
    operationId: addClientToEnrollment
    parameters:
    - name: version
      in: path
      value: '6'
    - name: API-Key
      in: header
      value: $inputs.apiKey
    - name: siteId
      in: header
      value: $inputs.siteId
    - name: authorization
      in: header
      value: $inputs.authorization
    requestBody:
      contentType: application/json
      payload:
        ClientId: $inputs.clientId
        ClassScheduleId: $inputs.classScheduleId
        Test: false
        SendEmail: true
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      enrollmentResult: $response.body
  outputs:
    enrollments: $steps.listEnrollments.outputs.enrollments
    enrollmentResult: $steps.enrollClient.outputs.enrollmentResult

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/mindbody-enroll-client-in-program-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.