All integrations
Get an API key
Mixpanel
Event ingestion, funnels, retention and user profiles in Mixpanel.
Analytics
How an agent reaches it
MCPREST APICLI
How you authenticate
Username and password
API key
- Create a service account in Project settings.
- The service account username and secret are the Basic pair.
Connection details
- Base URL
- https://mixpanel.com/api/2.0
- Pagination
- offset
Common endpoints
| run a segmentation query | GET /segmentation?project_id={id}&event={name}&from_date=...&to_date=... |
| export raw events | GET https://data.mixpanel.com/api/2.0/export?from_date=...&to_date=... |
Worth knowing
- Ingestion (api.mixpanel.com) and query (mixpanel.com/api) are different hosts.
- EU residency uses eu.mixpanel.com and api-eu.mixpanel.com.
- Query endpoints need `project_id` as a query parameter.