- A workspace key works with that workspace’s lanes, leads, exports, lists, websites and webhook. Most integrations use one.
- An organization key manages workspaces, billing and people, and works in any of the organization’s workspaces when the request names it with the header
Intent-Leads-Workspace: <workspace id>. See Workspaces.
Creating a key
Open Settings → API keys in the dashboard and create a key: in a workspace for a workspace key, in the organization for an organization key. The full key is shown once, when you create it. We only store a hash of it, so we can’t show it again. If you lose it, rotate it.
Settings → API keys: name the key, pick Standard or Admin, and create it.
Standard and admin keys
Use standard keys for integrations and scheduled jobs. Only owners can create admin keys, and an admin key can only be managed by an owner or another admin key. Admin-only endpoints are marked in the API reference.
Rotating and revoking
- Rotate gives the key a new secret and keeps its name and role. The old secret stops working straight away.
- Revoke switches a key off for good.
POST /api/v1/keys/{id}/rotate and DELETE /api/v1/keys/{id}.
Keeping keys safe
- Keep keys in environment variables or a secrets manager, never in code or URLs.
- Use a separate key per integration so you can revoke one without breaking the others.
- Check
last_used_atin the dashboard orGET /api/v1/keysto spot keys nobody uses any more.
Errors
See Errors for the full list.