# Config API

The Config API allows you to manage your Commanders Act account, sources, destinations, and more programmatically. You may use the API to:

* Create new users and assign them to scoped roles
* Get data from any reports to build custom dashboard in Excel, Google Data Studio or any BI tools
* Create new Destinations - or delete them - with a few lines of code
* Configure, disable, or view Sources and manage connected Destinations
* Get a complete view of all the Sources and Destinations
* Query Event Delivery metrics to build custom dashboards and alerts to monitor delivery of your events to destinations
* etc.

The Config API is a set of REST services under api.commander1.com, you can download the [openAPI specification](https://commandersact.github.io/api_doc/) or read the [API documentation here](https://commandersact.github.io/api_doc/).

{% hint style="success" %}
To use config API, you will need an access\_token. Please ask it to your account manager.
{% endhint %}

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


---

# Agent Instructions: 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:

```
GET https://doc.commandersact.com/developers/config-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
