Secret keys
API keys on Dock – Secret keys.Create a secret API key
You must be an account
admin to create an API key.1
Go to your account
Go to Settings > API in your Dock account.

2
Create an API Key
Click on the “Create new secret key” button and give the API key a name.

3
Copy your API Key
Click on the “Copy” button and store it in a safe place since you won’t be able to see it again.

4
Use your API Key
Now that you have your API key, you can use it to access your workspace’s resources programmatically via SDKs or within any API request as a bearer token.Keys start with
dock_live_. Keys created before December 2026 have no prefix and keep working; rotating one gives it the new format.Pause or resume a key
An admin can pause a key from its menu in Settings > API without deleting it. Requests made with a paused key are refused with a403 and the code API_KEY_PAUSED until an admin chooses Resume. The key’s status column shows Active or Paused. Archiving a key, in the same menu, removes it for good.