curl --request POST \
--url https://management.scanova.io/analytics/qr/raw/ \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"q": [
"Q07afe81aa0034c01"
],
"filter_by": "qrid"
}
'import requests
url = "https://management.scanova.io/analytics/qr/raw/"
payload = {
"q": ["Q07afe81aa0034c01"],
"filter_by": "qrid"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({q: ['Q07afe81aa0034c01'], filter_by: 'qrid'})
};
fetch('https://management.scanova.io/analytics/qr/raw/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://management.scanova.io/analytics/qr/raw/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'q' => [
'Q07afe81aa0034c01'
],
'filter_by' => 'qrid'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://management.scanova.io/analytics/qr/raw/"
payload := strings.NewReader("{\n \"q\": [\n \"Q07afe81aa0034c01\"\n ],\n \"filter_by\": \"qrid\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://management.scanova.io/analytics/qr/raw/")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"q\": [\n \"Q07afe81aa0034c01\"\n ],\n \"filter_by\": \"qrid\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://management.scanova.io/analytics/qr/raw/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"q\": [\n \"Q07afe81aa0034c01\"\n ],\n \"filter_by\": \"qrid\"\n}"
response = http.request(request)
puts response.read_bodyExport Raw Scan Data
Download row-level scan logs for one or more QR codes, using the same filters as the aggregate analytics export endpoint. Ideal for custom BI pipelines, reconciliations, or detailed auditing.
curl --request POST \
--url https://management.scanova.io/analytics/qr/raw/ \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"q": [
"Q07afe81aa0034c01"
],
"filter_by": "qrid"
}
'import requests
url = "https://management.scanova.io/analytics/qr/raw/"
payload = {
"q": ["Q07afe81aa0034c01"],
"filter_by": "qrid"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({q: ['Q07afe81aa0034c01'], filter_by: 'qrid'})
};
fetch('https://management.scanova.io/analytics/qr/raw/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://management.scanova.io/analytics/qr/raw/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'q' => [
'Q07afe81aa0034c01'
],
'filter_by' => 'qrid'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://management.scanova.io/analytics/qr/raw/"
payload := strings.NewReader("{\n \"q\": [\n \"Q07afe81aa0034c01\"\n ],\n \"filter_by\": \"qrid\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://management.scanova.io/analytics/qr/raw/")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"q\": [\n \"Q07afe81aa0034c01\"\n ],\n \"filter_by\": \"qrid\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://management.scanova.io/analytics/qr/raw/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"q\": [\n \"Q07afe81aa0034c01\"\n ],\n \"filter_by\": \"qrid\"\n}"
response = http.request(request)
puts response.read_bodyDescription
The Export Raw Scan Data endpoint returns a flat dataset where each row equals one scan event. Use it when you need to rebuild your own pivot tables, send the data to a warehouse, or debug anomalies at the event level. The query parameters mirror those in the analytics export endpoint so you can reuse the same request builder.Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
type | string | ✅ Yes | Export mode. Use raw for all scan events (humans + bots), or raw_bot to export only bot scan events. |
from | string (YYYY-MM-DD) | ✅ Yes | Inclusive start date for the export window. |
to | string (YYYY-MM-DD) | ✅ Yes | Inclusive end date. Defaults to the current date when omitted. |
file_format | string | ✅ Yes | Output format. Accepted values: csv, xls, xlsx. CSV is recommended for large pulls. |
exclude_bot_scan | boolean | No | When true, bot scan rows are excluded from the raw export. Use alongside type=raw to get a clean human-only dataset. Defaults to false. |
Supported type Values
| Value | Description |
|---|---|
raw | Export all individual scan events (human and bot traffic combined). |
raw_bot | Export only bot scan events. Useful for auditing or removing bot traffic separately. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
filter_by | string | ✅ Yes | Filter type — either qrid (QR code IDs), tags (tag names) and folder id. |
q | array | ✅ Yes | List of QR IDs (if filter_by=qrid) or tags (if filter_by=tags) or folder id (if filter_by=folder) to include in the raw export. |
q field per ID or tag (for example: q=Qf94..., q=Qf95...).Example Request
Export Raw Scan Data by QR IDs
curl -X POST "https://management.scanova.io/analytics/qr/raw/?type=raw&from=2025-10-28&to=2025-11-26&file_format=csv" \
-H "Authorization: YOUR_API_KEY" \
-F "filter_by=qrid" \
-F "q=Qf94b25d768294148" \
-F "q=Qf94b25d768294149"
Export Raw Scan Data by Tags
curl -X POST "https://management.scanova.io/analytics/qr/raw/?type=raw&from=2025-10-28&to=2025-11-26&file_format=csv" \
-H "Authorization: YOUR_API_KEY" \
-F "filter_by=tags" \
-F "q=marketing" \
-F "q=campaign"
Export Bot-Only Scan Data
curl -X POST "https://management.scanova.io/analytics/qr/raw/?type=raw_bot&from=2025-10-28&to=2025-11-26&file_format=csv" \
-H "Authorization: YOUR_API_KEY" \
-F "filter_by=qrid" \
-F "q=Qf94b25d768294148"
Response
- Status:
200 OKon success. - Content-Type: Matches the requested format (
text/csv,application/vnd.ms-excel, orapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet). - Body: Each row represents a scan with timestamp, device, OS, browser, geo metadata, campaign references, and any other available scan attributes.
Tips
- Pair this export with the aggregate
/analytics/qr/export/report to validate funnel metrics. - CSV output is best suited for ETL/ELT jobs and scripting workflows.
- XLS/XLSX provide richer formatting if you need to hand the dataset to stakeholders without additional tooling.
Authorizations
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. management.scanova.io) — the same key sent to the regular API host will not authenticate.
Query Parameters
csv, xls, xlsx Pass raw_bot for a bot-only export; any other value is overwritten to raw.
raw_bot Body
Response
Binary file download — text/csv for csv, spreadsheet mimetype for xls/xlsx.
Was this page helpful?