Mindbody · Capability

Mindbody Public API v6 — User Token

User Token — 3 operations. Lead operation: Mindbody When Users Interact with Your Public API Integration as Staff Members,. Self-contained Naftiko capability covering one Mindbody business surface.

Run with Naftiko MindbodyMindbody Public API v6User Token

What You Can Do

POST
Issuetoken — Mindbody When Users Interact with Your Public API Integration as Staff Members,
/v1/usertoken/issue
POST
Renewtoken — Mindbody Renews a Token. Can Be Used to Extend the Lifetime of a Token
/v1/usertoken/renew
DELETE
Revoketoken — Mindbody Revokes the User Token in the Authorization Header
/v1/usertoken/revoke

MCP Tools

when-users-interact-your-public

Mindbody When Users Interact with Your Public API Integration as Staff Members,

renews-token.-can-be-used

Mindbody Renews a Token. Can Be Used to Extend the Lifetime of a Token

revokes-user-token-authorization-header

Mindbody Revokes the User Token in the Authorization Header

idempotent

Capability Spec

public-api-v6-user-token.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: "Mindbody Public API v6 \u2014 User Token"
  description: "User Token \u2014 3 operations. Lead operation: Mindbody When Users Interact with Your Public API Integration as Staff Members,. Self-contained Naftiko capability covering one Mindbody business\
    \ surface."
  tags:
  - Mindbody
  - Mindbody Public API v6
  - User Token
  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-user-token
    baseUri: https://api.mindbodyonline.com
    description: "Mindbody Public API v6 \u2014 User Token business capability. Self-contained, no shared references."
    authentication:
      type: apikey
      key: API-Key
      value: '{{env.MINDBODY_API_KEY}}'
      placement: header
    resources:
    - name: usertoken-issue
      path: /usertoken/issue
      operations:
      - name: issueToken
        method: POST
        description: Mindbody When Users Interact with Your Public API Integration as Staff Members,
        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: body
          in: body
          type: object
          required: true
          description: JSON request body.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: usertoken-renew
      path: /usertoken/renew
      operations:
      - name: renewToken
        method: POST
        description: Mindbody Renews a Token. Can Be Used to Extend the Lifetime of a Token
        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.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: usertoken-revoke
      path: /usertoken/revoke
      operations:
      - name: revokeToken
        method: DELETE
        description: Mindbody Revokes the User Token in the Authorization Header
        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.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: public-api-v6-user-token-rest
    port: 8080
    description: "REST adapter for Mindbody Public API v6 \u2014 User Token. One Spectral-compliant resource per consumed operation, prefixed with /v1."
    resources:
    - path: /v1/usertoken/issue
      name: v1-usertoken-issue
      description: REST surface for /v1/usertoken/issue.
      operations:
      - method: POST
        name: issueToken
        description: Mindbody When Users Interact with Your Public API Integration as Staff Members,
        call: public-api-v6-user-token.issueToken
        with:
          version: rest.version
          siteId: rest.siteId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/usertoken/renew
      name: v1-usertoken-renew
      description: REST surface for /v1/usertoken/renew.
      operations:
      - method: POST
        name: renewToken
        description: Mindbody Renews a Token. Can Be Used to Extend the Lifetime of a Token
        call: public-api-v6-user-token.renewToken
        with:
          version: rest.version
          siteId: rest.siteId
          authorization: rest.authorization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/usertoken/revoke
      name: v1-usertoken-revoke
      description: REST surface for /v1/usertoken/revoke.
      operations:
      - method: DELETE
        name: revokeToken
        description: Mindbody Revokes the User Token in the Authorization Header
        call: public-api-v6-user-token.revokeToken
        with:
          version: rest.version
          siteId: rest.siteId
          authorization: rest.authorization
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: public-api-v6-user-token-mcp
    port: 9090
    transport: http
    description: "MCP adapter for Mindbody Public API v6 \u2014 User Token. One tool per consumed operation, routed inline through this capability's consumes block."
    tools:
    - name: when-users-interact-your-public
      description: Mindbody When Users Interact with Your Public API Integration as Staff Members,
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: public-api-v6-user-token.issueToken
      with:
        version: tools.version
        siteId: tools.siteId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: renews-token.-can-be-used
      description: Mindbody Renews a Token. Can Be Used to Extend the Lifetime of a Token
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: public-api-v6-user-token.renewToken
      with:
        version: tools.version
        siteId: tools.siteId
        authorization: tools.authorization
      outputParameters:
      - type: object
        mapping: $.
    - name: revokes-user-token-authorization-header
      description: Mindbody Revokes the User Token in the Authorization Header
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: public-api-v6-user-token.revokeToken
      with:
        version: tools.version
        siteId: tools.siteId
        authorization: tools.authorization
      outputParameters:
      - type: object
        mapping: $.