Management APIs
Annotations
Mark important events in your charts
POST
Annotations
Annotations API
Create and manage annotations to mark important events in your Mixpanel charts.Base URL
Authentication
Use Service Account credentials with HTTP Basic Auth.List Annotations
Get all annotations in a project.number
required
Your Mixpanel project ID
string
Filter annotations from this date (
YYYY-MM-DD HH:mm:ss)string
Filter annotations to this date (
YYYY-MM-DD HH:mm:ss)Example Request
Create Annotation
Create a new annotation.number
required
Your Mixpanel project ID
string
required
Date and time in
YYYY-MM-DD HH:mm:ss formatExample: 2024-01-15 12:00:00string
required
The text to display for this annotationExample:
Product launch - v2.0array
Array of tag IDs to associate with the annotation
Example Request
Response
Get Annotation
Retrieve details of a specific annotation.number
required
Your Mixpanel project ID
number
required
The ID of the annotation
Example Request
Update Annotation
Update an existing annotation.number
required
Your Mixpanel project ID
number
required
The ID of the annotation to update
string
Updated description text
array
Updated array of tag IDs
Example Request
Delete Annotation
Permanently delete an annotation.number
required
Your Mixpanel project ID
number
required
The ID of the annotation to delete
Example Request
Manage Annotation Tags
List All Tags
Create Tag
Best Practices
Use meaningful descriptions
Use meaningful descriptions
Include context about what happened:
Tag annotations for filtering
Tag annotations for filtering
Create tags for different categories:
- Product launches
- Marketing campaigns
- Bug fixes
- Infrastructure changes
Automate annotation creation
Automate annotation creation
Create annotations programmatically during deployments:
Annotations