Skip to content
API and developers

Managing API keys securely

Creating keys, choosing scopes, rotating and revoking.

3 minute read

Developer API keys use the bk_live_… format and make requests on behalf of your account. Manage them on the Developer console’s keys page. The Developer API does not provide separate sandbox keys; these keys operate on your real data.

Create a key#

  • Give it a name that describes its purpose.
  • Select only the scopes you need. Do not give links:write to a read-only integration.
  • Set an expiry date if needed.

The secret is shown in the create or rotate response and cannot be read again later. Store it in a secure secret manager or a server environment variable.

Rotate and revoke#

  • Rotate: Invalidates the old secret and generates a new one. Update the value stored by your integration too.
  • Revoke: Cancels the key; requests made with a revoked key are not accepted.

If you suspect a leak, rotate or revoke the key. Do not put keys in browser or mobile-client code, public repositories or support messages.

Was this guide helpful?

Still not solved?

If you mention the name of this guide, we can help you faster.

Contact support