> For the complete documentation index, see [llms.txt](https://knowledgebase.offer18.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.offer18.com/zh/wang-luo/lian-meng-huo-ban/api-fang-wen-guan-li.md).

# API 访问管理

1. **转到 Affiliates » Affiliates**&#x20;

![](https://2731110321-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ME6HkHUCzlM0Mu33Q9W%2F-MMsGBAy_q-_aNiN0GOa%2F-MMsGeXUUY0tpWdXQ8b9%2F5757ac6b6c8bdfc0b437c5e0ad8e794f.gif?alt=media\&token=ab0f1984-981c-4d94-a3e6-0bbdd0ffde9f)

2\. **点击 Affiliate 的姓名/行以进入其资料**

![](https://2731110321-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ME6HkHUCzlM0Mu33Q9W%2F-MMsGBAy_q-_aNiN0GOa%2F-MMsGtWXqYaDLeWZml3J%2F1e55d08ec34252e2dd403229ed3941d4.gif?alt=media\&token=f1062c3e-551b-40c1-ac01-479366caf79e)

3\. **在此启用 API 访问 » 提交**

![](https://2731110321-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ME6HkHUCzlM0Mu33Q9W%2F-MMsIB6TT6JAeumU8GNy%2F-MMsJN-bnRRCZN8_XJZ4%2Ffca2ea5f28ef31a08145f92395bf8eed.gif?alt=media\&token=d3d21ec6-c18b-4e4b-a55d-7c8af12f92cb)

{% hint style="success" %}
API 凭证将显示在窗口的右侧。
{% endhint %}

[<mark style="color:蓝色;">**联盟在其联盟仪表板如何获取 API 凭证**</mark>](/zh/lian-meng-huo-ban/lian-meng-huo-ban-api.md)


---

# 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://knowledgebase.offer18.com/zh/wang-luo/lian-meng-huo-ban/api-fang-wen-guan-li.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.
