{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mixpanel Annotations Retrieval API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Retrieval",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Mixpanel Create data retrieval request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://mixpanel.com/api/app/data-retrievals/v3.0",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "query",
                "description": "Mixpanel project token"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Submit a GDPR or CCPA data retrieval request for a specific user. Returns a task ID to check the status of the retrieval."
        },
        {
          "info": {
            "name": "Mixpanel Check retrieval status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://mixpanel.com/api/app/data-retrievals/v3.0/:taskId",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path",
                "description": "The task ID returned when the request was created"
              },
              {
                "name": "token",
                "value": "",
                "type": "query",
                "description": "Mixpanel project token"
              }
            ]
          },
          "docs": "Check the status of a previously submitted data retrieval request."
        }
      ]
    }
  ],
  "bundled": true
}