/api/v1/scansSubmits a physical checkpoint verification scan. Validates security codes and confirms the guard GPS location against the checkpoint's registered coordinates.
/api/v1/scans/batchUsed by the mobile patrol app when regaining cell reception or Wi-Fi after working in basements, elevators, or remote areas. Ingests multiple offline scans in a single transaction.
// Request Body:
{
"scans": [
{
"tenantId": "tenant_apex_logistics",
"facilityId": "fac_chicago_04",
"checkpointId": "cp_02",
"guardId": "usr_marcus",
"gps": { "lat": 41.9748, "lng": -87.9070, "accuracy": 2.1 },
"scannedAt": "2026-09-09T20:12:00Z"
},
{
"tenantId": "tenant_apex_logistics",
"facilityId": "fac_chicago_04",
"checkpointId": "cp_04",
"guardId": "usr_marcus",
"gps": { "lat": 41.9739, "lng": -87.9065, "accuracy": 2.4 },
"scannedAt": "2026-09-09T20:14:00Z"
}
]
}/api/v1/scans?limit=50&checkpointId=cp_01Query recent physical scan records. Supports filtering by tenantId, facilityId, and checkpointId.