Scanner grants and self check-in

Offline manifest authority, organiser grant management, and short-lived door codes.

The three legacy /api/scan operations are documented separately in Check-in sync. Scanner tokens are revocable, event-scoped grants; they are not login sessions and do not grant access to the organiser console.

OperationAccessPurpose
GET /api/scanner/manifestScanner grantDownload the bounded event ticket manifest for offline checking.
GET /api/scanner/staffOrganiserStaff, bound grants, and revocation state for an event.
POST /api/scanner/grantsOrganiserIssue a signed scanner grant for a live eligible membership.
DELETE /api/scanner/grantsOrganiserRevoke a grant immediately for online calls.
POST /api/scanner/organiser-grantOptional sessionResolve scanner, staff, or studio entry for the actor.
GET /api/scanner/door-codeOrganiserIssue a short-lived self-check-in code and exact remaining lifetime.
POST /api/scanner/self-check-inSessionReturn expired, missing-ticket, or checked-in actor state.

A malformed or revoked manifest token returns 403; a grant whose event or membership was removed returns 404. Revocation cannot retract a manifest already stored on an offline device. Sync still rechecks the live grant before accepting queued writes. Mutations require an exact configured Origin.