They opened it. Currently a BETA release.
API Documentation
Requests
The Olarm API can be accessed by sending requests over HTTP using GET and POST methods.
Base URL
API Key
The key can be passed in an authorization header.
Authorization: Bearer APIKEY
Alternatively it can also be passed in the URL query.
Responses
The http status code indicates the result of the request. Response data is returned as JSON and details with examples can be found for each endpoint further down on this page. In the case of a 400 status code, the response body JSON will contain a list of errors associated with the bad request.
HTTP response status codes
200:OK - The request is successful.
400:Bad request - Validation of one or more body / query parameters failed.
403:Forbidden - Failed authorisation / access denied.
404:Not found - The requested resource could not be found / does not exist.
500:Internal server error.
Endpoints
Each endpoint is documented with examples. Refer to the Object Model reference where more detailed information related to request / response data is required.
METHOD
ENDPOINT
USAGE
GET
/devices
Get devices
GET
/devices/{deviceId}
Get a device
POST
/devices/{deviceId}/actions
Send Action to Device
GET
/devices/{deviceId}/actions
Get Device Actions
GET
/devices/{deviceId}/events
Get Device Events