API security best practices
Last updated: December 1, 2024
API Security
Keep your integrations secure.
API Key Best Practices
Key Permissions
Create keys with only needed scopes:
IP Allowlisting (Business+)
Restrict access to your workspace to specific IP addresses or CIDR ranges. The allowlist applies to the whole workspace and is set by a workspace owner or admin under **Settings > Security** (IP Allowlist). Enter one IPv4 address or CIDR range per line. The page shows your current IP and will not save a list that excludes it, so you cannot lock yourself out. There is no per-key allowlist. Developers can also use PATCH /api/enterprise/security with an ipAllowlist array.