Share Knowledge Folders with the API
The following guide explains how to create an API key in Langdock and share a knowledge folder with the API key.
An admin needs to create the API key and share the knowledge folder with the API key. Invite an admin as an editor to your knowledge folder with the “Share” button in the top right corner (skip this step if you are a Langdock admin yourself).
How to create an API key
-
Navigate to Langdock
-
Navigate to the workspace settings.
-
Click on “API” under products.
-
Create a new API key.
-
Enter a name and click “Create API key”
-
Copy your API Key to the clipboard.
-
Click “Done”
-
Leave the settings by clicking on “Settings” on the top left.
How to share a knowledge folder with the API
-
Go to “Integrations”
-
Go to your knowledge folders.
-
Open the knowledge folder you want to share with the API.
-
Click “Share”
-
Click the “Add people and groups” field.
-
Type in the name of an admin and select them in the dropdown.
-
Click on “User” and then select “Editor” in the dropdown to give them Editor permissions for this folder.
-
Click “Share”
-
Click on the three dots at the top and then on “Share with API”.