API Guideline der KIWI.KI GmbH

API Guideline

First steps with the KIWI API

Getting started

Before you can start testing and using our API, you need to become a KIWI customer. There are two ways to do so:

  1. You already have a KIWI installation in a property and KIWI Portal access. Then, you can start using the API right away by reading our API Documentation. However, to keep your productive processes unharmed, you may want to consider our second option.
  2. Get a KIWI Developer Kit including test hardware for making your first steps with our API.

A user account is required for most interactions with the KIWI API. An account can be obtained by:

Next, get your admin user accounts ready:

In case you’ve bought our Developer Kit

1 Username: $TESTER_MAIL_ADDRESS
2 Initial Password: $TESTER_PASSWORD
1 UUID: $UUID_SENSOR (Sensor ID: $SENSOR_ID)
2 UUID: $UUID_SENSOR_2 (Sensor ID: $SENSOR_ID_2)

If you’re using your own test environment, we recommend having a test user account with at least manager permissions to some test access points. If you are unsure about your setup or need help, don’t hesitate to contact service@kiwi.ki.


Establish an authenticated user session – POST /v1/session: Before most API requests can be made, a login session must be started by providing your test user’s username and password. A session key will then be given back from the API, which can be used for authentication on further API requests.

1 curl --location --request POST 'api.kiwi.ki/v1/session' \
2 --header 'Content-Type: application/json' \
3 --data-raw \
4 '{"password": "example_string","username": "user@example.com"}'

Important Concepts

Understand the most important concepts of the KIWI API:

Permission Level Explanation
IS_GUEST The lowest permission level that allows to open the sensor it is linked with.
IS_HOST A host permission allows a user to open the sensor it is linked with, and to grant other users Guest permissions to that sensor.
IS_MANAGER A manager permission allows a user to open the sensor it is linked with, grant other users Host and Guest permissions to that sensor, and see more detailed information about the sensor, e.g. device analytics
IS_ADMIN The highest permission level that allows a user to open the sensor it is linked with, and to grant other users Manager, Host and Guest permissions to that sensor and see more detailed information about the sensor, e.g. device analytics

With these concepts under your belt, now it’s a good idea to read the KIWI API Documentation and understand the endpoints available to you.