# 作为合作伙伴创建 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-publisher/reference/overview) 以查看 API 参考文档、集成指南等。
{% endhint %}

#### 创建访问令牌

1. 从顶部导航栏中选择 ![](/files/2de72fd0c7a4b5230c422659116f53f1b693fa11) **\[用户资料] → 设置**.
2. 在 *技术*下，选择 **API**.
3. 通过选择创建一个新令牌 **创建访问令牌** 在页面的右上角。

#### 创建令牌

<details>

<summary>1. 设置</summary>

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

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

</details>

<details>

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

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

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

</details>

<details>

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

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

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

</details>

<details>

<summary>4. 创建</summary>

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

</details>


---

# 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://help.impact.com/partner/zh/nin-xiang-liao-jie-shen-me/account-management/account-settings/api-tokens/create-an-api-access-token-as-a-partner.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.
