> For the complete documentation index, see [llms.txt](https://docs.exoclick.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.exoclick.com/api/de/exoclick-offentliche-api/api-token-vs.-bearer-token.md).

# API-Token vs. Bearer-Token

Bei der Arbeit mit der ExoClick-API begegnen Ihnen zwei Arten von Authentifizierungstokens: API-Tokens und Bearer-Tokens. Für eine sichere und effektive Nutzung der API ist es entscheidend, den Unterschied zwischen ihnen zu kennen.

Hier der Unterschied:

## API-Token

* Dauerhaft gültig, bis Sie es deaktivieren oder löschen.
* Wird verwendet, um Ihr Konto bei der Anmeldung bei der API zu authentifizieren.
* Erstellt unter [Mein Profil > API-Tokens](https://docs.exoclick.com/exoclick-docs/my-profile#api-tokens-tab).
* Wird nur einmal vollständig angezeigt, nämlich bei der Erstellung. Bewahren Sie es an einem sicheren Ort auf.

## Bearer-Token

* Vorübergehend und läuft nach kurzer Zeit ab.
* Wird ausgegeben, wenn Sie sich mit Ihrem API-Token anmelden.
* Wird bei jeder authentifizierungspflichtigen Anfrage mitgesendet, damit Ihr API-Token nicht jedes Mal übertragen werden muss.
* Erhöht die Sicherheit, da es nur für eine begrenzte Zeit gültig ist.

**Kurz gesagt:** Ihr API-Token weist Sie als Nutzer aus. Das Bearer-Token ist ein temporärer Schlüssel, mit dem Sie sicher Anfragen stellen können.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.exoclick.com/api/de/exoclick-offentliche-api/api-token-vs.-bearer-token.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
