QR and analytics
Reading/updating QR status and daily event/visitor analytics.
1 min read 2 sections
QR#
GET /api/v1/links/:id/qr reads the current QR state and payload. PATCH /api/v1/links/:id/qr updates the QR payload and generation state; it requires links:write and an Idempotency-Key.
Analytics#
analytics.sh
curl "https://api.beklio.com/api/v1/links/LINK_ID/analytics?days=30" \
-H "Authorization: Bearer bk_live_…"- Returns daily event and visitor totals.
daysranges from 1 to 365 and cannot exceed the history limit of your plan (x-link-history-days).- Works only with
analytics:readand only for data of your own links.
Is something missing or wrong? Write to the support team; including the X-Request-Id value from the response speeds up the fix.