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

# Einzelne Konversionsereignisse exportieren

> Einzelne Konversionsereignisse Zeile für Zeile als CSV-, XLS- oder XLSX-Datei exportieren, gefiltert nach QR-Code, Kategorie, Nutzer oder nach Zeitraum.

## Abfrageparameter

| Parameter           | Typ                   | Pflicht | Beschreibung                                                |
| :------------------ | :-------------------- | :------ | :---------------------------------------------------------- |
| `from`              | `string (YYYY-MM-DD)` | Ja      | Startdatum, einschließlich.                                 |
| `to`                | `string (YYYY-MM-DD)` | Ja      | Enddatum, einschließlich.                                   |
| `file_format`       | `string`              | Ja      | Einer der Werte `csv`, `xls` oder `xlsx`.                   |
| `all`               | `boolean`             | Nein    | Alle QR-Codes im Geltungsbereich einbeziehen.               |
| `search`            | `string`              | Nein    | Suchbegriff, der zusammen mit `all=true` gilt.              |
| `category`          | `string`              | Nein    | Durch Kommas getrennte Kategorie-Kürzel.                    |
| `users`             | `string`              | Nein    | Durch Kommas getrennte Nutzer-IDs.                          |
| `conversion_events` | `string`              | Nein    | Durch Kommas getrennte Schlüssel der Konversionsereignisse. |
| `funnel_steps`      | `string`              | Nein    | Geordnete, durch Kommas getrennte Ereignisschlüssel.        |

## Anfragetext

| Feld        | Typ             | Pflicht | Beschreibung                              |
| :---------- | :-------------- | :------ | :---------------------------------------- |
| `filter_by` | `string`        | Ja      | Einer der Werte `qrid`, `id` oder `tags`. |
| `q`         | `array[string]` | Ja      | Die zu `filter_by` passenden Werte.       |

## Beispiel

```bash theme={null}
curl -X POST "https://api.scanova.io/analytics/ct/raw/?from=2026-03-03&to=2026-03-10&file_format=csv" \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "filter_by": "qrid",
    "q": ["Q20a18d4af3e947a1"]
  }'
```


## OpenAPI

````yaml POST /analytics/ct/raw/
openapi: 3.0.0
info:
  title: Scanova API - Analytics
  description: >-
    Analytics endpoints for retrieving QR code scan data, statistics, and
    exporting analytics reports. These endpoints provide comprehensive insights
    into QR code performance, user behavior, and geographic distribution.
  version: 1.0.0
servers:
  - url: https://api.scanova.io
    description: Scanova Management API Server
security:
  - apiKeyAuth: []
paths:
  /analytics/ct/raw/:
    post:
      tags:
        - Analytics
      summary: Export Raw Conversion Events
      description: Export row-level conversion tracking events in CSV/XLS/XLSX.
      parameters:
        - name: from
          in: query
          required: true
          schema:
            type: string
            format: date
        - name: to
          in: query
          required: true
          schema:
            type: string
            format: date
        - name: file_format
          in: query
          required: true
          schema:
            type: string
            enum:
              - csv
              - xls
              - xlsx
        - name: all
          in: query
          required: false
          schema:
            type: boolean
        - name: search
          in: query
          required: false
          schema:
            type: string
        - name: category
          in: query
          required: false
          schema:
            type: string
        - name: users
          in: query
          required: false
          schema:
            type: string
        - name: conversion_events
          in: query
          required: false
          schema:
            type: string
        - name: funnel_steps
          in: query
          required: false
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - filter_by
                - q
              properties:
                filter_by:
                  type: string
                  enum:
                    - qrid
                    - id
                    - tags
                q:
                  type: array
                  items:
                    type: string
      responses:
        '200':
          description: Raw export generated successfully
          content:
            text/csv:
              schema:
                type: string
                format: binary
            application/vnd.ms-excel:
              schema:
                type: string
                format: binary
            application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
              schema:
                type: string
                format: binary
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        API key authentication. Enter your API key directly in the Authorization
        header.

````