> For the complete documentation index, see [llms.txt](https://www.boxhero.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.boxhero.io/docs/faq/id/integrasi-and-api/api.md).

# API

***

#### **Bagaimana saya menghasilkan token API?**

Di aplikasi web desktop, buka <mark style="color:$primary;">`Pengaturan`</mark> > <mark style="color:$primary;">`Integrasi`</mark> dan hasilkan token API baru. Gunakan sebagai token Bearer di <mark style="color:$primary;">`Authorization`</mark> header permintaan API.

<figure><img src="/files/2d48552081fbcf29b3c8db3e1e157dfa8ac5f40e" alt=""><figcaption></figcaption></figure>

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

#### **Apakah ada batas rate API?**

Ya. Untuk menjaga layanan tetap stabil, setiap endpoint dibatasi hingga **5 kueri per detik**. Jika Anda melebihi ini, Anda akan menerima respons error dengan header batas rate.

Lihat [di sini](https://rest.boxhero-app.com/docs/api) untuk dokumentasi lengkap endpoint.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://www.boxhero.io/docs/faq/id/integrasi-and-api/api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
