{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mixpanel Annotations API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Annotations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Mixpanel List annotations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://mixpanel.com/api/app/projects/:projectId/annotations",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Mixpanel project ID"
              },
              {
                "name": "from_date",
                "value": "",
                "type": "query",
                "description": "Start date filter (YYYY-MM-DD)"
              },
              {
                "name": "to_date",
                "value": "",
                "type": "query",
                "description": "End date filter (YYYY-MM-DD)"
              }
            ]
          },
          "docs": "Retrieve all annotations for a project within an optional date range."
        },
        {
          "info": {
            "name": "Mixpanel Create annotation",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://mixpanel.com/api/app/projects/:projectId/annotations",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Mixpanel project ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new annotation to mark a specific point in time on Mixpanel charts."
        },
        {
          "info": {
            "name": "Mixpanel Get annotation",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://mixpanel.com/api/app/projects/:projectId/annotations/:annotationId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Mixpanel project ID"
              },
              {
                "name": "annotationId",
                "value": "",
                "type": "path",
                "description": "The annotation ID"
              }
            ]
          },
          "docs": "Retrieve a specific annotation by ID."
        },
        {
          "info": {
            "name": "Mixpanel Update annotation",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://mixpanel.com/api/app/projects/:projectId/annotations/:annotationId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Mixpanel project ID"
              },
              {
                "name": "annotationId",
                "value": "",
                "type": "path",
                "description": "The annotation ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an existing annotation's date or description."
        },
        {
          "info": {
            "name": "Mixpanel Delete annotation",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://mixpanel.com/api/app/projects/:projectId/annotations/:annotationId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Mixpanel project ID"
              },
              {
                "name": "annotationId",
                "value": "",
                "type": "path",
                "description": "The annotation ID"
              }
            ]
          },
          "docs": "Delete an annotation by ID."
        }
      ]
    }
  ],
  "bundled": true
}