# API

{% hint style="danger" %}
自 2025 年 9 月 15 日起，[旧版 API 已弃用](https://documenter.getpostman.com/view/10917935/UV5WFK8M)，不再受支持。请迁移到新版 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/jing-tai-zhu-zhai-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.
