API Reference
The Sanytron REST API provides programmatic access to your devices, scenes, and automations.
Base URL: https://hub.sanytron.com/api/v1
🚧 The Sanytron public API is currently in active development. The endpoints below represent the planned interface. Join the developer community for early access and updates.
Authentication
All API requests will require a valid API key, included in the Authorization header:
API keys will be manageable from your Sanytron Hub account dashboard.
Planned Endpoints
GET /devices
List all connected devices and their current states.
GET /devices/{id}
Get detailed information about a specific device.
POST /scenes/{id}/trigger
Activate a predefined scene across all connected devices.
GET /automations
List all configured automations and their status.
Questions about the API? Explore code examples or join the developer community.