Skip to content
Dennis Gumprich
Dennis Gumprich

Content Operations · AI · Business Case

Tool Selection and Business Case 5 min read Reviewed by Dennis Gumprich, as of 11/2026

API key

Definition

An API key, in German “API-Schlüssel”, is a string of characters to be kept secret with which an application identifies and authorizes itself when accessing a programming interface. It is sent with every request and is often linked to certain rights, usage limits or projects.

Whoever has the key can access within its scope. API keys therefore do not belong in public content or shared documents, should only have the necessary rights and should be replaceable when needed.

Why this matters for you

API keys open access to your systems and often to paid services as well. Whoever stores them insecurely or passes them on risks data leaks and unexpected bills. With clear rules for issuing, storing and replacing them, you keep control over your integrations.

Context

An API key is comparable to a house key for an application. It is sent with every request and shows the receiving system who is asking and which rights apply. Unlike a password, it usually does not belong to a person but to an application or a project.

Many providers allow keys to be created with restricted rights, for example read-only or only for certain functions. For sensitive applications or access on behalf of individual users, methods such as OAuth are also used, which control permissions more finely and limit them in time. For marketing teams, API keys are mainly relevant for AI services, automation tools and analytics integrations.

What do you need to watch out for when handling an API key?

An API key should be treated like a password, with the difference that it usually grants access without any additional login. These rules help in everyday work:

  • Store securely: keys belong in a password manager or a configuration intended for them, not in emails, chats, spreadsheets or presentations.
  • Limit rights: each integration gets its own key with only the rights it needs.
  • Clarify ownership: for every key it is known who created it, what it is used for and who manages it.
  • Renew regularly: keys are replaced at fixed intervals and immediately when staff change or misuse is suspected.
  • Monitor usage: whoever monitors access and costs notices misuse early, for example with AI interfaces billed by usage.

How well an API key protects depends on the provider's implementation. When selecting tools, ask about permission levels, expiry dates and logs.

How do you create an API key securely?

These steps have proven themselves for handling API keys securely:

  1. Create a separate key per application: this lets you block individual access without interrupting everything.
  2. Limit rights: only grant the permissions the application really needs.
  3. Store securely: keep keys in a password manager or the secrets settings of your tool, never in documents or chats.
  4. Record responsibility: note who created the key and what it is used for.
  5. Renew regularly: replace keys at fixed intervals and when people involved leave.
Practical example

An integration uses a protected key that can be replaced when needed.

Typical mistakes

  • Sharing keys by email or chat: there they remain readable permanently and can be forwarded.
  • One key for everything: if it is compromised, all connected applications are affected.
  • No usage limit: without a budget cap, a misused key can cause high costs.

Frequently asked questions

API key or OAuth: what is the difference?

An API key is a fixed key that gives an application access until it is revoked. With OAuth, a person signs in and specifically allows an application certain access; the application receives time-limited access tokens for this. OAuth can therefore be controlled more finely and is tied to people, while an API key is easier to set up but riskier if lost.

What should you do if an API key has been published?

Block or renew the API key immediately with the provider, even if it was only visible briefly. Then replace it in all integrations that used it. Afterwards check logs and billing for unusual access and inform IT security or data protection if personal data could be affected. Only deleting the place where it was found is not enough.

May API keys be stored in automation tools?

Yes, if the tool stores credentials in encrypted form and only authorized people can use or view them. Check in advance who in the tool has access to stored keys, whether workflows are shared with third parties and whether your IT has approved the tool. Only store API keys with tightly restricted rights there.

Does an API key cost money?

The API key itself costs nothing; what is billed is the usage that runs through it. With many AI services you pay according to the amount of data processed, for example per token. A key that is shared unnoticed or misused can therefore cause high costs. Set budget caps and alerts with the provider if this function is offered.

What is an API key and what do you need it for?

An API key is a secret key with which an application signs in to an interface. You need it, for example, to connect an automation tool with an AI service, a CRM or a newsletter system. The provider uses it to recognize who is accessing, which rights apply and who is billed for the usage.

Related terms