# API

## Lấy company token:

Truy cập trang [Tích hợp](https://my.doopage.com/dashboard/integrate-api) để lấy token

![api token](https://i.imgur.com/z3nz2Jb.png)

## API Documentation:

Truy cập trang [API documentation](https://app.doopage.com/public/api/v1.0/docs/)

## Gọi API trực tiếp trên trang API documentation

Sau khi truy cập trang API documentation -> Nhấn vào nút `Authorize` -> Nhập vào `Bearer <company_token_của_bạn>` -> `Authorize` &#x20;

![authorize api](https://i.imgur.com/2LDCRKI.png)

![authorize api](https://i.imgur.com/X86853M.png)


---

# 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://how.doopage.com/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.
