1. Sync & enrolment
Sety
  • Default module
    • Developer API Reference
    • Health
      • Health check
    • Incidents
      • Create incident
      • List incidents
      • Get incident
      • Cancel incident
      • Add note
    • Access Logs
      • List access logs
      • Access log stats
      • Create access log
      • Get current visitors
      • Checkout visitor
    • Threat Intelligence
      • List danger zones
      • Danger analytics for a location
      • Heatmap data
      • Safety score
      • Route safety analysis
    • Schemas
      • Error
      • PaginatedResponse
      • Subject
      • GeoPoint
      • Location
      • IncidentLocation
      • IncidentTimelineEvent
      • SLA
      • ResponderAssignment
      • TimelineEvent
      • Incident
      • CreateIncidentRequest
      • IncidentAnalytics
      • AccessCode
      • CreateAccessCodeRequest
      • ValidationResult
      • AccessLog
      • CurrentVisitor
      • DangerAnalytics
      • HeatmapResponse
      • SafetyScore
      • TimeAnalysis
      • LocationComparison
      • RouteSafety
      • RiskPrediction
      • IncidentPatterns
      • SafeZones
      • ApiKey
      • CreateApiKeyRequest
      • WebhookEndpoint
      • WebhookDelivery
  • Sety Checkpoint CP-1 – Device API
    • Sync & enrolment
      • Registration flag and pending commands
        GET
      • Report the result of a fingerprint enrolment
        POST
    • Attendance
      • Send one attendance event
      • Upload up to 100 saved events in one request
    • Commands
      • Report the outcome of each command
    • Status
      • Status report (only when Wi-Fi is already on)
    • Future
      • optional
        • Server time (fallback when NTP is blocked)
        • Check for a firmware update (placeholder)
    • Schemas
      • DeviceId
      • Uid
      • Timestamp
      • SyncResponse
      • Command
      • EnrollRequest
      • EnrollResponse
      • ScanRequest
      • ScanResponse
      • BatchRequest
      • BatchResponse
      • CommandResultsRequest
      • CommandResultsResponse
      • HeartbeatRequest
      • HeartbeatResponse
      • Error
  1. Sync & enrolment

Registration flag and pending commands

GET
/device/sync
Called on every button press. Returns whether to start enrolling a fingerprint and any
commands waiting for the device. Read-only: commands stay pending until their result arrives.
Run commands first, then enrol if register is true.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Query Params

Responses

🟢200
application/json
OK
Bodyapplication/json

🟠400BadRequest
🟠401Unauthorized
🟠403Forbidden
🟠404UnknownDevice
🟠429RateLimited
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/device/sync?device_id=' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - enrolAndCommands
{
    "register": true,
    "expires_at": "2026-10-06T13:12:32Z",
    "display_name": "Ada Obi",
    "commands": [
        {
            "id": "c-1a2b3c4d5e6f",
            "type": "delete_uid",
            "uid": 12
        },
        {
            "id": "c-6f5e4d3c2b1a",
            "type": "delete_all"
        }
    ]
}
Modified at 2026-10-07 14:49:40
Previous
WebhookDelivery
Next
Report the result of a fingerprint enrolment
Built with