> For the complete documentation index, see [llms.txt](https://help.visuary.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.visuary.com/parametres-et-abonnements/lapi-de-visuary.md).

# L'API de Visuary

*L’API de Visuary permet à des logiciels ou outils externes d’interagir avec certaines données et fonctionnalités de Visuary.*\
*Elle peut notamment être utilisée pour récupérer automatiquement des informations ou des exports liés à vos projets, afin de les intégrer dans un autre outil ou de créer des automatisations.*

{% hint style="success" icon="lightbulb" %}
**Pour consulter la documentation technique complète rendez-vous sur ce lien :** \
[**https://dev.visuary.com/**](https://dev.visuary.com/)
{% endhint %}

### Créer un token

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZFcDkdPcFkKsLAju8DW3%2Fuploads%2FGavC7u14rozenyb1QSNs%2Fcreation_token.mp4?alt=media&token=773a79de-422a-4a11-8d8e-e9e43b886040>" %}

Pour créer un token :&#x20;

1. Sur la page d'accueuil, cliquez sur l'**icône engrenage** en bas à gauche pour ouvrir les **paramètres utilisateur**
2. Descendez en bas de la page, dans la section **"Accès API"**
3. Cliquez sur **"+ Créer un token"**.
4. **Donnez au token un nom descriptif** ; ce nom est uniquement destiné à vous aider à l’identifier (par exemple : `export-script`, `ci-pipeline`).
5. **Copiez la valeur du token** ; <mark style="background-color:$warning;">elle ne sera affichée qu’une seule fois et ne pourra pas être récupérée ultérieurement</mark>.
6. Cliquez sur **"Valider"** pour confirmer la création du token.

{% hint style="warning" %}
Si le token est valide et que votre compte dispose des droits nécessaires, l’API traitera la demande. Si le token est absent ou invalide, la requête sera refusée.\
De même, **un token valide peut être refusé si le compte ne dispose pas des permissions ou du niveau d’abonnement nécessaires pour accéder à la ressource demandée**.
{% endhint %}


---

# 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://help.visuary.com/parametres-et-abonnements/lapi-de-visuary.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.
