API Access
Prerequisites
You will need to have a registered account in IoT Open.
Generate API key
API keys can be created using two methods. The first method generates a key without any time limit and is suited for creating integrations to your account. The other method generates a key with a valid time of one year. This is suited for a user session, for example a mobile app.
Using the web interface
- Log in to the web interface e.g. https://lynx.iotopen.se
- Navigate to your profile by clicking the account image in the top right corner and choose
My Account - Click on
Securityand open the tabAPI-keys - Click
Create new API-Keyat the bottom of the list - Enter a name to identify the key
- Click
Create
The key should now be visible on screen. For security reasons this key cannot be shown again. If a key is needed again please remove the key and create a new one.
Using the Auth endpoint
The API endpoint Auth can be used to generate a new API key, this is the normal "login" API.
A POST request containing username and password as Basic auth is sent to the endpoint. The response contains either information about more steps needed such as SMS verification or the key.
Endpoint description can be found in the API-Documentation.