Mindbody · Schema

CreateSubscriptionResponse

Implementation of the 'CreateSubscriptionResponse' model. The created subscription

FitnessWellnessBeautySchedulingBookingPoint of SaleStudiosSalonsSpasWebhooks

Properties

Name Type Description
eventIds array The events that are to be sent to this subscription's `webhookUrl`.
eventSchemaVersion number The event schema version associated with the subscription. Currently, this is always `1`.
messageSignatureKey string The subscription security key that you can use to verify an event payload's authenticity. It is important that you store this value because this is the only endpoint that returns it See X-Mindbody Sig
referenceId string An arbitrary ID that can be specified in the POST Subscription request body, and is saved for the requesting developer's use.
status string The subscription's current status. *Possible Values:* 1. `PendingActivation` - The subscription is created but not receiving event notifications. To start receiving event notifications, set the subscr
statusChangeDate string The UTC date and time when the subscription's status was last updated.
statusChangeMessage string A message generated by Mindbody that explains why a subscription's status changed.
statusChangeUser string The first name of the developer or Mindbody staff member who changed the subscription's status.
subscriptionCreationDateTime string The UTC date and time when the subscription was created.
subscriptionId string The subscription's ID (a GUID).
webhookUrl string The webhook to which the listed `eventIds` are sent.
View JSON Schema on GitHub

JSON Schema

webhooks-api-create-subscription-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mindbody/refs/heads/main/json-schema/webhooks-api-create-subscription-response-schema.json",
  "title": "CreateSubscriptionResponse",
  "description": "Implementation of the 'CreateSubscriptionResponse' model. The created subscription",
  "type": "object",
  "properties": {
    "eventIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The events that are to be sent to this subscription's `webhookUrl`.",
      "example": [
        "example-value"
      ]
    },
    "eventSchemaVersion": {
      "type": "number",
      "format": "double",
      "description": "The event schema version associated with the subscription. Currently, this is always `1`.",
      "example": 1.0
    },
    "messageSignatureKey": {
      "type": "string",
      "description": "The subscription security key that you can use to verify an event payload's authenticity. It is important that you store this value because this is the only endpoint that returns it See X-Mindbody Signature Header for more details.",
      "example": "example-value"
    },
    "referenceId": {
      "type": "string",
      "description": "An arbitrary ID that can be specified in the POST Subscription request body, and is saved for the requesting developer's use.",
      "example": "example-value"
    },
    "status": {
      "type": "string",
      "description": "The subscription's current status. *Possible Values:* 1. `PendingActivation` - The subscription is created but not receiving event notifications. To start receiving event notifications, set the subscription\u2019s status to `Active` using the PATCH Subscription endpoint. 2. `Active` - The subscription is active and can receive event notifications. 3. `DeactivatedByUser` - You deactivated the subscription. 4. `DeactivatedByAdmin` - Mindbody deactivated your subscription. 5. `DeactivatedTooManyFailedMe",
      "example": "example-value"
    },
    "statusChangeDate": {
      "type": "string",
      "format": "date-time",
      "description": "The UTC date and time when the subscription's status was last updated.",
      "example": "2026-05-28T14:30:00Z"
    },
    "statusChangeMessage": {
      "type": "string",
      "description": "A message generated by Mindbody that explains why a subscription's status changed.",
      "example": "example-value"
    },
    "statusChangeUser": {
      "type": "string",
      "description": "The first name of the developer or Mindbody staff member who changed the subscription's status.",
      "example": "example-value"
    },
    "subscriptionCreationDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "The UTC date and time when the subscription was created.",
      "example": "2026-05-28T14:30:00Z"
    },
    "subscriptionId": {
      "type": "string",
      "description": "The subscription's ID (a GUID).",
      "example": "example-value"
    },
    "webhookUrl": {
      "type": "string",
      "description": "The webhook to which the listed `eventIds` are sent.",
      "example": "https://example.mindbodyonline.com/resource/abc123"
    }
  }
}