Authorization header — requests without a key, or with an invalid key, are rejected before they reach any endpoint. API keys are tied to a specific Zolt workspace and inherit the permissions defined by their assigned scope.
Generating an API Key
You create API keys directly inside Zolt’s settings. Each key should correspond to a single integration or use case so you can revoke access independently without affecting other systems.1
Open API Keys settings
In Zolt, click your workspace avatar in the bottom-left corner, then navigate to Settings → Developer → API Keys.
2
Generate a new key
Click Generate New Key in the top-right corner of the API Keys page.
3
Name your key
Enter a descriptive name that identifies the integration this key is for — for example,
GitHub Sync or Analytics Export. Select the appropriate scope for the key (see API Key Scopes below), then click Create.4
Copy and store the key
Your new API key is displayed once. Copy it immediately and store it in a secure location such as a password manager or secrets manager. You will not be able to retrieve the key value again after closing this dialog.
Making Authenticated Requests
Pass your API key in theAuthorization header of every request using the Bearer scheme:
Authorization Header
API Key Scopes
When generating a key, you assign it a scope that controls what the key is permitted to do. Follow the principle of least privilege — grant only the scope your integration actually needs.Revoking an API Key
If a key is compromised, no longer needed, or belongs to a decommissioned integration, revoke it immediately to prevent unauthorized access.1
Open API Keys settings
Navigate to Settings → Developer → API Keys in your Zolt workspace.
2
Find the key to revoke
Locate the key by its name in the list. You can also see the last time each key was used, which helps identify dormant keys.
3
Delete the key
Click the ⋯ menu next to the key and select Revoke Key. Confirm the action in the dialog that appears. The key is invalidated immediately — any subsequent requests using it will receive a
401 Unauthorized response.Authentication Errors
If your request is rejected due to an authentication or authorization problem, the API returns one of the following error responses:
For the full error response format and a complete list of error codes, see the Errors reference.