Mixpanel Deletion API

Submit and check data deletion requests

Operations 2

POST /data-deletions/v3.0 Mixpanel Create data deletion request #
GET /data-deletions/v3.0/{taskId} Mixpanel Check deletion status #

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-deletion-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-deletion-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mixpanel GDPR and CCPA Deletion API
  description: API for submitting data retrieval and deletion requests to help meet GDPR and CCPA compliance requirements, including creating and checking the status of retrieval and deletion tasks.
  version: '3.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:
- bearerAuth: []
tags:
- name: Deletion
  description: Submit and check data deletion requests
paths:
  /data-deletions/v3.0:
    post:
      operationId: createDeletionRequest
      summary: Mixpanel Create data deletion request
      description: Submit a GDPR or CCPA data deletion request for a specific user. Once completed, all event data and profile data for the user will be permanently deleted.
      tags:
      - Deletion
      parameters:
      - $ref: '#/components/parameters/projectToken'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PrivacyRequest'
      responses:
        '200':
          description: Deletion request submitted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskResponse'
        '400':
          description: Invalid request
        '401':
          description: Unauthorized
        '429':
          description: Rate limit exceeded
  /data-deletions/v3.0/{taskId}:
    get:
      operationId: checkDeletionStatus
      summary: Mixpanel Check deletion status
      description: Check the status of a previously submitted data deletion request.
      tags:
      - Deletion
      parameters:
      - $ref: '#/components/parameters/taskId'
      - $ref: '#/components/parameters/projectToken'
      responses:
        '200':
          description: Deletion task status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskStatus'
        '401':
          description: Unauthorized
        '404':
          description: Task not found
components:
  schemas:
    TaskResponse:
      type: object
      properties:
        status:
          type: string
          enum:
          - ok
          - error
          description: Whether the request was accepted
        results:
          type: object
          properties:
            task_id:
              type: string
              description: Unique task ID for tracking the request
        error:
          type: string
          description: Error message if status is error
    TaskStatus:
      type: object
      properties:
        status:
          type: string
          enum:
          - ok
          - error
          description: API call status
        results:
          type: object
          properties:
            status:
              type: string
              enum:
              - PENDING
              - STAGING
              - STARTED
              - SUCCESS
              - FAILURE
              - REVOKED
              - NOT_FOUND
              - UNKNOWN
              description: Current status of the task
            result:
              type: string
              description: Additional result details
            download_url:
              type: string
              format: uri
              description: URL to download retrieval results (retrieval only)
    PrivacyRequest:
      type: object
      required:
      - distinct_ids
      - compliance_type
      properties:
        distinct_ids:
          type: array
          items:
            type: string
          description: List of distinct_ids to retrieve or delete data for
        compliance_type:
          type: string
          enum:
          - GDPR
          - CCPA
          description: The compliance regulation for the request
  parameters:
    projectToken:
      name: token
      in: query
      required: true
      schema:
        type: string
      description: Mixpanel project token
    taskId:
      name: taskId
      in: path
      required: true
      schema:
        type: string
      description: The task ID returned when the request was created
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: OAuth 2.0 bearer token for GDPR API authentication.
externalDocs:
  description: Mixpanel GDPR API Documentation
  url: https://developer.mixpanel.com/reference/gdpr-api