> ## 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.

# Export Raw Conversion Events

> Export row-level conversion events in CSV/XLS/XLSX formats.

## Query Parameters

| Parameter           | Type                  | Required | Description                            |
| :------------------ | :-------------------- | :------- | :------------------------------------- |
| `from`              | `string (YYYY-MM-DD)` | Yes      | Inclusive start date.                  |
| `to`                | `string (YYYY-MM-DD)` | Yes      | Inclusive end date.                    |
| `file_format`       | `string`              | Yes      | One of: `csv`, `xls`, `xlsx`.          |
| `all`               | `boolean`             | No       | Include all QR Codes in scope.         |
| `search`            | `string`              | No       | Search value used with `all=true`.     |
| `category`          | `string`              | No       | Comma-separated category slugs.        |
| `users`             | `string`              | No       | Comma-separated user IDs.              |
| `conversion_events` | `string`              | No       | Comma-separated conversion event keys. |
| `funnel_steps`      | `string`              | No       | Ordered comma-separated event keys.    |

## Request Body

| Field       | Type            | Required | Description                          |
| :---------- | :-------------- | :------- | :----------------------------------- |
| `filter_by` | `string`        | Yes      | One of: `qrid`, `id`, `tags`.        |
| `q`         | `array[string]` | Yes      | Values corresponding to `filter_by`. |

## Example

```bash theme={null}
curl -X POST "https://management.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://management.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.

````