Management APIs
Service Accounts
Manage programmatic access to Mixpanel
GET
Service Accounts
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/mixpanel/docs/llms.txt
Use this file to discover all available pages before exploring further.
Service Accounts API
Manage service accounts for programmatic access to Mixpanel APIs.Base URL
Authentication
Use Service Account credentials with HTTP Basic Auth.List Service Accounts
Get all service accounts for your organization.Your Mixpanel organization ID
Example Request
Response
Create Service Account
Create a new service account for your organization.Your Mixpanel organization ID
A descriptive name for the service account
The service account’s roleOptions:
owner, admin, analyst, consumerExpiration date and time in ISO formatExample:
2025-12-31T23:59:59ZList of projects to add the service account to
Example Request
Response
Get Service Account
Retrieve details of a specific service account.Your Mixpanel organization ID
The service account ID
Example Request
Delete Service Account
Remove a service account from your organization.Your Mixpanel organization ID
The service account ID to delete
Example Request
Add Service Account to Projects
Add one or more service accounts to one or more projects.Your Mixpanel organization ID
List of projects and roles
Array of service account IDs to add
Example Request
Remove Service Account from Projects
Your Mixpanel organization ID
List of projects to remove from
Example Request
Best Practices
Create service accounts for specific purposes
Create service accounts for specific purposes
Use dedicated service accounts for different integrations:
data-pipeline-bot: For data exportsci-cd-bot: For CI/CD integrationsanalytics-dashboard: For custom dashboards
Use least privilege
Use least privilege
Grant only the minimum required permissions:
Set expiration dates
Set expiration dates
Always set expiration dates for security:
Rotate credentials regularly
Rotate credentials regularly
Rotate service account credentials periodically:
Service Accounts