API keys
User keys and app keys: how they differ, how to create, disable and store them securely.
On this page
On this page
An API key is an ID and secret pair that you use to authenticate requests in an HTTP Basic header. There are two kinds of keys, and they differ in on whose behalf they act.


| User key | App key | |
|---|---|---|
| Acts as | You | The app |
| Permissions | All permissions of your account | Only the permissions granted to the app |
| Scope | All workspaces you belong to | Workspaces where the app has access |
| Where to create it | Account settings, API keys | App page, API keys |
| What it's for | Your own scripts and quick tests | Integrations, automations, shared configurations |
User key
Create a new key and give it a name you'll recognize in six months, for example “Sales report in cron”.
Optionally set an expiry date.
Copy the ID and secret to a password manager or environment variables. The secret is shown only once, when you create the key. If you lose it, create a new key.
App key
An app key authenticates the app itself. Only the permissions granted to the app count, without combining them with any particular person's permissions. It's the best choice for server-to-server integrations, n8n workflows or MCP configurations shared by the whole team.
You create app keys on the app page, in the API keys tab. When the app lacks access, the administrator grants it in the workspace settings, and the app can request it itself, as described in the Permissions and access guide.
Disabling, expiry and deletion
You can disable any key at any time and enable it again later. A key with an expiry date stops working on its own. Requests with a disabled, expired or deleted key end with a 401 error.
Managing keys through the API
You can also handle user keys from code. These endpoints aren't available through MCP.
| Method | Path | What it does |
|---|---|---|
GET | /me/api-keys | List of your keys, without secrets |
POST | /api-key | New key. Body: name, isEnabled, optionally expiresAt. Only this response contains the secret |
PATCH | /api-key/:apiKeyId | Rename, enable or disable |
DELETE | /api-key/:apiKeyId | Delete the key |
For app keys, the same operations are under /app/:appId/api-keys.
{
"success": true,
"data": {
"apiKey": {
"id": "65a1f0c2b3d4e5f601234567",
"name": "Sales report in cron",
"secret": "…",
"isEnabled": true
}
}
}Good practices
One key per integration. If something leaks, you disable one key, not everything at once.
Keep the secret in environment variables or a secrets manager, never in the repository.
Set an expiry date for test keys.
In apps that other users sign in to, use OAuth 2.1 instead of keys.