get
https://production-api.shoutaboutus.com/api/v1/qr-codes/template//scan-history
Get paginated scan-history records for a QR code template (by path ID), newest first by scanned_at, alongside a minimal template stub; 404s if the template does not belong to the authenticated user's company.
Auth: Account — authentication; The endpoint loads the template (own company only). The {id} route segment is digit-constrained and supplied to the request validation via validationData.
Rate limit: No rate limit.
Request
- Query:
per_page(integer, optional, 10–100, default 15; values below 10 are raised to 10) — page size.
Response — { data. } envelope wrapping the controller array:
status(string) —"success".data(object) — a paginator of scan rows:current_page,data(array ofqr_code_scan_historyrecords — fields such asid,qr_code_template_id,ip_address,user_agent,referer,scanned_at),per_page,total,last_page, etc.message(string) —"QR code template scan history retrieved successfully".qr_code_template(object) —{ id, name }of the parent template.
Path params
| Parameter | Type | Required | Notes |
|---|---|---|---|
templateId | 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…
