> 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/developpeurs/config-api.md).

# API de configuration

La Config API vous permet de gérer par programmation votre compte Commanders Act, vos sources, vos destinations et bien plus encore. Vous pouvez utiliser l’API pour :

* Créer de nouveaux utilisateurs et leur attribuer des rôles avec des autorisations limitées
* Récupérer les données de n’importe quel rapport pour créer un Dashboard personnalisé dans Excel, Google Data Studio ou tout autre outil de BI
* Créer de nouvelles destinations — ou les supprimer — avec quelques lignes de code
* Configurer, désactiver ou consulter les sources et gérer les destinations connectées
* Obtenir une vue complète de toutes les sources et destinations
* Interroger les métriques Event Delivery pour créer des dashboards et des alertes personnalisés afin de surveiller la transmission de vos événements aux destinations
* etc.

La Config API est un ensemble de services REST disponibles sur api.commander1.com. Vous pouvez télécharger la [spécification openAPI](https://commandersact.github.io/api_doc/) ou consulter la [documentation de l’API ici](https://commandersact.github.io/api_doc/).

{% hint style="success" %}
Pour utiliser la Config API, vous aurez besoin d’un access\_token. Veuillez le demander à votre account manager.
{% endhint %}

{% embed url="<https://commandersact.github.io/api_doc>" %}


---

# 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/developpeurs/config-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.
