# API

Chamilo 2.0 提供了基於 **API Platform 3.0** 的 REST API。此 API 提供對平台資源的程式化存取，並與 Vue 前端使用的 API 相同。

* [**驗證**](/2.x-zh-tw/kai-fa-zhe-zhi-nan/developer-guide/api/authentication.md) — 基於 JWT token 的驗證
* [**端點參考**](/2.x-zh-tw/kai-fa-zhe-zhi-nan/developer-guide/api/endpoints-reference.md) — 可用 API 資源概覽
* [**自訂動作**](/2.x-zh-tw/kai-fa-zhe-zhi-nan/developer-guide/api/custom-actions.md) — 超出標準 CRUD 的專用端點
* [**Webhooks**](/2.x-zh-tw/kai-fa-zhe-zhi-nan/developer-guide/api/webhooks.md) — 事件驅動的通知至外部系統


---

# 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://docs.chamilo.org/2.x-zh-tw/kai-fa-zhe-zhi-nan/developer-guide/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.
