> For the complete documentation index, see [llms.txt](https://doc.commandersact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.commandersact.com/fr/fonctionnalites/consent-management/onsite-api.md).

# API OnSite

- [Prise en main](https://doc.commandersact.com/fr/fonctionnalites/consent-management/onsite-api/getting-started.md): Vue d'ensemble de l'API OnSite Consent de Commanders Act.
- [consent.get](https://doc.commandersact.com/fr/fonctionnalites/consent-management/onsite-api/consent.get.md): Méthode pour recevoir le consentement Commanders Act et les métadonnées de consentement OnSite via JavaScript.
- [consent.update](https://doc.commandersact.com/fr/fonctionnalites/consent-management/onsite-api/consent.update.md): Méthode pour mettre à jour le statut de consentement Commanders Act OnSite via JavaScript.
- [consent.revoke](https://doc.commandersact.com/fr/fonctionnalites/consent-management/onsite-api/consent.revoke.md): Méthode pour révoquer le consentement Commanders Act OnSite via JavaScript.
- [consent.onUpdate](https://doc.commandersact.com/fr/fonctionnalites/consent-management/onsite-api/consent.onupdate.md): Méthode pour s'abonner aux mises à jour du statut de consentement Commanders Act OnSite via JavaScript.
- [consent.onReady](https://doc.commandersact.com/fr/fonctionnalites/consent-management/onsite-api/consent.onready.md): Méthode pour obtenir le consentement Commanders Act lorsqu'il devient disponible.
- [consentBanner.show](https://doc.commandersact.com/fr/fonctionnalites/consent-management/onsite-api/consentbanner.show.md): Méthode JavaScript pour afficher votre bannière de consentement.
- [consentBanner.hide](https://doc.commandersact.com/fr/fonctionnalites/consent-management/onsite-api/consentbanner.hide.md): Méthode JavaScript pour masquer votre bannière de consentement.
- [consentCenter.show](https://doc.commandersact.com/fr/fonctionnalites/consent-management/onsite-api/consentcenter.show.md): Méthode JavaScript pour afficher votre centre de consentement (menu des catégories de consentement).
- [consentCenter.hide](https://doc.commandersact.com/fr/fonctionnalites/consent-management/onsite-api/consentcenter.hide.md): Méthode JavaScript pour masquer votre centre de consentement (menu des catégories de consentement).


---

# 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://doc.commandersact.com/fr/fonctionnalites/consent-management/onsite-api.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.
