API keys
API keys let you perform actions in your Mitzu organization through the Mitzu API. Each key is tied to your organization, not an individual workspace: it can create workspaces and read and change the configuration of every workspace, and keys you allow to can also manage members and workspace access like an Org Admin, so store it as a secret.
Only admins can see and manage API keys. API access is included with the Pro and Enterprise plans. On Starter, keys created earlier keep working, but Add new API key carries a Pro tag and opens the upgrade window instead, where you can compare the plans and upgrade.
What an API key can do
Every API key can read and change the configuration of every workspace: event, dimension and metric tables, indexing, the event catalog and event usage statistics. It can also create, clone and delete workspaces, and change their connection, entities, indexing and insight settings, data filter and branding. For these requests the key acts as an Org Admin. See Onboard tenants over the API for an example.
Managing members is off by default. A key that an admin allowed to manage members can also manage
the organization's members like an Org Admin: invite, update and remove people, change licenses, org
roles and workspace roles, decide join requests, and open or restrict workspaces. It can change and
remove other Org Admins too. It can never change the Org Owner's license or org role, remove the Org
Owner, or change who owns a workspace or the organization. Any other key gets a 403 from these
requests. See Managing access with the API for the
details.
Only allow it on the key your identity provider or HR system uses, for example SailPoint.
A key belongs to the organization, not to the admin who created it. It keeps working when that person is made an Org Member or leaves the organization. When an admin leaves or loses their admin role, disable or remove the keys they had access to, and create new ones if you still need them.
Viewing existing API keys
Your existing API keys are shown in a table with the following columns:
- Name — a label used to identify the API key.
- Expires at — the date the key stops working.
- State — the current status:
enabled,disabled, orexpired. - Manage members —
Allowedwhen the key can manage members and workspace access.

Creating a new API key
- Click Add new API key.
- In the dialog, enter a Name and (optionally) an Expiration Date. Leave the expiration date empty if you want the key to never expire. Turn on Manage members if the key should manage members and workspace access.
- Click Add to generate the key.

The generated key is displayed once. Copy it immediately — Mitzu will not show it again after the dialog is closed.

Enabling or disabling an API key
You can toggle a key between enabled and disabled without deleting it:
- Select the key by checking the box in its row.
- Click Enable / Disable.
- The key's state updates immediately.
Allowing a key to manage members
You can allow or revoke member management on an existing key without changing the key itself:
- Select the key by checking the box in its row.
- Click Allow / Revoke member management.
- The Manage members column updates, and the change applies to the key's next request.
Deleting an API key
- Select the key by checking the box in its row.
- Click Remove.
- In the confirmation dialog, click Delete to permanently remove the key.
