API Reference Card
All examples use four environment variables:
MIXPANEL_SERVICE_ACCOUNT (service account username), MIXPANEL_SECRET (service account secret), MIXPANEL_PROJECT_ID, and MAVERA_API_KEY. Python examples use requests with Basic Auth; JavaScript examples use fetch with the same auth pattern.Prerequisites
1
Mixpanel project with data
You need an active Mixpanel project with at least 30 days of tracked events and user profiles. Find your project ID in Mixpanel → Settings → Project Settings.
2
Service account
Create a Service Account in Mixpanel → Organization Settings → Service Accounts. Grant it Analyst role on your project.
3
Mavera API key
Get your key from Mavera dashboard.
4
Environment variables
Jobs
Rate Limits & Production Notes
Production checklist:
What’s Next
All Integrations
50+ API integrations with full code
Mixpanel API Docs
Official Mixpanel API reference
Personas API
Full reference for POST /api/v1/personas
Focus Groups API
Full reference for POST /api/v1/focus-groups
Mave Agent
Full reference for POST /api/v1/mave/chat
Generate API
Full reference for POST /api/v1/generations