Goal
You want a kiosk app (tablet/laptop) that scans a QR/badge code and records a check-in.
What you need
- An API key with badges:write.
- A small server to proxy requests (recommended).
Flow
- 1) Scanner reads badge code.
- 2) Your kiosk app calls your own server endpoint (no secrets in kiosk).
- 3) Your server calls Confera Public API.
- 4) Kiosk shows success/failure instantly.
Request
Direct (server-to-server)
bash
Proxy endpoint (recommended)
Kiosks are often semi-trusted devices. Keep your Confera API key on a server you control, then let the kiosk call your server.
Next.js Route Handler: /api/kiosk/checkin
ts
Kiosk call
Browser / kiosk app
ts
Error handling
- 401: key missing/invalid/revoked/expired.
- 403: conference inactive, plan ended, module disabled, or scope missing.
- 409: duplicate scan (treat as success in kiosk UX).
- 429: rate limit (slow down scans, retry with backoff).
- 503: temporary outage (try again).