User Tools

Site Tools


leon:api-keys

API Keys

Creating of the API Key
Generated API Key - store safe

API Keys panel allows accessing Leon API from the interface in order to obtain a feed of different kinds of data from Leon for the purpose of outside integrations.

The functionality generates a Refresh Token, which is a special kind of token that can be used to obtain a renewed access token which allows programmatically accessing a protected resource. Access tokens are attached to API request. More information can be found in the documentation (https://apidoc.leonsoftware.com/).

The token can be generated only by admins in Settings → API keys page.

How to generate a token

  1. Click the button
  2. Enter the name and the description of the integration
  3. Select resources which can be accessed by using the token
  4. Select the aircraft(s) for which the data should be exported. If a specific aircraft isn't selected, it will be assumed that the API key applies to the whole fleet
  5. Click the button
  6. Copy generated key and store it safely

It is also possible to edit existing 'API Keys' and update the Name, Description and Resources.

Please remember that once the token is generated it MUST be stored safely as it cannot be retrieved after the pop-up window is closed. As a suggestion, once you have key you can copy/paste it in the 'Description' box.
leon/api-keys.txt · Last modified: 2022/09/07 14:52 by marek