Mindbody Integration
Setup time: 20 minutes • Difficulty: Moderate
Offer insurance coverage for wellness events and classes
Quick Setup
Enable API Access
Activate API access in your Mindbody account settings
Get Credentials
Obtain your API key and site ID from Mindbody
Configure DEI
Enter credentials in Daily Event Insurance dashboard
Map Services
Select which classes and events trigger insurance
Step-by-Step Instructions
1. Enable API Access in Mindbody
- Log in to Mindbody Business as the site owner
- Navigate to Settings → Business → API Credentials
- Enable "API Access" if not already enabled
- Note your Site ID (found in business info)
2. Generate API Key
- Click "Create API Key" in the API Credentials section
- Name it "Daily Event Insurance Integration"
- Select all necessary permissions (Classes, Clients, Sales)
- Copy and securely store the generated API key
3. Connect to Daily Event Insurance
- Log in to your Daily Event Insurance dashboard
- Navigate to Settings → Integrations → Mindbody
- Enter your Mindbody Site ID and API Key
- Click "Test Connection" to verify
- Save the configuration
4. Configure Integration Settings
Customize which Mindbody classes trigger insurance quotes:
{
"mindbody_integration": {
"enabled": true,
"site_id": "12345",
"api_key": "mb_api_key_abc123",
"environment": "production",
"auto_quote": {
"enabled": true,
"class_types": [
"workshop",
"event",
"seminar",
"retreat",
"special_class"
],
"minimum_price": 300,
"minimum_duration": 120
},
"member_sync": {
"enabled": true,
"sync_on_enrollment": true,
"fields": ["name", "email", "phone", "emergency_contact"]
},
"coverage_rules": {
"workshops": {
"default_coverage": 50000,
"liability_included": true
},
"retreats": {
"default_coverage": 100000,
"liability_included": true,
"cancellation_included": true
}
}
}
}Features & Capabilities
Class Integration
Offer insurance for workshops, seminars, and special classes automatically
Member Management
Track insurance coverage status in Mindbody member profiles
Workshop Coverage
Automatically generate quotes for workshops and events
Payment Processing
Insurance premiums process seamlessly through Mindbody checkout
Enrollment Sync
Insurance status syncs with class enrollments in real-time
Multi-Location
Support for businesses with multiple studio locations
API Integration Example
Example code for handling Mindbody webhooks and creating insurance quotes:
// Mindbody Integration Handler
const mindbodyConfig = {
siteId: process.env.MINDBODY_SITE_ID,
apiKey: process.env.MINDBODY_API_KEY,
webhookUrl: "https://api.dailyeventinsurance.com/webhooks/mindbody"
}
// Handle class enrollment
mindbody.on('class.enrolled', async (enrollment) => {
const classInfo = await mindbody.getClass(enrollment.class_id)
// Check if this class type requires insurance
if (shouldOfferInsurance(classInfo)) {
const quote = await dailyEventInsurance.createQuote({
clientId: enrollment.client_id,
eventType: classInfo.type,
eventDate: classInfo.start_datetime,
participants: classInfo.max_capacity,
eventName: classInfo.name,
coverageAmount: getCoverageAmount(classInfo.type)
})
// Add insurance offer to enrollment
await mindbody.addClientNote(enrollment.client_id, {
note: `Insurance available for ${classInfo.name}: $${quote.premium}`,
quoteId: quote.id,
expiresAt: classInfo.start_datetime
})
}
})
// Determine if insurance should be offered
function shouldOfferInsurance(classInfo) {
const insurableTypes = ['workshop', 'event', 'seminar', 'retreat']
return insurableTypes.includes(classInfo.type) &&
classInfo.price >= 300 &&
classInfo.duration >= 120
}
// Get coverage amount based on event type
function getCoverageAmount(eventType) {
const coverageMap = {
'workshop': 50000,
'retreat': 100000,
'seminar': 50000,
'event': 75000
}
return coverageMap[eventType] || 50000
}Mindbody Webhook Payload
Example webhook data received from Mindbody when a client enrolls in a class:
{
"event_type": "class.enrolled",
"site_id": "12345",
"timestamp": "2026-06-15T14:30:00Z",
"data": {
"enrollment_id": "enroll_789",
"class_id": "class_456",
"class_name": "Wellness Workshop",
"class_type": "workshop",
"start_datetime": "2026-07-01T09:00:00Z",
"duration_minutes": 180,
"price": 450.00,
"client": {
"id": "client_123",
"name": "Sarah Johnson",
"email": "sarah@example.com",
"phone": "+1-555-0123"
},
"location": {
"id": "loc_001",
"name": "Downtown Studio"
}
}
}Important Notes
- •API access requires Mindbody Ultimate or higher subscription
- •Insurance options appear as notes in client profiles
- •Staff can view insurance status in Mindbody client details
- •Multi-location support requires configuration per location
- •Client data respects Mindbody privacy and consent settings
Need Help with Mindbody Integration?
Our team has extensive experience with wellness industry integrations