The Smartenit API uses HTTP methods and a RESTful endpoint structure. The API authorization framework is OAuth 2.0. Request format is JSON and the APIs return JSON-formatted responses including errors. A real-time messaging set of the API enables access to our MQTT server for cases where low latency applications are needed.
To communicate with the cloud API server the calls should be made to https://api.smartenit.io/v2 URL.
To communicate with the Local API server in the Gateway, the calls should be made to the unique local domain listed in the gateway object. For example: "xyz123.local.smartenit.io",
The API is versioned to allow new features to be added keeping backwards compatibility with old clients, the current version is v2.
- Explore the API resources and their relations in the Resources section.