# API

***

#### **Comment générer un jeton API ?**

Dans l’application web de bureau, allez à <mark style="color:$primary;">`Paramètres`</mark> > <mark style="color:$primary;">`Intégrations`</mark> et générez un nouveau jeton API. Utilisez-le comme jeton Bearer dans l’en-tête <mark style="color:$primary;">`Authorization`</mark> des requêtes API.

<figure><img src="/files/1b8d2707f4a146943218f51663c0ed7b03f34318" alt=""><figcaption></figcaption></figure>

L’URL de base est <mark style="color:$primary;">`https://rest.boxhero-app.com`</mark>.&#x20;

#### **Y a-t-il des limites de débit de l’API ?**

Oui. Pour maintenir la stabilité du service, chaque point de terminaison est limité à **5 requêtes par seconde**. Si vous dépassez cette limite, vous recevrez une réponse d’erreur avec des en-têtes de limite de débit.

Voir [ici](https://rest.boxhero-app.com/docs/api) pour la documentation complète des points de terminaison.


---

# 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://www.boxhero.io/docs/faq/fr/integrations-et-api/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.
