QR code 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 keys current_page, per_page, total, last_page.
  • data.message (string) — "QR code scan history retrieved successfully".
  • data.qr_code (object).

Path params

ParameterTypeRequiredNotes
qrCodeIdintegerRequiredDigits only.

Errors: 422 on validation failure.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Response

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json