Send commands to the devices in your buildings and receive their events as they happen, through one authenticated API. It starts with 1key hubs and the locks, thermostats, switches and sensors they connect. Device state stays in the building; the cloud carries the message.
Read the API docs$ curl -X POST \ https://api.1keyplatform.com/v1/hubs/1key-xfy2-nmf4-5xwp/devices/7/commands \ -H "Authorization: Bearer $ONEKEY_API_KEY" \ -d '{"key": "lock", "value": false}' → 202 {"channel": {"key": "lock", "desired": false, "status": "pending"}}
type device.unlocked hub 1key-xfy2-nmf4-5xwp at 2026-10-02T14:03:11Z
We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect