QrCodeAnalytics

A request or response body; the type column links to the schemas it refers to.

QrCodeAnalytics

FieldTypeRequiredDescription
qr_code_idstring (uuid)yes—
scan_countintegeryes

Every recorded scan, by anyone — administrators trying the code included.

redirected_countintegeryes

Scans that were sent on to the destination.

denied_countintegeryes

Scans by people the target does not reach — a code posted where its audience is not.

unavailable_countintegeryes

Scans while the code was archived or its target gone, archived or unpublished — a code that needs retargeting or taking down.

unique_scannersintegeryes—
last_scanned_atstring (date-time) | nullyes—
scannersarray of QrCodeScanneryes

Everyone who has scanned the code, most recent first.

jsonExample
{
  "qr_code_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
  "scan_count": 0,
  "redirected_count": 0,
  "denied_count": 0,
  "unavailable_count": 0,
  "unique_scanners": 0,
  "last_scanned_at": "2026-01-01T00:00:00.000Z",
  "scanners": [
    {
      "user_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
      "display_name": "string",
      "email": "string",
      "scan_count": 0,
      "redirected_count": 0,
      "first_scanned_at": "2026-01-01T00:00:00.000Z",
      "last_scanned_at": "2026-01-01T00:00:00.000Z"
    }
  ]
}