> 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/fr/api-publique-exoclick/jeton-dapi-vs-jeton-bearer.md).

# Jeton d’API vs jeton Bearer

Lorsque vous travaillez avec l'API ExoClick, vous rencontrerez deux types de jetons d'authentification : les jetons API et les jetons Bearer. Comprendre la différence entre eux est essentiel pour utiliser l'API de manière sûre et efficace.

Voici la distinction :

## Jeton API

* Permanent (jusqu'à désactivation ou suppression)
* Utilisé pour authentifier votre compte auprès de l'API au départ
* Vous l'obtenez dans vos [paramètres du profil](/exoclick-docs/fr/mon-profil.md)

## Jeton Bearer

* Temporaire, expire au bout d'un court délai
* Délivré après votre connexion avec votre jeton API
* Utilisé pour toutes les requêtes API suivantes afin d'éviter d'envoyer à chaque fois le jeton API permanent
* Ajoute une couche de sécurité car il n'est valide que pendant une durée limitée

**En bref**: le jeton API prouve **qui vous êtes** et le jeton Bearer est une clé temporaire qui vous permet d'effectuer des requêtes en toute sécurité.


---

# 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/fr/api-publique-exoclick/jeton-dapi-vs-jeton-bearer.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.
