← All Connectors
Density

Density

density

Depth-sensor based people counting with high accuracy. Provides entry/exit counts for doorways and open floor area occupancy estimates.

Configuration schema

FieldTypeRequiredDescription
api_keystringYesDensity API key from the Density Dashboard under Settings > API Keys.
space_idstringYesDensity space ID for the zone or area being monitored.

Setup instructions

1

Log into the Density Dashboard.

2

Navigate to Settings > API Keys and create a new key.

3

Note the Space ID for the area you want to monitor.

4

Register the integration via POST /api/venues/:id/integrations with connector_type "density".

5

The connector polls Density APIs for real-time count data at configurable intervals.

Webhook / polling format

density-webhook.json
// Density supports webhooks for count changes
{
  "event": "count_change",
  "space_id": "spc_abc123",
  "count": 47,
  "direction": "in",
  "timestamp": "2026-03-15T19:00:00Z"
}

Normalized canonical event

After normalization, the connector output becomes a standard GNCanonicalEvent:

canonical-event.json
{
  "event_type": "device_connected",
  "venue_id": "v_mno345",
  "zone_id": "z_entrance_main",
  "device_hash": "density_count_event_001",
  "timestamp": "2026-03-15T19:00:00.000Z",
  "connector_type": "density",
  "metadata": {
    "count": 47,
    "direction": "in",
    "space_name": "Main Entrance"
  }
}

Next steps