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

  1. Navigate to Langdock

  2. Navigate to the workspace settings.

  3. Click on “API” under products.

  4. Create a new API key.

  5. Enter a name and click “Create API key”

  6. Copy your API Key to the clipboard.

  7. Click “Done”

  8. Leave the settings by clicking on “Settings” on the top left.

How to share a knowledge folder with the API

  1. Go to “Integrations”

  2. Go to your knowledge folders.

  3. Open the knowledge folder you want to share with the API.

Steps 5-9 are only needed if you are not a Langdock admin. If you are a Langdock admin, you can jump to step 10
  1. Click “Share”

  2. Click the “Add people and groups” field.

  3. Type in the name of an admin and select them in the dropdown.

  4. Click on “User” and then select “Editor” in the dropdown to give them Editor permissions for this folder.

  5. Click “Share”

  6. Click on the three dots at the top and then on “Share with API”.