# API

***

#### **¿Cómo genero un token de API?**

En la aplicación web de escritorio, ve a <mark style="color:$primary;">`Configuración`</mark> > <mark style="color:$primary;">`Integraciones`</mark> y genera un nuevo token de API. Úsalo como un token Bearer en el <mark style="color:$primary;">`Autorización`</mark> encabezado de las solicitudes de API.

<figure><img src="/files/e3a55fff64d7eac386e2c686365e51293800c0db" alt=""><figcaption></figcaption></figure>

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

#### **¿Hay límites de tasa de la API?**

Sí. Para mantener el servicio estable, cada endpoint está limitado a **5 consultas por segundo**. Si superas esto, recibirás una respuesta de error con encabezados de límite de tasa.

Consulta [aquí](https://rest.boxhero-app.com/docs/api) para ver la documentación completa del 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/es/integraciones-y-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.
