Floor Occupancy
The Floor Occupancy webhook event provides real-time updates on the number of occupants detected by the presence sensor on a specific floor.
Payload
The Floor Occupancy event follows a standardized JSON structure:
{
"id": "event_2oUBiSXgx48RtbZKXHm5ekpAzFe",
"type": "FLOOR_OCCUPANCY",
"timestamp": 1727735832000,
"version": "v1.0.0",
"metadata": {
"org_id": "org_2oUBiRES2AmpczNM5yLu7pChz8o",
"site_id": "site_2oUBkdxF0lLJZxyWVix09ZTsMNV",
"building_id": "building_2oUBkaFkcYwDzo7HLXpPh8bP4cD",
"floor_id": "space_2oUBnI7YL51GNemTvKIxEgSZ8gx",
"floor_custom_id": "2tZStWPtxqpmb3w0PoJDm7AnfIX", // (optional)
"org_name": "Murphy Group",
"site_name": "Los Angeles",
"building_name": "Bergnaum Building",
"floor_name": "1st Floor"
},
"data": 25
}Field Descriptions
Event Metadata
id
string
Unique event identifier
type
string
Event type (e.g., "floor_occupancy")
timestamp
number
Timestamp of the event (in milliseconds)
version
string
Event version (e.g., "v1.0.0")
Organization and Location Metadata
org_id
string
Unique organization identifier
site_id
string
Unique site identifier
building_id
string
Unique building identifier
floor_id
string
Unique floor identifier
floor_custom_id
string (optional)
Customer's unique floor identifier
org_name
string
Organization name
site_name
string
Site name
building_name
string
Building name
floor_name
string
Floor name
Occupancy Data
data
number
Current occupancy count on the floor
Last updated