The single HTTPS ingress for any client that produces attendance. The HTTP Attendance API authenticates by device serial and token, then funnels each recognized punch into the same storage and customer-push pipeline as every native Cams engine.
Overview
The HTTP Attendance API is the device-agnostic front door on the path /api/attendance/v1/{op}. It authenticates each request by device serial (sn) and auth-token headers, then ingests. It exposes punch (one recognized attendance event), heartbeat (device presence), validity (subscription check), and config. Punches funnel into the shared pipeline, giving identical storage and downstream customer-server push as the native HTTP, TCP, and MQTT transports โ so integrations stay consistent regardless of how attendance arrives.
curl https://api.camsunit.com/api/attendance/v1/punch \ -H "sn: SN7A2300583" -H "auth-token: $TOKEN" \ -H "Content-Type: application/json" \ -d '{ "user_id":"1001", "att_time":"2026-06-21 09:30:00", "att_state":1, "input_type":50 }' # -> 200 {"ok":true}
Capabilities
POST one recognized attendance event with user, timestamp, IN/OUT state, input type, and optional location.
Send a heartbeat to mark a device online without any body.
Query whether the device's attendance subscription is active before sending data.
Every punch lands in the same storage and push path as native TCP and MQTT ingest.
Features
Grab a key, read the docs, and ship. Our team helps with your first integration.
FAQ
It is the device-agnostic front door that accepts recognized attendance punches, heartbeats, and subscription checks, authenticates them by device serial and token, and feeds them into the shared Cams attendance pipeline.
Every request carries a device serial (sn) header and an auth-token header; both must be valid. Biometric endpoints additionally require an active attendance subscription.
Yes. Punches funnel into the same pipeline used by the native HTTP, TCP, and MQTT engines, so storage and downstream push are identical regardless of transport.
Related
The universal integration layer that delivers real-time attendance from ANY biometric device โ verified or not โ to any application or ERP in under 500 ms.
ExploreAPIConnect any internet-enabled biometric attendance or access-control device directly to your web application over HTTP โ no local software, PC, or database required.
ExploreAPIRead and capture fingerprints from a USB scanner directly inside any website using a few lines of JavaScript โ across all major browsers and Windows versions.
Explore