> For the complete documentation index, see [llms.txt](https://developer.chatx.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.chatx.vn/i.-thiet-lap-co-ban/phat-hanh-ung-dung-chatx/phat-trien-voi-api/cau-hoi-thuong-gap.md).

# Câu hỏi thường gặp

## 1. Bearer Token là gì? <a href="#id-1.-what-is-a-bearer-token" id="id-1.-what-is-a-bearer-token"></a>

Bearer authentication là một phương thức xác thực HTTP (còn được gọi là xác thực token) mà liên quan đến các token bảo mật được gọi là bearer tokens. Tên "Bearer authentication" có thể hiểu là "cho phép truy cập cho người mang mã thông báo này." Token bearer là một chuỗi mật mã, thường được tạo ra bởi máy chủ trong phản hồi cho một yêu cầu đăng nhập. Khách hàng phải gửi mã thông báo này trong tiêu đề Authorization khi gửi các yêu cầu đến các tài nguyên được bảo vệ:

```
Authorization: Bearer <token>
```

Phương pháp xác thực Bearer ban đầu được tạo ra như một phần của OAuth 2.0 trong RFC 6750, nhưng đôi khi cũng được sử dụng riêng lẻ. Tương tự như xác thực Basic, xác thực Bearer chỉ nên được sử dụng trên HTTPS (SSL).


---

# 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://developer.chatx.vn/i.-thiet-lap-co-ban/phat-hanh-ung-dung-chatx/phat-trien-voi-api/cau-hoi-thuong-gap.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.
