> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/agency/zh/what-would-you-like-to-learn-about/account-settings/api-tokens/create-api-access-tokens-as-an-agency.md).

# 作为代理机构创建 API 访问令牌

按照以下步骤创建新的 API 令牌并为该令牌配置访问范围。阅读一些关于如何 [保护您的访问令牌安全](/other/zh/reference-documentation/api-access-tokens-and-changelog/keep-your-access-tokens-secure.md).

{% hint style="info" %}
**注意：** 访问 impact.com 的 [集成门户](https://integrations.impact.com/impact-agency/reference/overview-1) 以查看 API 参考文档、集成指南等。
{% endhint %}

#### 创建访问令牌

1. 在左侧导航菜单中，选择 ![](/files/e8ee154c84afc18c51180e1c6d71f1967e21b65e) **【菜单】** → **设置**.
2. 在 *帐户* 列中，导航到 *技术*，然后选择 **平台 REST Web 服务**.
3. 通过选择创建新的令牌： **创建访问令牌** 在页面右上角。

#### 创建令牌

<details>

<summary>1. 设置</summary>

* 在 **令牌名称** 文本字段中输入合适的名称。
* 添加一个 **描述** 来说明该令牌的用途，供您将来参考。
* 指定 **API 版本** 该令牌将兼容的版本。我们建议使用最新的 API 版本，这也是默认选择。
* 选择 **下一步**.

  <div data-with-frame="true"><figure><img src="/files/46342279fb17f50e360b73e70cba25fe28f17902" alt=""><figcaption></figcaption></figure></div>

</details>

<details>

<summary>2. 联系信息</summary>

* 从下拉菜单中选择一个 **主要联系人** 。我们将就开发更新与主要联系人联系。
* 可选地，为应该知道与访问令牌相关更新的开发人员添加电子邮件地址。这在为不是帐户用户的开发人员创建令牌时很有用。

  <div data-with-frame="true"><figure><img src="/files/9feb82db2dc006efdac8b6afc0b4f190a3ffa47e" alt=""><figcaption></figcaption></figure></div>
* 选择 **下一步**.

</details>

<details>

<summary>3. API 范围</summary>

* 打开一个 API 类别，然后勾选左侧的复选框以选择您希望在 API 令牌上允许的访问范围。
* 您可以通过点击页面右上附近的 **全部清除** 按钮来清除所有范围。

  <div data-with-frame="true"><figure><img src="/files/d4ed57f695ac69eccc22bc05a4a86e15c4344049" alt=""><figcaption></figcaption></figure></div>

</details>

<details>

<summary>4. 选择 创建</summary>

* 最后，选择 **创建** 在页面右下角。

</details>


---

# 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:

```
GET https://help.impact.com/agency/zh/what-would-you-like-to-learn-about/account-settings/api-tokens/create-api-access-tokens-as-an-agency.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.
