# API

Chamilo 2.0 提供了一个基于 **API Platform 3.0** 构建的 REST API。该 API 为平台资源提供了程序化访问接口，并且与 Vue 前端使用的是同一个 API。

* [**认证**](/2.x-zh-cn/kai-fa-zhe-zhi-nan/developer-guide/api/authentication.md) — 基于 JWT 令牌的认证
* [**端点参考**](/2.x-zh-cn/kai-fa-zhe-zhi-nan/developer-guide/api/endpoints-reference.md) — 可用 API 资源的概述
* [**自定义操作**](/2.x-zh-cn/kai-fa-zhe-zhi-nan/developer-guide/api/custom-actions.md) — 超出标准 CRUD 的专用端点
* [**Webhooks**](/2.x-zh-cn/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-cn/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.
