EthicCode Cloud Control
0 switches
No switches yet. Create your first switch!
Use this secret key to authenticate your IoT devices with the API.
Export your switches to JSON or import from a backup.
Use your Client Secret in the X-CC-CLIENT-SECRET header for IoT devices.
curl -H "X-CC-CLIENT-SECRET: YOUR_SECRET" \ https://cloudctrl.ethiccode.in/api/iot/switches
Get all switches for your device
Update switch state
{
"switchId": "SW123",
"state": "ON"
}
Requires JWT token in Authorization: Bearer TOKEN header
No recent activity