Mixpanel Annotations API

Manage chart annotations for time-based markers

Operations 5

GET /projects/{projectId}/annotations Mixpanel List annotations #
POST /projects/{projectId}/annotations Mixpanel Create annotation #
GET /projects/{projectId}/annotations/{annotationId} Mixpanel Get annotation #
PUT /projects/{projectId}/annotations/{annotationId} Mixpanel Update annotation #
DELETE /projects/{projectId}/annotations/{annotationId} Mixpanel Delete annotation #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mixpanel-annotations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mixpanel-annotations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mixpanel Annotations API
  description: API for creating, retrieving, updating, and deleting annotations that label specific points in time on Mixpanel charts with descriptions, useful for marking product launches, campaigns, or data anomalies.
  version: '1.0'
  contact:
    name: Mixpanel Support
    email: support@mixpanel.com
    url: https://mixpanel.com/get-support
  termsOfService: https://mixpanel.com/legal/terms-of-use
servers:
- url: https://mixpanel.com/api/app
  description: Mixpanel US Data Residency
- url: https://eu.mixpanel.com/api/app
  description: Mixpanel EU Data Residency
security:
- basicAuth: []
tags:
- name: Annotations
  description: Manage chart annotations for time-based markers
paths:
  /projects/{projectId}/annotations:
    get:
      operationId: listAnnotations
      summary: Mixpanel List annotations
      description: Retrieve all annotations for a project within an optional date range.
      tags:
      - Annotations
      parameters:
      - $ref: '#/components/parameters/projectId'
      - name: from_date
        in: query
        schema:
          type: string
          format: date
        description: Start date filter (YYYY-MM-DD)
      - name: to_date
        in: query
        schema:
          type: string
          format: date
        description: End date filter (YYYY-MM-DD)
      responses:
        '200':
          description: List of annotations
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      $ref: '#/components/schemas/Annotation'
        '401':
          description: Unauthorized
    post:
      operationId: createAnnotation
      summary: Mixpanel Create annotation
      description: Create a new annotation to mark a specific point in time on Mixpanel charts.
      tags:
      - Annotations
      parameters:
      - $ref: '#/components/parameters/projectId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAnnotationRequest'
      responses:
        '200':
          description: Annotation created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Annotation'
        '400':
          description: Invalid request
        '401':
          description: Unauthorized
  /projects/{projectId}/annotations/{annotationId}:
    get:
      operationId: getAnnotation
      summary: Mixpanel Get annotation
      description: Retrieve a specific annotation by ID.
      tags:
      - Annotations
      parameters:
      - $ref: '#/components/parameters/projectId'
      - $ref: '#/components/parameters/annotationId'
      responses:
        '200':
          description: Annotation details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Annotation'
        '401':
          description: Unauthorized
        '404':
          description: Annotation not found
    put:
      operationId: updateAnnotation
      summary: Mixpanel Update annotation
      description: Update an existing annotation's date or description.
      tags:
      - Annotations
      parameters:
      - $ref: '#/components/parameters/projectId'
      - $ref: '#/components/parameters/annotationId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAnnotationRequest'
      responses:
        '200':
          description: Annotation updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Annotation'
        '400':
          description: Invalid request
        '401':
          description: Unauthorized
        '404':
          description: Annotation not found
    delete:
      operationId: deleteAnnotation
      summary: Mixpanel Delete annotation
      description: Delete an annotation by ID.
      tags:
      - Annotations
      parameters:
      - $ref: '#/components/parameters/projectId'
      - $ref: '#/components/parameters/annotationId'
      responses:
        '200':
          description: Annotation deleted
        '401':
          description: Unauthorized
        '404':
          description: Annotation not found
components:
  parameters:
    annotationId:
      name: annotationId
      in: path
      required: true
      schema:
        type: integer
      description: The annotation ID
    projectId:
      name: projectId
      in: path
      required: true
      schema:
        type: integer
      description: The Mixpanel project ID
  schemas:
    Annotation:
      type: object
      properties:
        id:
          type: integer
          description: Unique annotation identifier
        date:
          type: string
          format: date-time
          description: The date and time the annotation marks
        description:
          type: string
          description: Description text for the annotation
        user:
          type: object
          properties:
            id:
              type: integer
              description: ID of the user who created the annotation
            name:
              type: string
              description: Name of the user who created the annotation
        createdAt:
          type: string
          format: date-time
          description: When the annotation was created
    CreateAnnotationRequest:
      type: object
      required:
      - date
      - description
      properties:
        date:
          type: string
          format: date-time
          description: The date and time to annotate (YYYY-MM-DDThh:mm:ss)
        description:
          type: string
          description: Description text for the annotation
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: Service account credentials for API authentication.
externalDocs:
  description: Mixpanel Annotations API Documentation
  url: https://developer.mixpanel.com/reference/create-annotation