Loading...
Loading...
Create a key and read a real device in three steps.
Every request goes to https://api.circuvent.com/v1 and carries an API key. Three steps and you are reading real devices.
Authorization: Bearer <key> on every request.# List your devices
curl https://api.circuvent.com/v1/devices \
-H "Authorization: Bearer $CIRCUVENT_API_KEY"
# Turn on channel 1 of a home hub
curl -X POST https://api.circuvent.com/v1/devices/hub-a1b2/commands \
-H "Authorization: Bearer $CIRCUVENT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ch": 0, "on": true}'