Skip to main content
Version: v1 (Current)

Access Points Readers and Credentials

Access-control resources connect attendee credentials, locations, rules and scanning devices. Keep these operational admission rules distinct from portal page login and API permissions.

Configure the resources​

The dashboard calls these Access Zones: start at /p/{team}/{project}/access-zones and open /access-zones/{access_zone} using the zone slug. The API calls the same model an access point. Project readers are listed at /p/{team}/{project}/readers, and /p/{team}/{project}/scanning provides the project scanning dashboard. Keep the dashboard’s access-zones paths distinct from the API’s access-points paths.

The permission catalog separates view_access_points/manage_access_points from view_access_point_readers/manage_access_point_readers. Giving an operator access to scan history does not provision a device principal. Configure a real reader assignment and verify its active state and credential lifecycle separately.

  1. Define the project locations required for doors, rooms or zones.
  2. Create an access point with its supported type, name, slug and location.
  3. Configure active state, check-in/attendance/proximity behavior and any supported timing/rules.
  4. Define credential types and assign the intended identifiers to attendees.
  5. Add or pair the appropriate readers/devices to the project and access point.
  6. Test allowed and denied scans before operational use.

The current AccessPoint model requires a project location at creation. Use the location relationship; do not assume a generic access_zone_id object from another system is the current API payload. The dashboard offers Active Scanner and Passive Scanner workflows. The active_scanning_enabled flag separately gates the direct scan endpoint; choosing a type or saving an active zone alone is not proof direct scans will be accepted. Attendance and proximity processing are separate settings.

Credentials​

An attendee credential has a type and identifier. Configure the intended barcode/QR/device format through the supported credential and reader controls. Inspect project/type uniqueness and the correct attendee association before printing or scanning a badge. The direct scan request supplies an identifier without a credential type; the reviewed lookup chooses the lowest-ID matching credential within the project if the same identifier exists under multiple types. Avoid reusing an operational barcode across credential types and expecting the scanner to select the intended type.

Use badge templates when the experience includes printing. Select the correct template/version, media and attendee/credential fields and run a sample print. A correctly rendered visual badge does not prove its encoded identifier resolves to the intended attendee.

Update a credential through REST​

Use PUT or PATCH /api/v1/projects/{teamSlug}/{projectSlug}/attendees/{attendee}/credentials/{credential} with numeric attendee and credential row IDs. The child is fetched through that attendee's credentials relation; the parent query is project-scoped. A credential identifier is the live value scanned at a door, not the child row ID. The update gate maps to manage_attendee_credentials through the credential policy, separately from printing or scan authority. Verify actual principal/row isolation and another attendee's credential.

Always supply the current intended identifier when changing only a label. Request preparation runs on updates and generates a UUID when identifier is omitted or null; therefore a nominal label-only request can replace the badge's scan value. This supported client body deliberately requires identifier even though selected validation marks it sometimes. The following values are synthetic: replace identifier with the existing intended credential value, keep it private, and do not submit the example to a live project.

{
"identifier": "11111111-1111-4111-8111-111111111111",
"label": "Partner badge"
}

Selected update fields include label (string, maximum 255), identifier (string) and attendee_credential_type_id through its existence/uniqueness rules. Supplying credential_type_slug also asks preparation to resolve a type in this project and, when found, merge the numeric type ID. Prefer that same-project slug workflow for an intentional type change; the supported client body excludes a raw type ID. The selected raw-ID existence rule does not add a project condition.

The current model rules read route key attendee_credential, whereas this relation registers credential. Their scoped uniqueness/ignore closures can therefore lack the intended current credential context. Do not treat successful validation as verified project/type/attendee uniqueness enforcement. A supplied unknown type slug can remain only a validated string when resolution returns no type, rather than necessarily producing the create endpoint's missing-type error. Resolve the intended type first and inspect the resulting credential type; a successful status does not prove it changed.

Project/attendee ownership and arbitrary metadata are not selected update fields. This endpoint is not a credential transfer, revocation, badge rendering, print-job operation or access decision. For intentional identifier rotation, coordinate the physical badge and connected/offline reader state through the supported operational workflow and test the resulting scan separately; do not rotate by accidentally omitting the value. Existing printed/downloaded badges and offline caches do not become verified current simply because the API returned success.

The credential resource preserves model attributes and can include the live identifier; treat the response as sensitive and keep it out of public logs, analytics, screenshots and feedback. credentialType is an accepted include. Other loaded attendee data and tracking-derived current_location have separate serialization/runtime behavior; this update review does not certify the full output/privacy contract. Reload the same attendee/credential and the authorized dashboard to confirm intended label, identifier and type.

The observer invalidates credential lookup caches and emits lifecycle events after changes. Persistence, cache/reader propagation and actual admission remain distinct. This updater adds no concurrency precondition or idempotent receipt, and outer Orion transactions are disabled. After a lost/error response, reconcile the identifier and resulting state before retrying; do not assume rollback after an observer/refetch failure. Acceptance must cover identifier preservation, actual uniqueness context, same-project type resolution, foreign attendee/credential refusal, sensitive output, connected/offline synchronization and real allowed/denied scans. No real credential or scan was used for this documentation check.

Readers and device state​

Readers have project/access-point ownership, active state, pairing/connection information and token duration. Pair/configure through the supported reader workflow; do not expose reader access or pairing secrets in attendee app code.

A paired reader without an assigned access point cannot submit scans or fetch that point’s offline bundle. A reader assigned to a different point or project is also refused. Assignment is not a project-wide scan grant.

The identifier/secret endpoint POST /api/v1/projects/{team}/{project}/readers/login currently accepts active print_server readers. It is not a general password login for every reader type. Companion/App pairing and device-claim flows have their own provisioning steps; use Readers and Device Provisioning for those. A reader token identifies an operational device, not an attendee who can start a quiz or edit a profile.

Check last-seen/connection and sync state rather than treating a saved reader record as proof the device is online. Active-scanning, attendance and proximity settings have different effects; only enable the processing your deployment/device supports.

Admission and attendance​

Open the access zone’s Scanning tab to configure statuses and rules. Define which statuses count as admitted (counts_as_admitted) and choose the intended fallback/default status. A status label such as “Allowed” does not itself make it an admission-counting status.

Active root rules run by ascending priority, then ID. A matching rule records its status/actions and evaluates its children; later matching children can override its status. Turning off continue_on_match stops later siblings at that level. Empty conditions always match; inactive rules are ignored. Choose all versus any condition logic deliberately, and test overlapping rules rather than assuming a single global first-match policy. Later matching branches can replace a status set earlier.

Condition sources include credential, credential type, attendee search, group membership, scan history, agenda item and access-point facts. Unsupported conditions do not become an implicit allow. A rule match and the resulting admission status are separate: a matching rule can deny, and an unmatched scan can still receive the configured default. Inspect the resolved status and its configured meaning, not only outcome: matched.

Configure the supported access-point rules and any agenda/location relationships that drive admission. Check required check-in state, allowed audience/credentials, timing and session/location capacity where relevant.

For session-dependent rules, choose a session offered by GET /api/v1/projects/{team}/{project}/access-points/{accessPoint}/agenda-items and send its numeric agenda_item_id with the scan. The picker is project-scoped, excludes draft sessions and applies the zone’s optional agenda-tag selection. An ID from another project or a session no longer offered is rejected even during offline replay.

Physical admission capacity comes from the session’s location row(s) for this access point, not the agenda enrollment limit. A blank capacity is unbounded; zero is a real zero capacity. Admission counts use distinct attendees with scans in the session window resolving to a status currently marked counts_as_admitted. Editing that status flag can therefore change reported counts. A capacity condition needs the appropriate session/location/time-window facts; a missing session does not mean zero occupancy. Admission, passive attendance and live proximity/location are different measurements.

Run a known allowed credential, a known excluded credential, a deleted/wrong-project credential and a repeat scan. Inspect the resulting scan history, decision and attendance state. Enrollment in an agenda session, an admission decision and a scan log are separate evidence.

Follow Readers and Device Provisioning for the detailed pairing/assignment workflow and Badge Design and Printing for print preparation and verification.

Use the project scanning dashboard​

Open /p/{team}/{project}/scanning on the dashboard host. This is an administrator observation surface, not a reader login, scan-submission client or replacement zone editor.

TabCurrent purpose
Live OverviewToday's scan totals, recent activity, reader fleet state, attention items and session-capacity views
Readers & DevicesReader health/state listing and its filters; saved provisioning and actual heartbeat remain separate
SessionsSession-and-zone rows with their relevant capacity and admitted population
Scan LogScan history and live feed, with zone, reader, type/status and badge/attendee search controls

Access Rules, Design and Scanner Settings are currently placeholder tabs in the reviewed page. Configure current rules/statuses on the owning Access Zone. Do not promise a project-wide rule deploy/test tool, scanner-branding editor, project-wide scanner behavior toggles or Slack/SMS downtime alerts from those placeholder labels.

The dashboard's overview/reader/session reads require access-point viewing. Scan rows contain attendee/badge details, so Scan Log and its live channel also require view_access_point_scans in addition to the zone-view permission. Actual denied reads must be tested; seeing overview totals is not permission to retrieve individual scan details.

Live Overview's “today” follows the project time zone, from that local day's start through now. It counts scan rows; it is not automatically a unique-attendee count. Its last-hour count uses a rolling hour that can include yesterday just after midnight. Session/zone admitted headcount, enrollment, passive attendance and scan-event totals have different populations; use the admission definitions above when comparing them.

The shared read helper polls at a default 30-second interval while the document is visible and the operator is not typing in an input/select/textarea. It keeps one request in flight; a manual refresh during that request schedules another pass after it settles. A failed read retains the last successful data and shows an error/last-reading state. Inspect the last refresh time before calling a value current. Live-feed updates are another path, and filtering/paging can pause live prepending; use the displayed feed/history/resume state rather than assuming all rows are arriving continuously.

The Scan Log's zone-export control exports the selected zone's whole history through the zone export action, not necessarily the visible search, page or selected rows. Its success notice means export work was requested, not that a file finished or contains the expected filtered population. Follow the completed export through the project's export workflow and inspect its headings/population before sharing attendee data.

For a controlled check, compare known allowed, denied and repeated scans against the event count and the distinct admitted population; test across a project-day boundary. Verify a read-only operator cannot retrieve protected scan detail without its scan permission, inspect a deliberately stale/offline reader, and confirm refresh/error/history states. Configure the actual supported reader and rules separately before testing a scan; opening this dashboard does not provision or repair a device. Use Readers and Device Provisioning for hardware/client readiness and Project Troubleshooting for request/scope diagnosis.

Submit an active scan​

On the API/portal host, submit POST /api/v1/projects/{team}/{project}/access-points/{accessPoint}/scan, using the access-point slug and the provisioned reader’s bearer token. Admin, project and attendee credentials do not substitute for the reader required by this operation. Keep reader secrets and tokens out of public example code.

Generate a new UUID and device timestamp when the badge is read. The following body illustrates one read; replace the identifier, UUID and timestamp for a real new event:

{
"identifier": "DOCS-BADGE-001",
"scan_uuid": "eae473fb-fbf5-4d78-8b9d-c6b76f63b493",
"scanned_at": "2026-10-14T12:00:00Z"
}

scanned_at requires ISO-8601 seconds and a timezone offset; fractional seconds are supported. Preserve the original UUID, timestamp and payload when retrying that same event after a network interruption. Reusing an old UUID for a different badge/event can return the old stored result rather than recording the new read. Device time and server receipt time are separate fields; synchronizing a late scan does not make its read time the upload time.

ResultMeaning
201A new scan was stored; inspect its outcome, resolved status and identifiers
200 with duplicate: trueA stored result was replayed; no second evaluation/scan is implied
409 scan_uuid_conflictThis UUID belongs to a different access point
422 scanning_disabledDirect active scanning is off at this point
Other 422 validation errorInspect identifier, UUID, timestamp and offered session selection
401/403Check authentication, reader type/principal and home access-point assignment

An unknown identifier is stored with outcome: unrecognized, without a resolved attendee/credential. matched means a rule matched; unmatched means no rule matched, with fallback status still possible. A recognized credential need not have an attendee attached. Check the returned identity before showing personal information or attributing attendance.

The response’s actions lists collected rule actions; actions_executed is currently an empty array. It is not a receipt that a field update, external workflow or device-side gate action completed. Check the corresponding downstream result separately. Repeated reads of one identifier in the same second can also collapse under the scan uniqueness rule; do not use raw request counts as attendance.

Offline operation​

A provisioned reader can fetch GET /api/v1/projects/{team}/{project}/access-points/{accessPoint}/offline-bundle only for its assigned access point. A paired but unassigned reader or a non-reader credential is not sufficient. When supported by the chosen device, keep the returned bundle and version for offline evaluation. Review which data is included, its freshness and whether attendee names are needed. The bundle includes status/rule/session data and per-credential rows or remaining conditions for the device to evaluate; it is not just a list of allowed barcode strings. The offline_bundle_names setting controls inclusion of attendee names. Treat downloaded credential data as an operational device cache.

Compilation is cached for up to five minutes per access point. Rule/status changes invalidate the cache, while attendee, credential and scan changes can wait for that window. Send the saved version using If-None-Match or the version query parameter; 304 means retain the existing body. If compilation returns 503 bundle_compiling, keep the current bundle and follow Retry-After rather than replacing it with an empty list. Record when the bundle was compiled, not only when the device last asked for it.

Offline access uses a previously synchronized snapshot, so plan how stale rules/credentials and later reconciliation are handled. On replay, submit the original scan UUID/time plus the optional complete device_verdict (status and matched rule IDs) and bundle_version. The server re-evaluates against current data and records the device verdict beside its own; it does not accept the device result as authoritative. A deleted credential or changed offered-session set can make reconciliation differ or fail.

Test disconnection, an allowed offline scan, a denied case and reconnection/sync before relying on offline operation. A portal page cached by a browser is not the same as a provisioned reader offline bundle.

API and app integration​

Use the deployed REST API for supported reader/login/scan endpoint contracts. Reader credentials authorize a specific operational principal; they are not general admin or project integration keys. Attendee-facing apps should use the runtime's page context and declared dependencies.

An active same-project reader principal can satisfy supported portal-page login checks, but the page's audience and scope still apply. See Permissions and Dependencies.

Troubleshooting​

For a 422 scanning_disabled, check the direct-scanning flag rather than re-pairing the device. For a 409, find the original UUID and access point before retrying. For unexpectedly repeated results, confirm whether the client reused an event UUID. For a denied scan, inspect the actual identifier/type, attendee, reader/project and access-point rule result. For missing attendance, inspect processing settings and the session/location relationship. For no device updates, inspect connection/sync status and service logs. For a printed badge that fails, compare encoded content with the assigned credential rather than changing the attendee name.

Use Project Acceptance for end-to-end checks and Project Troubleshooting for configuration failures.