# API

***

#### **Come genero un token API?**

Nell'app web desktop, vai su <mark style="color:$primary;">`Impostazioni`</mark> > <mark style="color:$primary;">`Integrazioni`</mark> e genera un nuovo token API. Usalo come token Bearer nell' <mark style="color:$primary;">`Authorization`</mark> header delle richieste API.

<figure><img src="/files/972d4d2322677b83f9f89df6e1b7a641ad7d8ed4" alt=""><figcaption></figcaption></figure>

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

#### **Ci sono limiti di rate per l'API?**

Sì. Per mantenere il servizio stabile, ogni endpoint è limitato a **5 richieste al secondo**. Se superi questo limite, riceverai una risposta di errore con gli header del limite di rate.

Vedi [qui](https://rest.boxhero-app.com/docs/api) per la documentazione completa dell'endpoint.


---

# 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/it/integrazioni-e-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.
