Development documentation Help

Authorization

This section describes how to create and use API key and token.

You must provide API key and API token in HTTP request header for each request.

Header name

Example

X-Api-Key

X-Api-Key: CD757462-A355-4B5A-A1BA-CA11E3897D72

X-Api-Secret

X-Api-Secret: Ggajhsdg6vgf2

Curl:

curl -X 'GET' \ 'https://lms.example.com/api/v2/users/?offset=0&limit=100&updatedAfter=2024-03-24T14%3A58%3A41Z' \ -H 'accept: application/json' \ -H 'X-Api-Key: CD757462-A355-4B5A-A1BA-CA11E3897D72' \ -H 'X-Api-Secret: Ggajhsdg6vgf2'

Create API key and API secret

This section describes how to create API key and API secret for authorization in KMI LMS.

How to create API key and API secret

  1. To create API key and API secret, you need to go to your profile in the upper right corner and select the menu item "API Access".

  2. In the API v2 section, click on the application link.

  3. Click the "Add" button in the "API Keys" section.

  4. In the pop-up window, enter the expiration date for the API key and secret and click the "Generate" button.

  5. A view with API key and API secret will be opened. Copy the API Key and API Secret into your application.

Last modified: 06 January 2025