Skip to documentation content

Integrations

Vendor API: Endpoint Reference

Every vendor endpoint at a glance, grouped by task, with required operation and scope.

On this page

A single, at-a-glance list of every Vendor API endpoint an integration partner calls directly, grouped by task. This is the quick reference; each section below links to the page with full request/response detail.

See Authentication for how to authenticate, and Third-Party Lighting Integration for how an integration is registered and scoped.

Base & Authentication

ItemValue
Base URL (current)http://<gateway-ip>:5000/api/vendor/v2
Base URL (legacy alias)http://<gateway-ip>:5000/api/vendor
Auth headerAuthorization: Bearer <apiKey>
Content-Typeapplication/json

<apiKey> is the complete <credentialId>.<secret> value issued with your integration. The unversioned /api/vendor path still works and responds with a Link: <…/v2>; rel="successor-version" header; new integrations should use /api/vendor/v2.

Every endpoint requires an operation (monitor, read, or control) that your key must hold, and some also require a specific scope. Confirm what your key can do at any time with GET /me, and read the authoritative, live description of your gateway's surface with GET /capabilities.

Session & capability

MethodPathOperationScope
GET/me—any valid key
GET/capabilities—any valid key
GET/healthmonitor—
GET/system/infomonitorread:system

Events — subscribe to live updates

TransportPath / PortOperation
WebSocketws://<gateway-ip>:5000/api/vendor/v2/events?key=<apiKey>monitor
Server-Sent EventsGET /events with Accept: text/event-streammonitor
Long-pollGET /events/poll?since=<seq>&timeout=<ms>monitor
ASCII / line TCPTCP port 41800monitor

All transports deliver the same event envelope and are resumable: pass since=<seq> (or Last-Event-ID) to pick up after the last event you processed. A stream.overflow event means you fell too far behind — re-read full state. See Monitoring & Status for event types and payloads.

Devices

MethodPathOperationScope
GET/devicesmonitor—
GET/devices/:idread—
GET/devices/:id/statemonitor—
GET/devices/:id/capabilitiesmonitor—
GET/devices/:id/occupancymonitor—
POST/devices/:id/controlcontrolcontrol:devices / control:lights
POST/devices/:id/tunablecontrol—

Full detail: Vendor API — Devices & Control.

Scenes

MethodPathOperationScope
GET/scenesread—
GET/scenes/:idread—
POST/scenescontrolwrite:scenes
PUT/scenes/:idcontrolwrite:scenes
DELETE/scenes/:idcontrolwrite:scenes
POST/scenes/:id/activatecontrolcontrol:scenes

Casambi scenes (type: casambi_scene) are listed read-only; create/update/delete applies only to C-Bridge scenes. Full detail: Vendor API — Scenes & Groups.

Groups & areas

MethodPathOperationScope
GET/groupsread—
GET/groups/:idread—
POST/groups/:id/controlcontrol—
GET/spaces (canonical) · /areas (alias)monitor—
GET/areas/:idmonitor—
POST/areas/:id/controlcontrol—

Sensors, energy & alarms

MethodPathOperationScope
GET/sensorsmonitorread:sensors
GET/sensors/:idreadread:sensors
GET/sensors/:id/historyreadread:sensors
GET/energymonitorread:energy
GET/energy/historyreadread:energy
GET/alarms · /alarms/activereadread:alerts

Full detail: Vendor API — Monitoring & Status.

Schedules

MethodPathOperationScope
GET/schedules · /schedules/:idread—
POST / PUT / DELETE/schedules[/:id]control—

A note on privileged endpoints

The gateway also exposes administrative and life-safety endpoints — system time sync, load shedding, emergency-lighting tests, priority overrides, and inbound automation triggers. These are reserved for first-party and administrative use and are intentionally not part of the partner integration surface. Standard integration credentials should not be granted access to them; request them explicitly only if your deployment requires it.