# API

***

#### **Bagaimana saya menjana token API?**

Dalam aplikasi web desktop, pergi ke <mark style="color:$primary;">`Tetapan`</mark> > <mark style="color:$primary;">`Integrasi`</mark> dan jana token API baharu. Gunakannya sebagai token Bearer dalam <mark style="color:$primary;">`Pengesahan`</mark> pengepala permintaan API.

<figure><img src="/files/19c7c70079f0d99798aec856afd549bca917854c" alt=""><figcaption></figcaption></figure>

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

#### **Adakah terdapat had kadar API?**

Ya. Untuk memastikan perkhidmatan stabil, setiap titik akhir dihadkan kepada **5 pertanyaan sesaat**. Jika anda melebihi ini, anda akan menerima respons ralat dengan pengepala had kadar.

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


---

# 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/ms/integrasi-and-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.
