> 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).

# Config API

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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.commandersact.com/fr/developpeurs/config-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
