> 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

L'API Config vous permet de gérer votre compte Commanders Act, les sources, les destinations et bien plus encore de manière programmatique. Vous pouvez utiliser l'API pour :

* Créer de nouveaux utilisateurs et les affecter à des rôles à périmètre défini
* Obtenir des données de n'importe quels rapports pour créer un Dashboard personnalisé dans Excel, Google Data Studio ou tout autre outil BI
* Créer de nouvelles Destinations - ou les supprimer - en quelques lignes de code
* Configurer, désactiver ou afficher les Sources et gérer les Destinations connectées
* Obtenir une vue complète de l'ensemble des Sources et des Destinations
* Interroger les métriques Event Delivery pour créer des dashboards et des alertes personnalisés afin de surveiller la distribution de vos events vers les destinations
* etc.

L'API Config est un ensemble de services REST sous api.commander1.com, vous pouvez télécharger la [spécification openAPI](https://commandersact.github.io/api_doc/) ou lire la [documentation de l'API ici](https://commandersact.github.io/api_doc/).

{% hint style="success" %}
Pour utiliser Config API, vous aurez besoin d'un access\_token. Veuillez le demander à votre responsable de compte.
{% 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.
