Skip to main content

Create and manage API keys

API keys authenticate programmatic access to one Bytes workspace.

Create a key

  1. Open the correct workspace.
  2. Open Workspace Settings.
  3. Open Developer API.
  4. Create a key with a name that describes its purpose.
  5. Copy the plain-text key immediately.

The complete key is only shown when it is created.

Name keys clearly

Examples include:

  • Website form automation
  • Internal reporting script
  • Cops & Coffee event importer
  • Local CLI

Store keys safely

Treat an API key like a password.

Do not:

  • commit it to Git
  • paste it into client-side browser code
  • put it in screenshots
  • share it in chat
  • save it in a public document

Revoke unused keys

Revoke a key when its purpose has ended, a service is retired or you believe it may have been exposed.