get
https://production-api.shoutaboutus.com/api/v1/qr-codes//scan-history
Get paginated scan history (newest first by scanned_at) for a QR code belonging to the authenticated account-user, along with a small summary of the QR code itself.
Auth: Account — authentication; QR (404 if outside the account company). The request injects the route id into validation data and asserts it is an existing QR code.
Rate limit: No rate limit.
Request
- Query:
per_page(integer, optional, 10–100, default 15; values below 10 are raised to 10).
Response — { data. } envelope wrapping an array (so the paginator nests at data.data).
data.status(string) —"success".data.data(object) — a paginator of scan-history rows. Each row:id,qr_code_id,qr_code_template_id(nullable),ip_address,user_agent,referer,device_type,browser,os,latitude,longitude,country,city,metadata,scanned_at. Includes paginator keyscurrent_page,per_page,total,last_page.data.message(string) —"QR code scan history retrieved successfully".data.qr_code(object).
Path params
| Parameter | Type | Required | Notes |
|---|---|---|---|
qrCodeId | integer | Required | Digits only. |
Errors: 422 on validation failure.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
