Use of the AI Helpdesk API has resumed. For details, see Announcements.
Create an API key
Only AI Helpdesk admins can create API keys.
The API Keys tab is not shown to operators.
1
Open the API Keys tab
Log in to AI Helpdesk and select Settings in the left menu.
Open the API Keys tab.
2
Open the create dialog
Click Create API Key.
3
Enter the key details
Fill in the following fields and click Create API Key.
4
Copy the API key
Copy the API key shown, store it somewhere safe, and click Done.
The API key is shown only once, when you create it, and you cannot view it again later.
If you lose a key, create a new one.
mb_live_ (followed by 40 hexadecimal characters).
API key permissions
What an API key can do depends on the Role you selected when you created it.
Calling an Admin-only endpoint with an Operator key returns
403 with Admin role required.
The API can update only documents created in AI Helpdesk.
Documents imported from connected sources (Notion, Box, and others) cannot be updated.
Knowledge created through the API and playbook changes made through the API are recorded as
Public API (key <key name>) in the creator field and the change history.Add the API key to requests
Pass your API key in theX-API-Key header on every request.
The Authorization: Bearer format is not supported.
/api/v1/openapi.json) and the API documentation (/api/v1/docs) are available without an API key.
Keep your API key secure
- Create a separate key for each use and give it a Name that shows what it is for
- Use an Operator key when you do not need to write data
- Choose 30 days or 60 days for Expiration to fit the use. Use Never expires only when the key cannot be rotated regularly
- The list on the API Keys tab shows each key’s Expires and Last used values. Revoke keys that are no longer used
- Do not write keys in source code. Load them from environment variables or a secrets manager
Authentication errors
If the API key cannot be authenticated, the API returns401 with the following response.
- The
X-API-Keyheader is missing - The key does not start with
mb_live_, or part of it was lost when copying - The key has been revoked
- The key has expired (the list on the API Keys tab shows Expired)

