Mindbody · Capability

Mindbody Public API v6 — Enrollment

Enrollment — 4 operations. Lead operation: Mindbody Returns a List of Enrollments. an Enrollment is a Service, Such as a. Self-contained Naftiko capability covering one Mindbody business surface.

Run with Naftiko MindbodyMindbody Public API v6Enrollment

What You Can Do

GET
Getenrollments — Mindbody Returns a List of Enrollments. an Enrollment is a Service, Such as a
/v1/enrollment/enrollments
POST
Addclienttoenrollment — Mindbody Book a Client Into an Enrollment
/v1/enrollment/addclienttoenrollment
POST
Addenrollmentschedule — Mindbody This Endpoint Adds a Enrollment Schedule. You Can Require Clients to
/v1/enrollment/addenrollmentschedule
POST
Updateenrollmentschedule — Mindbody This Endpoint Update a Enrollment Schedule
/v1/enrollment/updateenrollmentschedule

MCP Tools

returns-list-enrollments.-enrollment-is

Mindbody Returns a List of Enrollments. an Enrollment is a Service, Such as a

read-only idempotent
book-client-enrollment

Mindbody Book a Client Into an Enrollment

this-endpoint-adds-enrollment-schedule.

Mindbody This Endpoint Adds a Enrollment Schedule. You Can Require Clients to

this-endpoint-update-enrollment-schedule

Mindbody This Endpoint Update a Enrollment Schedule

Capability Spec

public-api-v6-enrollment.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: "Mindbody Public API v6 \u2014 Enrollment"
  description: "Enrollment \u2014 4 operations. Lead operation: Mindbody Returns a List of Enrollments. an Enrollment is a Service, Such as a. Self-contained Naftiko capability covering one Mindbody business\
    \ surface."
  tags:
  - Mindbody
  - Mindbody Public API v6
  - Enrollment
  created: '2026-05-28'
  modified: '2026-05-28'
binds:
- namespace: env
  keys:
    MINDBODY_API_KEY: MINDBODY_API_KEY
capability:
  consumes:
  - type: http
    namespace: public-api-v6-enrollment
    baseUri: https://api.mindbodyonline.com
    description: "Mindbody Public API v6 \u2014 Enrollment business capability. Self-contained, no shared references."
    authentication:
      type: apikey
      key: API-Key
      value: '{{env.MINDBODY_API_KEY}}'
      placement: header
    resources:
    - name: enrollment-enrollments
      path: /enrollment/enrollments
      operations:
      - name: getEnrollments
        method: GET
        description: Mindbody Returns a List of Enrollments. an Enrollment is a Service, Such as a
        inputParameters:
        - name: version
          in: path
          type: string
          required: true
          description: version of the api.
        - name: siteId
          in: header
          type: string
          required: true
          description: ID of the site from which to pull data.
        - name: authorization
          in: header
          type: string
          required: false
          description: A staff user authorization token.
        - name: request.classScheduleIds
          in: query
          type: array
          required: false
          description: A list of the requested class schedule IDs. If omitted, all class schedule IDs return.
        - name: request.endDate
          in: query
          type: string
          required: false
          description: 'The end of the date range. The response returns any active enrollments that occur on or before this day.<br /> Default: **StartDate**'
        - name: request.limit
          in: query
          type: integer
          required: false
          description: Number of results to include, defaults to 100
        - name: request.locationIds
          in: query
          type: array
          required: false
          description: List of the IDs for the requested locations. If omitted, all location IDs return.
        - name: request.offset
          in: query
          type: integer
          required: false
          description: Page offset, defaults to 0.
        - name: request.programIds
          in: query
          type: array
          required: false
          description: List of the IDs for the requested programs. If omitted, all program IDs return.
        - name: request.sessionTypeIds
          in: query
          type: array
          required: false
          description: List of the IDs for the requested session types. If omitted, all session types IDs return.
        - name: request.staffIds
          in: query
          type: array
          required: false
          description: List of the IDs for the requested staff IDs. If omitted, all staff IDs return.
        - name: request.startDate
          in: query
          type: string
          required: false
          description: "The start of the date range. The response returns any active enrollments that occur on or after this day.<br /> Default: **today\u2019s date**"
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enrollment-addclienttoenrollment
      path: /enrollment/addclienttoenrollment
      operations:
      - name: addClientToEnrollment
        method: POST
        description: Mindbody Book a Client Into an Enrollment
        inputParameters:
        - name: version
          in: path
          type: string
          required: true
          description: version of the api.
        - name: siteId
          in: header
          type: string
          required: true
          description: ID of the site from which to pull data.
        - name: authorization
          in: header
          type: string
          required: false
          description: A staff user authorization token.
        - name: body
          in: body
          type: object
          required: true
          description: JSON request body.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enrollment-addenrollmentschedule
      path: /enrollment/addenrollmentschedule
      operations:
      - name: addEnrollmentSchedule
        method: POST
        description: Mindbody This Endpoint Adds a Enrollment Schedule. You Can Require Clients to
        inputParameters:
        - name: version
          in: path
          type: string
          required: true
          description: version of the api.
        - name: siteId
          in: header
          type: string
          required: true
          description: ID of the site from which to pull data.
        - name: authorization
          in: header
          type: string
          required: false
          description: A staff user authorization token.
        - name: body
          in: body
          type: object
          required: true
          description: JSON request body.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enrollment-updateenrollmentschedule
      path: /enrollment/updateenrollmentschedule
      operations:
      - name: updateEnrollmentSchedule
        method: POST
        description: Mindbody This Endpoint Update a Enrollment Schedule
        inputParameters:
        - name: version
          in: path
          type: string
          required: true
          description: version of the api.
        - name: siteId
          in: header
          type: string
          required: true
          description: ID of the site from which to pull data.
        - name: authorization
          in: header
          type: string
          required: false
          description: A staff user authorization token.
        - name: body
          in: body
          type: object
          required: true
          description: JSON request body.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: public-api-v6-enrollment-rest
    port: 8080
    description: "REST adapter for Mindbody Public API v6 \u2014 Enrollment. One Spectral-compliant resource per consumed operation, prefixed with /v1."
    resources:
    - path: /v1/enrollment/enrollments
      name: v1-enrollment-enrollments
      description: REST surface for /v1/enrollment/enrollments.
      operations:
      - method: GET
        name: getEnrollments
        description: Mindbody Returns a List of Enrollments. an Enrollment is a Service, Such as a
        call: public-api-v6-enrollment.getEnrollments
        with:
          version: rest.version
          siteId: rest.siteId
          authorization: rest.authorization
          request.classScheduleIds: rest.request.classScheduleIds
          request.endDate: rest.request.endDate
          request.limit: rest.request.limit
          request.locationIds: rest.request.locationIds
          request.offset: rest.request.offset
          request.programIds: rest.request.programIds
          request.sessionTypeIds: rest.request.sessionTypeIds
          request.staffIds: rest.request.staffIds
          request.startDate: rest.request.startDate
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/enrollment/addclienttoenrollment
      name: v1-enrollment-addclienttoenrollment
      description: REST surface for /v1/enrollment/addclienttoenrollment.
      operations:
      - method: POST
        name: addClientToEnrollment
        description: Mindbody Book a Client Into an Enrollment
        call: public-api-v6-enrollment.addClientToEnrollment
        with:
          version: rest.version
          siteId: rest.siteId
          authorization: rest.authorization
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/enrollment/addenrollmentschedule
      name: v1-enrollment-addenrollmentschedule
      description: REST surface for /v1/enrollment/addenrollmentschedule.
      operations:
      - method: POST
        name: addEnrollmentSchedule
        description: Mindbody This Endpoint Adds a Enrollment Schedule. You Can Require Clients to
        call: public-api-v6-enrollment.addEnrollmentSchedule
        with:
          version: rest.version
          siteId: rest.siteId
          authorization: rest.authorization
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/enrollment/updateenrollmentschedule
      name: v1-enrollment-updateenrollmentschedule
      description: REST surface for /v1/enrollment/updateenrollmentschedule.
      operations:
      - method: POST
        name: updateEnrollmentSchedule
        description: Mindbody This Endpoint Update a Enrollment Schedule
        call: public-api-v6-enrollment.updateEnrollmentSchedule
        with:
          version: rest.version
          siteId: rest.siteId
          authorization: rest.authorization
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: public-api-v6-enrollment-mcp
    port: 9090
    transport: http
    description: "MCP adapter for Mindbody Public API v6 \u2014 Enrollment. One tool per consumed operation, routed inline through this capability's consumes block."
    tools:
    - name: returns-list-enrollments.-enrollment-is
      description: Mindbody Returns a List of Enrollments. an Enrollment is a Service, Such as a
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: public-api-v6-enrollment.getEnrollments
      with:
        version: tools.version
        siteId: tools.siteId
        authorization: tools.authorization
        request.classScheduleIds: tools.request.classScheduleIds
        request.endDate: tools.request.endDate
        request.limit: tools.request.limit
        request.locationIds: tools.request.locationIds
        request.offset: tools.request.offset
        request.programIds: tools.request.programIds
        request.sessionTypeIds: tools.request.sessionTypeIds
        request.staffIds: tools.request.staffIds
        request.startDate: tools.request.startDate
      outputParameters:
      - type: object
        mapping: $.
    - name: book-client-enrollment
      description: Mindbody Book a Client Into an Enrollment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: public-api-v6-enrollment.addClientToEnrollment
      with:
        version: tools.version
        siteId: tools.siteId
        authorization: tools.authorization
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: this-endpoint-adds-enrollment-schedule.
      description: Mindbody This Endpoint Adds a Enrollment Schedule. You Can Require Clients to
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: public-api-v6-enrollment.addEnrollmentSchedule
      with:
        version: tools.version
        siteId: tools.siteId
        authorization: tools.authorization
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: this-endpoint-update-enrollment-schedule
      description: Mindbody This Endpoint Update a Enrollment Schedule
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: public-api-v6-enrollment.updateEnrollmentSchedule
      with:
        version: tools.version
        siteId: tools.siteId
        authorization: tools.authorization
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.