Go to Integrations in your workspace settings.
Click on Manage keys under the API Key integration card.
Create a new key if you don’t already have one, or copy an existing key.
Use this key in the X-Api-Key
header when making API calls.
Keep your keys secret. Do not paste them into public repositories or client-side code.
Rotate your keys regularly for added security.
If you suspect a leak, revoke the key immediately from this page.
Once you have an API key, include it in the header of your request. For example, fetching the full knowledge base structure:
curl -H "X-Api-Key: sk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \ https://api.getfernand.com/knowledge/structure
Or fetching a single article by its ID:
curl -H "X-Api-Key: sk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \ https://api.getfernand.com/knowledge/articles/<ARTICLE_ID>
That’s all you need to start authenticating with the Fernand knowledge base API.