Integrate with SensorZone using the REST API — access safety data, manage entities, generate reports, and automate workflows.
SensorZone provides a comprehensive REST API for programmatic access to your safety data. The API is organized into two versions, each optimized for different use cases.
Most V1 endpoints use session-based authentication. Log in via POST /api/v1/session with email and password to receive a session cookie.The Tester endpoints use Bearer token authentication with device-specific API tokens:
Obtain a JWT token by authenticating via POST /api/v2/login with email and password. The response includes an AccessToken header containing the JWT and an AccessTokenExpiry header with the UNIX timestamp for token expiry. A RefreshToken is also provided for session persistence.
API requests are rate-limited per user/token. If you receive a 429 Too Many Requests response, back off and retry after the interval specified in the Retry-After header.
For field devices that manage tag assignments and visitor sessions:
Method
Endpoint
Description
GET
/api/v1/tester/people_assets
List people assets (filterable by kind: staff or visitor)
POST
/api/v1/tester/people_assets
Create a person asset
POST
/api/v1/tester/tag_assignments
Assign a tag to a person
DELETE
/api/v1/tester/tag_assignments/:id
Remove a tag assignment
Browse the V1 API and V2 API sections in the sidebar for interactive documentation of every endpoint, including request parameters, response schemas, and example payloads.