Skip to content

Check-ins

A gym needs to know who came in, a venue which tickets were scanned, a school who attended. A CheckInAction records it: who (agent), with what (object), where (location), when (startTime).

Checking someone in

Your door app, scanner or front desk creates one:

curl -X POST https://apis.objectsgrid.com/checkinactions -H 'X-ObjectsGrid-AccessPoint: EU' -H "Authorization: Bearer $TOKEN" \
  -H 'Content-Type: application/json' -d '{
    "agent": {"at_id": "https://apis.objectsgrid.com/persons/<member>"},
    "object": {"at_id": "https://apis.objectsgrid.com/reservations/<ticket>"},
    "location": {"at_id": "https://apis.objectsgrid.com/places/<venue>"}}'
  • object is what admitted them: a ProgramMembership (a gym or club member), or a Reservation: an event ticket, a class, a table.
  • startTime is now and actionStatus CompletedActionStatus unless you send them.
  • instrument names the staff member's EmployeeRole; a gate's name goes in additionalProperty.

A ticket admits once

A second completed check-in of the same Reservation is refused with 409 TICKET_ALREADY_USED, naming the first: a ticket copied or scanned at two gates gets in once, also when both scans arrive at the same moment. A membership admits again and again.

To record a refused entry (an expired membership, a ticket already used), create a check-in with actionStatus https://schema.org/FailedActionStatus and the reason in error.

Records, not changes

Check-ins can't be updated: a mistake is deleted, which frees its ticket, and checked in again. Each is a write billed like any object.

Attendance

In GraphQL a Reservation and a ProgramMembership list their checkIns. Lists filter check-ins by agent, object, location and startTime: a member's visits this month are GET /checkinactions?where={"agent": {"id": {"equals": "<member>"}}, "startTime": {"gte": "2026-12-01T00:00:00Z"}}.

ObjectsGrid answers whether an entry is allowed and records it; door locks and scanners are yours.