# ◾ How to Generate a Data API key

:::info
The API Key functionality is available on the [**Security tab**](/doc/security-CI3lfPyzkk) in the [System Manager]() for **Admin** and **System Manager-**privileged users. 

:::


 ![](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/48ddf0a7-308b-4fe9-b28a-e3ce1797eaa8/bf90d47f-883e-49c1-abc1-ed419e1fef77/generate%20api%20key%20info%20icon.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20260909%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260909T120000Z&X-Amz-Expires=86400&X-Amz-Signature=d155616eece1e002ccb24b5fc375aca25b1658a7e608a1f52eca5d1cb89030e1&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =471x215")



:::tip
Step-by-step [Data API - How-to Guide](/doc/8192c270-bbfd-4f6e-b188-e32be98cea88) 

:::

###   
Generating the API key


1. Click the **Generate API Key** button.

   ![](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/48ddf0a7-308b-4fe9-b28a-e3ce1797eaa8/6ead2964-7cf1-401a-af1b-6f357ca9c708/API%20KEY_NEW.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20260909%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260909T120000Z&X-Amz-Expires=86400&X-Amz-Signature=a4e78b0bf5d23c6dcddb33bcbc2772dec12399c155bded2b4a2d7e6fd8a57abe&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =538x392")

   
   
2. The system will create the API Key.

   
   ![](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/48ddf0a7-308b-4fe9-b28a-e3ce1797eaa8/55837079-a541-43fe-a96a-33b869cfa922/api%20key%20generating.PNG?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20260909%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260909T120000Z&X-Amz-Expires=86400&X-Amz-Signature=3d7c18c289b6a317d4f7739d1efbd14b153b84f1695d34908d7700510093697e&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =448x293")

   
   
   ![](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/48ddf0a7-308b-4fe9-b28a-e3ce1797eaa8/0dde8ddb-d60a-4db2-b3c4-07b361d795c3/apy%20key%20generated.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20260909%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260909T120000Z&X-Amz-Expires=86400&X-Amz-Signature=86297179d6affcc0d97ac0f1b7e2347052ee6daf2c103f81a3c059ba0e8771b4&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =2836x1143")

   
3. Click the **Copy to clipboard** button to copy the API key.

   
   
:::warning
   **WARNING!** Make sure you **copy the key (token) immediately**. The system does not store it, so you won't be able to view it later.

   :::

   
:::warning
   Only one active API key can exist at any given time per system. Each newly created API Key will eliminate the currently existing one. 

   :::
4. Click Close.
5. *Active status*, *Creation date*, and *Created by* will be displayed in the API Key section of the Security tab.

   ![](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/48ddf0a7-308b-4fe9-b28a-e3ce1797eaa8/75e5a099-e543-4fcd-8080-6887d429218e/apy%20key%20revoke.PNG?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20260909%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260909T120000Z&X-Amz-Expires=86400&X-Amz-Signature=d2c3c96d83a61221c009f1fa0e7a2284951a6c43715dbb2d460031ad8eb0983c&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =684x181")
6. Use the '**Revoke**' option under **Action** if needed.
7. Proceed with using the generated API Key secret as described here: [APIs in LearningSpace](/doc/8b3dc0ee-b9dc-45b8-8399-54c4e2d42882) 

   
____

### Revoking the API key



:::info
The API key **does not expire** unless it is **manually revoked**.

:::


1. Press **Revoke** under **Action** in the API Key section of the Security tab.

   ![](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/48ddf0a7-308b-4fe9-b28a-e3ce1797eaa8/979b61c4-9299-415b-a0b3-6d3c00c95a12/apy%20key%20revoke_action.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20260909%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260909T120000Z&X-Amz-Expires=86400&X-Amz-Signature=d19457728c1e30e8ce8e84f5ff831de5c114f84acb8b1cc88619758dbb4144f2&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =532x141")

   
   
2. A confirmation pop-up will appear. Press **'Revoke'** (or 'Cancel' to quit the process).


:::warning
**Warning:** This action will **deactivate** the system-wide API key. 

 ![](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/48ddf0a7-308b-4fe9-b28a-e3ce1797eaa8/b55c8a3a-18e5-4f65-8350-02af3eb00677/API%20KEY%20CONFIRMATION%20POPUP.PNG?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20260909%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260909T120000Z&X-Amz-Expires=86400&X-Amz-Signature=b4fa32df5f04ab3f755772068c5c5927da2d379aab9c16f4e4ba2cb897fc4c2c&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =1293.5x298.5")

:::

 ![](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/48ddf0a7-308b-4fe9-b28a-e3ce1797eaa8/f777fbdd-41ac-4036-be64-efb5b92767b9/api%20key%20revoked%20.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20260909%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260909T120000Z&X-Amz-Expires=86400&X-Amz-Signature=018e56877d500795f36166f3412fad6fa94b689bd6e94c5518a02c96b8fe7579&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =2141x420")


### Utilizing the API key

The API key can be used to access the [Data API](https://kb.learningspace.elevatehealth.net/doc/security-new-l3JLjVGibe#h-data-api-access).


 ![Enabling Data API Access](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/03fa1014-cf0e-4191-ba80-50d24eef65d4/160a29d0-3e11-4509-8b88-99c01af157a5/API%20INFO%20BUBBLE_CUT.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20260909%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260909T120000Z&X-Amz-Expires=86400&X-Amz-Signature=1e9f1d132db4accf94c650371dc3a0c9e0f566bdd302e78071edc47d865e74f3&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =494x299")


:::info
For more information, see [APIs in LearningSpace](/doc/62faf9b5-7dbb-4cd4-aa44-05d9e9c05ca6) 

:::


:::success
[**Data API - New LearningSpace Reporting API Expansion**](https://kb.learningspace.elevatehealth.net/s/ent-hs/doc/data-api-new-reporting-api-expansion-k9VqtZ5Cci#d-k9VqtZ5Cci)

:::

---

**Documents**

- [User Guide](https://kb.learningspace.elevatehealth.net/s/ent-hs/doc/user-guide-WPv4VxhtWB)
- [FAQ](https://kb.learningspace.elevatehealth.net/s/ent-hs/doc/faq-YoxOQOjvnY)
- [Training Videos](https://kb.learningspace.elevatehealth.net/s/ent-hs/doc/training-videos-D2ycsEwqPt)
- [Module Introduction Videos](https://kb.learningspace.elevatehealth.net/s/ent-hs/doc/module-introduction-videos-I6OQ6H7SUT)
- [Release Notes](https://kb.learningspace.elevatehealth.net/s/ent-hs/doc/release-notes-BcFFMsc0RV)
- [Distance Learning with LearningSpace](https://kb.learningspace.elevatehealth.net/s/ent-hs/doc/distance-learning-with-learningspace-eAfwW23Hxg)
- [Preventing Copy-Paste in LearningSpace](https://kb.learningspace.elevatehealth.net/s/ent-hs/doc/preventing-copy-paste-in-learningspace-sPD0IIUuk0)
- [Important Technical Notification Regarding Adobe Flash Player](https://kb.learningspace.elevatehealth.net/s/ent-hs/doc/important-technical-notification-regarding-adobe-flash-player-eQtMLwLmTJ)
- [iPad support - Technical information](https://kb.learningspace.elevatehealth.net/s/ent-hs/doc/ipad-support-technical-information-dLmeFvKofC)
- [TeamViewer Link](https://kb.learningspace.elevatehealth.net/s/ent-hs/doc/teamviewer-link-QyKZBMqUT9)
- [YouTube videos about LearningSpace](https://kb.learningspace.elevatehealth.net/s/ent-hs/doc/youtube-videos-about-learningspace-TMb3zdc0LC)
- [Customer Aftercare One-Pager](https://kb.learningspace.elevatehealth.net/s/ent-hs/doc/customer-aftercare-one-pager-GBWMe1BcfS)
- [Case Studies](https://kb.learningspace.elevatehealth.net/s/ent-hs/doc/case-studies-VcAbFqXSz7)