# API

{% hint style="warning" %}
已弃用的旧API文档可以在[这里](https://documenter.getpostman.com/view/10917935/UV5WFK8M)找到。&#x20;
{% endhint %}

{% hint style="info" %}
要激活 API，您需要先验证您的身份。
{% endhint %}

### 基础URL

**`https://apid.iproyal.com/v1/reseller`**

### 授权

为了授权您的API调用，我们会验证 **`X-Access-Token`** 您可以在仪表板的“API”一栏的**设置**页面中找到并重置此令牌。


---

# 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.iproyal.com/cn/dai-li/yun-dong-xie-shu-ju-zhong-xin-dai-li/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.
