
Workspace API keys on the Secrets page
Creating an API key
You can create up to 10 API keys per workspace. To create an API key:- Click your workspace name at the bottom left and click Settings.
- Click Secrets in the sidebar.
- Click + Create API Key.
- Enter a name for the key.
-
Choose what the key can access. See Choosing permissions for what each option grants.
- To give the key specific scopes, select the scopes it should have. If you select a permission that works on apps, such as Deploy apps, choose which apps the key can reach under App access.
- To give the key workspace-wide access, click Use workspace-wide access instead, then choose an access level:
- Read-only: The key can read data through every API that accepts workspace API keys, but can’t make changes. This option is selected by default.
- Full access: The key can read data and make changes through every API that accepts workspace API keys.

Choosing workspace-wide access for an API key
- (Optional) Enter a description.
- Click Create Key.
- Copy the key and store it somewhere safe.
- Click Done.

Choosing an API key's permissions
Choosing permissions
Each API key gets its access in one of 2 ways. It either has specific scopes, which allow only the tasks you pick, or workspace-wide access, which reaches every API that accepts workspace API keys on your plan. Specific scopes are the default.Choosing specific scopes
Scopes are individual permissions that control which parts of your workspace a key can access. Give a key only the scopes the integration needs.
For the Deploy apps, Provision app users, Mint embed sign-in tokens, and Watch app builder updates permissions, choose which apps the key can access:
- Selected apps: The key can only access the specific apps you choose.
- All current and future apps: The key can access any app in the workspace, including apps you add later.
Using workspace-wide access
Workspace-wide access lets a key use every API that accepts workspace API keys, with the same permissions as the workspace owner, so you don’t pick scopes one by one. It always covers every app in the workspace, including apps you add later. Your audit logs record the key’s actions under the key, along with the owner it acted as. Use it for a trusted integration of your own that works across your whole workspace, such as an internal tool that manages all your apps. You choose one of 2 levels:- Read-only: The key can read data through those APIs but can’t make changes, such as deploying apps, giving people access to apps, creating sign-in tokens, or changing SCIM users.
- Full access: The key can read data and make changes through those APIs.
Managing your API keys
From the Secrets page, you can view all your keys along with each key’s access, who created it, when they were created, and when they were last used. Click the More actions icon next to a key to edit, disable, or delete it.Creating, editing, enabling, disabling, and deleting a key are all recorded in your workspace audit logs, and actions taken with a key are attributed to it.
- Click your workspace name at the bottom left and click Settings.
- Click Secrets in the sidebar.
- Click the More actions icon next to the key you want to manage and select an option:
- Edit: Update the key’s name, description, permissions, or access.
- Disable key: Temporarily prevent the key from being used without deleting it.
- Enable key: Re-enable a previously disabled key.
- Delete key: Permanently remove the key. This cannot be undone, and anything using that key stops working straight away.

Managing an existing workspace API key
Blocking personal account API keys
Some members of your workspace may still have an older personal account API key. When you block these keys, only workspace API keys, which admins create and manage, can reach your workspace’s apps and data. You can block personal keys whether or not your workspace uses SSO. It’s especially useful if you require SSO for all workspace members, because it closes the gap between how people sign in and how they can reach your data programmatically.Before you turn this on:
- The setting shows how many requests used a personal account API key against your workspace in the last 30 days, and how many members are actively using their keys, so you can see who this affects. You can review the full list in your audit logs.
- Workspace API keys are not affected, so anything built on an admin-managed key keeps working.
- App users signing in to your published apps aren’t affected.
- Click your workspace name at the bottom left of your account.
- Click Settings.
- Click Governance.
- Turn on Block account API keys.

Blocking personal account API keys for your workspace
Governing personal access tokens
Members can create personal access tokens to let their own scripts and tools reach your workspace’s apps. A token acts as the member who made it and never exceeds their own permissions, and it stops working when they leave the workspace. As an admin you decide whether tokens may be used in your workspace at all, and how much a token is allowed to do. The controls sit in the Enable personal access tokens card on the Governance page, and every member token created for the workspace is listed in Secrets.Setting the access token policy
The card carries a switch for tokens as a whole, and 2 limits that cap what any token may be. Each limit names the most a token is allowed to be, so choosing Read-only means nobody can create a token that changes data.
The access token policy on Governance, with the limits that cap what a token may be
- Click your workspace name at the bottom left of your account.
- Click Settings.
- Click Governance.
- Turn the Enable personal access tokens toggle on or off.
- Next to Permission, choose the most a token may do: Full access or Read-only.
- Next to Access, choose how much of the workspace a token may reach: All apps and Superagents or One app or Superagent.
Reviewing members’ access tokens
The card’s footnote counts the member tokens that meet your policy and links straight to the full list. In Secrets, the Personal access tokens in this workspace table is admin only, and shows each token’s owner, access, permission, status, and when it was last used. You can disable or delete any of them, but you cannot change one, since it belongs to the member who made it.
Filtering member access tokens, including by whether they meet your policy
- Click your workspace name at the bottom left of your account.
- Click Settings.
- Click Secrets, then click the Personal access tokens tab.
- Under Personal access tokens in this workspace, click Filter to narrow the list by permission, last used, status, or whether a token meets your policy.
- Next to a token, click the More actions icon and click Disable or Delete.