Learn

What is an API key?

In short

An API key is a credential, usually a long random string, that a program sends with every request to an API so the system knows who is asking and what they are allowed to do. Unlike a password, it is meant for software rather than a person to type, and it can usually be limited to certain actions or revoked without affecting anyone else.

An API key stands in for a person the way a password does, but it is built to be handled by code, not typed by a human. A script, an integration or another piece of software attaches the key to each request, usually in a header, and the receiving system checks it before doing anything with the data behind it.

Why keys carry scopes, not just identity

A key that can do everything a human admin can do is a liability: if it leaks, so does everything it touches. Most systems let you scope a key down to what it actually needs:

  • Read-only keys can look at data but never change it, which is the safer default for anything that only needs to display information.
  • Read and write keys can create, update or delete records, and should be handed out only to integrations that genuinely need to.
  • Per-key limits, such as how many requests it can make per second, stop one misbehaving integration from affecting everyone else.

Keeping a key safe

A key is a secret the same way a password is: it belongs in server-side code or an encrypted settings store, never in a browser script or a public repository, and it should be rotated if a person who had access to it leaves or a service it was shared with is compromised.

How GuardenerAI handles it

  • Admins create org-scoped API keys under Settings, API keys, each tied to the organization rather than one person’s login.
  • Every new key is read-only by default. Scope has to be explicitly changed to “Read and write” before it can create, update or delete anything.
  • A key with write access still needs its holder’s role to be Member or above; a Viewer-level key is refused even with the right scope.
  • Keys are capped at 10 requests per second, with a burst of 50, and there is no expiry set in the interface, so revoking an unused key is a manual step worth doing.
  • See the REST API entry for how a key is actually used in a request.
Try it in GuardenerAI → Free plan, no card.

Related terms

Every term in Learn →

The CRM that
grows with you.

Cultivate visibility. Guard growth.