Generating an API Key
To use the NeetoKB APIs, you must first generate an API key:- Go to the Admin panel and click API keys.
- Click Add API key. The Add new API key pane opens.
- Enter a Name for the key.
- Under Type, choose General. The Zapier type is only for the Zapier integration.
- Pick an Expiry date, or check Never expires.
- Click Save changes.
- Copy the key from the API keys list using the copy icon. The key stays in the list, so you can copy it again later.
Making Authenticated API Requests
To authenticate your API requests, include a valid API key in the X-Api-Key header.Header Format
Include your API key in theX-Api-Key header of every request:
Error Responses
401 Unauthorized
If your API key is missing, invalid, or expired, you’ll receive a 401 error:Common Authentication Issues
Invalid API Key
Invalid API Key
Problem: API key is missing or invalid
Solution: Verify your API key is correct and hasn’t been revoked/expired
Solution: Verify your API key is correct and hasn’t been revoked/expired
Incorrect workspace subdomain
Incorrect workspace subdomain
Problem: Subdomain is left as the default value (spinkart) or incorrect
Solution: Verify your subdomain name is properly added in the request URL
Solution: Verify your subdomain name is properly added in the request URL