curl --request POST \
--url 'https://management.scanova.io/analytics/qr/raw/?from=2026-07-01&to=2026-08-16&file_format=csv' \
--header 'Authorization: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"q": ["Q07afe81aa0034c01"],
"filter_by": "qrid"
}' \
--output raw-analytics.csv
Management API — Analytics & Plans
Export raw analytics
POST /analytics/qr/raw/
POST
/
analytics
/
qr
/
raw
/
curl --request POST \
--url 'https://management.scanova.io/analytics/qr/raw/?from=2026-07-01&to=2026-08-16&file_format=csv' \
--header 'Authorization: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"q": ["Q07afe81aa0034c01"],
"filter_by": "qrid"
}' \
--output raw-analytics.csv
Exports raw, per-scan analytics records — one row per scan event, rather than the aggregated breakdowns QR analytics and Export analytics return.
This endpoint always returns a binary file, not JSON.
This is a POST-only endpoint — a
GET request returns 405 Method Not Allowed. The management-api.json spec previously listed it as GET; this has been corrected.Requires a Management API key with
MANAGEMENT_API quota — see the Management API overview — plus the account’s EXPORT_ANALYTICS_REPORT quota and ANALYTICS_CAN_EXPORT_RAW permission (distinct from the ANALYTICS_CAN_EXPORT permission the aggregated export requires — a role can have one without the other). A 403 with "Your plan does not have export analytics report quota." means the plan doesn’t include exports.Request
curl --request POST \
--url 'https://management.scanova.io/analytics/qr/raw/?from=2026-07-01&to=2026-08-16&file_format=csv' \
--header 'Authorization: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"q": ["Q07afe81aa0034c01"],
"filter_by": "qrid"
}' \
--output raw-analytics.csv
Query parameters
string
required
Start date (
YYYY-MM-DD), inclusive.string
required
End date (
YYYY-MM-DD), inclusive.string
required
csv, xls, or xlsx. Unlike Export analytics, pdf is not a supported format here. Any other value (or omitting it) returns a 400 with "Invalid file format".string
Pass
raw_bot to export only bot-identified scan records instead of all scans. Any other value is overwritten — this endpoint always exports raw data regardless of what you pass here.Request body
Same shape as QR analytics —q (required) and filter_by (default qrid) scope which QR codes’ raw scans to include, and the same QR-count/date-range volume cap applies.
array
required
Identifiers to scope the export to — type depends on
filter_by.string
default:"qrid"
qrid, id, tags, or folder.Response formats
- csv
- xls / xlsx
Returns a single CSV (
text/csv, analytics_raw.csv) of raw scan rows.Returns a spreadsheet (
analytics_raw.xlsx) with raw scan rows, plus a separate sheet for event-tracking raw records if the account has event tracking enabled.If the account has event tracking analytics enabled and
file_format isn’t csv, a second sheet/section of raw event-tracking records (session ID, timestamp, QR code ID/name, user-specified event tracking ID, URL hash, URL) is appended automatically. Requesting csv always returns scan records only — event-tracking rows are omitted for that format specifically.Related
- QR analytics — the aggregated, JSON equivalent of these raw scan records.
- Export analytics — export aggregated metric breakdowns instead of row-level scan data.
- Management API overview — the auth scheme and quota architecture this endpoint is part of.
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
Available options:
csv, xls, xlsx Pass raw_bot for a bot-only export; any other value is overwritten to raw.
Available options:
raw_bot Body
application/json
Response
Binary file download — text/csv for csv, spreadsheet mimetype for xls/xlsx.
Was this page helpful?
⌘I