Creating and revoking API keys
Create a key with only the permissions it needs, copy it once, and revoke it when it is no longer needed.
Last verified
API keys are managed under Organization, then API keys. Viewing keys needs the API key read permission, creating needs the create permission and revoking needs the revoke permission. Admins have them by default, and roles or groups can grant them to others.
Create a key
- Choose Create API key and give it a name that says what it is for.
- Optionally set an expiry date.
- Choose the permissions it should carry, or attach a custom role.
- Copy the key straight away.
- You can only give a key permissions you hold yourself.
- Creating new keys needs a plan with API access (Professional and Enterprise). On a plan without it you can still see and revoke existing keys.
Revoke a key
Revoking switches a key off immediately. It stays in the list marked as revoked, and anything still using it receives an invalid key error. The list also shows each key's expiry and when it was last used, which helps you find keys that are no longer needed.