Authentication and base URL
The Reseller API base URL, how to send your rslr_ bearer token, required headers, and a quick authenticated request to confirm your key works.
All Reseller API requests go to a single versioned base URL and are authenticated with your rslr_ key sent as a Bearer token in the Authorization header.
Base URL
Every path in this documentation is relative to that base. For example, GET /account means GET https://control.victuscloud.com/api/reseller/v1/account.
Required headers
| Header | Value | Notes |
|---|---|---|
| Authorization | Bearer rslr_your_key_here | Required on every request. |
| Accept | application/json | Responses are always JSON. |
| Content-Type | application/json | Required on POST/PUT requests with a body. |
Confirm your key works
A successful call returns your account details and current credit balance inside a data object. Store the key in an environment variable rather than hard-coding it:
Getting 401 Unauthorized?
Check that the header is exactly Authorization: Bearer rslr_... (with the word Bearer and a space), that the key was copied in full, and that it has not been revoked on the Reseller API page.
Always use HTTPS
Only call the API over HTTPS. Never send your key over plain HTTP or embed it in a URL query string where it can be logged.