> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enneo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Export GDPR private data for a customer

> Export all personally identifiable data tied to a given customer/contract for GDPR data-portability
and right-to-access requests. The call requires the requesting user to hold the relevant GDPR
permission.




## OpenAPI

````yaml https://dev.enneo.dev/api/mind/docs/open-api get /export/gdprPrivateData
openapi: 3.0.0
info:
  version: '1'
  title: enneo.MIND API
  description: This describes the API of enneo Mind, the main ticketing backend
  contact:
    name: enneo GmbH
    email: richard@enneo.ai
  license:
    name: Proprietary software
    url: https://enneo.ai
servers:
  - url: https://demo.enneo.ai/api/mind
    description: Production server, demo client
  - url: https://main.enneo.dev/api/mind
    description: Development main branch
  - url: http://localhost:8005/api/mind
    description: Local development server
security:
  - bearerAuth:
      - api
  - cookieAuth:
      - api
paths:
  /export/gdprPrivateData:
    get:
      tags:
        - Export
      summary: Export GDPR private data for a customer
      description: >
        Export all personally identifiable data tied to a given
        customer/contract for GDPR data-portability

        and right-to-access requests. The call requires the requesting user to
        hold the relevant GDPR

        permission.
      operationId: exportGdprPrivateData
      parameters:
        - name: contractId
          in: query
          required: false
          description: >-
            Contract ID to export. Either `contractId` or `customerId` must be
            provided.
          schema:
            type: string
        - name: customerId
          in: query
          required: false
          description: >-
            Customer ID to export. Either `contractId` or `customerId` must be
            provided.
          schema:
            type: string
        - name: format
          in: query
          required: false
          description: >-
            Export format. Defaults to the backend `defaultDateExportFormat`
            setting.
          schema:
            type: string
            enum:
              - xlsx
              - csv
              - json
      responses:
        '200':
          description: Successful operation
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '400':
          description: Missing `contractId`/`customerId` or invalid parameters.
        '403':
          description: Unauthorized — caller lacks GDPR export permission.
        '500':
          description: Internal error.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT-based authentication
      x-scopes:
        api: Full access to the API
    cookieAuth:
      type: apiKey
      in: cookie
      name: connect.sid
      description: Cookie-based authentication
      x-scopes:
        api: Full access to the API

````