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
| Item | Value |
|---|---|
| Base URL (current) | http://<gateway-ip>:5000/api/vendor/v2 |
| Base URL (legacy alias) | http://<gateway-ip>:5000/api/vendor |
| Auth header | Authorization: Bearer <apiKey> |
| Content-Type | application/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
| Method | Path | Operation | Scope |
|---|---|---|---|
| GET | /me | — | any valid key |
| GET | /capabilities | — | any valid key |
| GET | /health | monitor | — |
| GET | /system/info | monitor | read:system |
Events — subscribe to live updates
| Transport | Path / Port | Operation |
|---|---|---|
| WebSocket | ws://<gateway-ip>:5000/api/vendor/v2/events?key=<apiKey> | monitor |
| Server-Sent Events | GET /events with Accept: text/event-stream | monitor |
| Long-poll | GET /events/poll?since=<seq>&timeout=<ms> | monitor |
| ASCII / line TCP | TCP port 41800 | monitor |
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
| Method | Path | Operation | Scope |
|---|---|---|---|
| GET | /devices | monitor | — |
| GET | /devices/:id | read | — |
| GET | /devices/:id/state | monitor | — |
| GET | /devices/:id/capabilities | monitor | — |
| GET | /devices/:id/occupancy | monitor | — |
| POST | /devices/:id/control | control | control:devices / control:lights |
| POST | /devices/:id/tunable | control | — |
Full detail: Vendor API — Devices & Control.
Scenes
| Method | Path | Operation | Scope |
|---|---|---|---|
| GET | /scenes | read | — |
| GET | /scenes/:id | read | — |
| POST | /scenes | control | write:scenes |
| PUT | /scenes/:id | control | write:scenes |
| DELETE | /scenes/:id | control | write:scenes |
| POST | /scenes/:id/activate | control | control: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
| Method | Path | Operation | Scope |
|---|---|---|---|
| GET | /groups | read | — |
| GET | /groups/:id | read | — |
| POST | /groups/:id/control | control | — |
| GET | /spaces (canonical) · /areas (alias) | monitor | — |
| GET | /areas/:id | monitor | — |
| POST | /areas/:id/control | control | — |
Sensors, energy & alarms
| Method | Path | Operation | Scope |
|---|---|---|---|
| GET | /sensors | monitor | read:sensors |
| GET | /sensors/:id | read | read:sensors |
| GET | /sensors/:id/history | read | read:sensors |
| GET | /energy | monitor | read:energy |
| GET | /energy/history | read | read:energy |
| GET | /alarms · /alarms/active | read | read:alerts |
Full detail: Vendor API — Monitoring & Status.
Schedules
| Method | Path | Operation | Scope |
|---|---|---|---|
| GET | /schedules · /schedules/:id | read | — |
| 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.