REST API
See our Postman collection for our API documentation
Last updated
See our Postman collection for our API documentation
Last updated
Akenza provides a REST API for programmatic access to its features. If you have any questions or want to request new API features, please submit a feature in our canny board.
A set of examples, showing how to use the API:
The API documentation can be found here:
API-keys can be used to authenticate API Requests without having to provide a User JWT in the request. This is often used when writing an application based on akenza services.
API-keys are created on Organization level and have permissions, which can be specified to suit the use case for the API-key. This means that API-keys can be denied access to certain parts of the Organization and its Workspaces, or a complete feature altogether.
API-keys can be found under the API-key menu entry. They can only be created and viewed by Organization Owners and Organization Administrators. Other Members of the Organization have no access to API-keys.
Requests can be authenticated with an API Key by providing the x-api-key
header. The value of the header is the secret of the API Key.
If the request is out of the specified permission scopes (e.g. Organization Delete) the API will return permission denied error.
GET
https://api.akenza.io/v3/assets
This request will fetch all Assets in a workspace using an API Key for authentication.
Name | Type | Description |
---|---|---|
workspaceId | string | The Workspace Id |
Name | Type | Description |
---|---|---|
x-api-key | string | The API Key Secret |
Backfilling allows adding data to a device using an http endpoint. It is possible to backfill data individually or in bulk for a single device.
All data sent this way will be processed by the output connectors and rules, therefore the body has to match the output of the device type script. If not specified the timestamp
will be set to the current time and the topic
to default.
The example requests can be found in the akenza api documentation