Skip to content
Settings and account

API keys

Keys that let your shop, your app, or an AI agent send mail and read data, each with its own scope.

An API key lets something other than you work with your account: a shop that sends receipts, an app that sends password resets, a script that reads your stats, or an AI agent. Give each one its own key, so you can revoke one without touching the others.

Scopes

Every key has one scope, and the scope decides what it can do.

ScopeWhat it can doUse it for
SendTransactional mail onlyA shop or an app. This is the recommended choice
ReadRead the list and stats, change nothingReports and dashboards
AdminEverything, including managing the listAn AI agent, or a tool you trust fully

A send key can never change your list, so it is the safe one to put in a shop or an app.

How to create a key

  1. Open Settings > API keys.
  2. Under Create a key, type a Name that says where it will live, such as "Shop receipts".
  3. Pick a Scope.
  4. Leave Per minute at its default, or set how many requests a minute the key may make.
  5. Click Create key.
  6. Copy the key from Copy the key now, then click I have copied it.
Settings > API keys
Settings > API keys

Under the new key, Try it shows a ready curl request that sends one transactional mail with it. The same request for your account is in Your account.

What happens next

The key works at once. In the Keys list, Last used shows when it last made a request, and Status shows Live. A request over the per-minute limit is refused and told how long to wait.

How to revoke a key

  1. Click the delete button on the key's row.
  2. Click Revoke key.

Requests with it are refused at once. Mail it already queued still goes out. The key stays in the list as Revoked so its history keeps a name.

Things to know

  • The key is shown once. Kōlea keeps only a fingerprint of it, so it cannot show it again. If you lose it, revoke it and make another.
  • Treat a key like a password. Anyone who has it can do what its scope allows.
  • An AI agent connects with an admin key. See Agents and MCP.
  • Only owners and admins create and revoke keys. Everyone else sees the list.