> 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/vi/tich-hop-and-api/api.md).

# API

***

#### **Làm thế nào để tôi tạo một mã token API?**

Trong ứng dụng web trên máy tính, hãy vào <mark style="color:$primary;">`Cài đặt`</mark> > <mark style="color:$primary;">`Tích hợp`</mark> và tạo một mã token API mới. Sử dụng nó như một token Bearer trong <mark style="color:$primary;">`Authorization`</mark> phần header của các yêu cầu API.

<figure><img src="/files/815c11df76db1e338ed5d7a4f7ddb5122fb01dcb" alt=""><figcaption></figcaption></figure>

URL cơ sở là <mark style="color:$primary;">`https://rest.boxhero-app.com`</mark>.&#x20;

#### **Có giới hạn tần suất API không?**

Có. Để giữ cho dịch vụ ổn định, mỗi endpoint bị giới hạn ở **5 truy vấn mỗi giây**. Nếu bạn vượt quá mức này, bạn sẽ nhận được phản hồi lỗi kèm các header giới hạn tần suất.

Xem [tại đây](https://rest.boxhero-app.com/docs/api) để biết đầy đủ tài liệu về các endpoint.
