Introduction
All API access is over HTTPS, and accessed from https://api.mlgiot.com/api. All data is sent and received as JSON.
Authentication
We use JWT (JSON Web Tokens) for authentication. Include the token in the X-Authorization header.
curl -X GET https://api.mlgiot.com/api/user \
-H "X-Authorization: Bearer YOUR_TOKEN_HERE"
GET
/api/device/{deviceId}/credentials
Get device credentials.