1KEY Developers
1key developer platform

Your Buildings.
One API.

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
Send a command
$ 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"}}
Event received
type   device.unlocked
hub    1key-xfy2-nmf4-5xwp
at     2026-10-02T14:03:11Z
/ Commands Unlock a door or set a temperature with one request. The command goes straight to the device in the building.
/ Events Receive door, sensor and connection events from every building your organization manages.
/ Scoped keys Give each server its own key with only the scopes it needs. Revoke one without touching the rest.