> For the complete documentation index, see [llms.txt](https://docs.iproyal.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.iproyal.com/proxies/datacenter/api.md).

# API

{% hint style="danger" %}
As of September 15, 2025, the [legacy API](https://documenter.getpostman.com/view/10917935/UV5WFK8M) has been deprecated and is no longer supported. Please migrate to the new API to ensure uninterrupted service.
{% endhint %}

### Base URL

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

### Authorization

To authorize your API calls, we validate the **`X-Access-Token`** header. You can find and reset this token on the dashboard's **Settings** page in the 'API' section.


---

# 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://docs.iproyal.com/proxies/datacenter/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.
