VPN API reference
Everything you need to run a white-label VPN on the Vox network: users, WireGuard & AmneziaWG configs, locations and usage.
Overview
The Vox partner API lets you run your own VPN brand on the Vox network. You create one user per customer, and request a ready-to-use WireGuard®, AmneziaWG or VLESS + Reality configuration whenever that customer connects. We run the servers, capacity and blocked-IP rotation.
Versioning: the API follows semantic versioning. Additive changes (new fields, endpoints or filters) increase the minor version and never break existing integrations — ignore fields you don't know. Breaking changes would get a new base path (/partner/v2) with advance notice.
Authentication
Every request needs an API key in the Authorization header. Partners create and revoke keys in the dashboard under API keys. Keys start with vxk_ and are shown only once.
Authorization: Bearer vxk_your_secret_key- Call the API from your backend only. Never ship a key inside a mobile app, desktop app or web page.
- Use separate keys per environment (e.g. production, staging) so you can revoke one without downtime.
- A revoked key stops working immediately and returns 401 invalid_api_key.
Integration flow
- Customer signs up or paysPOST/users with your own user ID as external_id. Safe to repeat: an existing user is returned with "created": false.
- Customer picks a locationGET/locations — cache the list for up to an hour; filter by country, continent or protocol.
- Customer taps ConnectGET/users/{external_id}/config and load the returned config into your WireGuard / AmneziaWG client, or the vless:// link into your Xray / sing-box client.
- Subscription ends or is refundedPOST/users/{external_id}/suspend — the user is disconnected within seconds. POST/users/{external_id}/resume restores access.
Locations
GET/locations
Lists the locations available to your account. All filters are optional and can be combined.
| Query parameter | Description |
|---|---|
| country | ISO 3166-1 alpha-2 code, comma-separated for several: JP,KR |
| continent | One or more of asia, europe, north-america, south-america, oceania, middle-east, africa |
| protocol | wireguard, amneziawg or vless — only locations that support it |
| q | Case-insensitive text search in name, ID and country code |
{
"locations": [
{
"id": "hk",
"label": "Hong Kong",
"country": "HK",
"country_name": "Hong Kong",
"city": "Hong Kong",
"continent": "asia",
"protocols": [
"wireguard",
"amneziawg"
]
},
{
"id": "jp-tokyo",
"label": "Japan (Tokyo)",
"country": "JP",
"country_name": "Japan",
"city": "Tokyo",
"continent": "asia",
"protocols": [
"wireguard",
"amneziawg"
]
}
]
}Location IDs are stable — store them. A second server in the same city gets a suffix, e.g. jp-tokyo-2.
Users
A user is one of your customers. It has its own keys, works in every location and can use up to 5 devices at the same time (each device gets its own key pair, see Configs). All devices share the user's traffic limit and count as one billable user. Fields:
| Field | Type | Description |
|---|---|---|
| id | integer | Vox user ID |
| external_id | string | Your ID for the customer. 1–80 characters: letters, digits and _ . : @ + -. Unique within your account. |
| label | string | null | Free text for your own reference (max 120) |
| status | string | active or suspended |
| online | boolean | Connected in the last 3 minutes |
| last_seen_at | string | null | Last VPN handshake (UTC, ISO 8601) |
| last_location | string | null | Location of the last connection |
| suspend_reason | string | null | When suspended: partner (you), admin (Vox), traffic_limit, balance or trial_limit (demo limit) |
| traffic_month | object | up_bytes, down_bytes, total_bytes, total_gb for the current calendar month (UTC) |
| traffic_limit_gb | number | null | Monthly traffic limit; null = unlimited |
| devices_used, max_devices | integer | Devices that have requested a config so far, and the per-user maximum (5) |
| created_at, last_config_at | string | UTC timestamps |
| Endpoint | Description |
|---|---|
| POST/users | Create a user. Body {"external_id": "…", "label": "…", "traffic_limit_gb": 50} — all optional (an ID is generated if omitted). Returns {"user": {…}, "created": true|false}. |
| PATCH/users/{external_id} | Change label and/or traffic_limit_gb (0 = unlimited). Only the fields you send are changed. |
| GET/users | List users, newest first. Query: status, limit (1–500, default 100), offset. Returns {"total": n, "items": […]}. |
| GET/users/{external_id} | Get one user. |
| POST/users/{external_id}/suspend | Disconnect and block the user (keys are kept). |
| POST/users/{external_id}/resume | Re-enable a suspended user. |
| DELETE/users/{external_id} | Delete the user and its keys permanently. Returns {"deleted": true}. |
| GET/users/{external_id}/devices | The user's devices: {"max_devices": 5, "devices": [{"device": 1, "last_seen_at", "last_location", "online", "created_at", "last_config_at"}, …]}. |
| DELETE/users/{external_id}/devices/{n} | Reset device n: its keys are revoked on every server and a fresh key pair is issued on the next config request (use when a device is lost or replaced). |
URL-encode external_id in paths when it contains @, + or :.
Configs
GET/users/{external_id}/config
| Query parameter | Description |
|---|---|
| location | Required. A location ID from /locations |
| device | 1 (default) to 5 — which of the user's devices the config is for. Each device number has its own key pair, so a phone and a laptop can be connected to the same location at the same time. Requesting a new number creates the device. |
| protocol | amneziawg (default) — hides VPN traffic from deep packet inspection; wireguard — standard WireGuard; or vless — VLESS + Reality over TCP for networks that block WireGuard-based protocols (see VLESS + Reality) |
| format | json (default); conf — the plain .conf file as text/plain; or link — only the vless:// share link as text/plain (for vless, conf returns the link too) |
{
"account_id": 42,
"external_id": "user-1042",
"device": 1,
"location": "hk",
"location_label": "Hong Kong",
"protocol": "amneziawg",
"endpoint": "203.0.113.10:443",
"config": "[Interface]\nPrivateKey = …\nAddress = 10.11.4.20/32\nDNS = 1.1.1.1\nJc = 4\nJmin = 40\nJmax = 70\nS1 = …\nS2 = …\nH1 = …\nH2 = …\nH3 = …\nH4 = …\n\n[Peer]\nPublicKey = …\nAllowedIPs = 0.0.0.0/0, ::/0\nPersistentKeepalive = 25\nEndpoint = 203.0.113.10:443\n",
"note": "Server IPs can rotate when blocked: fetch a fresh config before connecting."
}The response contains the user's private key: don't log it, send it only to the user's own device over HTTPS, and don't cache it on shared storage. Responses carry Cache-Control: no-store.
VLESS + Reality
Some networks — most notably many Russian mobile and home ISPs — detect WireGuard and AmneziaWG with deep packet inspection and cut the traffic right after the handshake. For those users request protocol=vless. VLESS + Reality runs over TCP and looks like an ordinary HTTPS (TLS 1.3) connection to a well-known website: anyone probing the server without valid credentials is served that website's real certificate.
- Same API, same user. Create, suspend, resume, delete, traffic limits, usage and webhooks work exactly as for WireGuard. VLESS traffic counts toward the same monthly traffic and billing.
- One identity everywhere. Each user gets one VLESS UUID that works on every location listing vless in its protocols (GET /locations?protocol=vless). The first VLESS config for a user can take 1–3 s.
- Instant cut-off. Suspending or deleting a user closes their open VLESS connections within seconds.
- Speed. TCP-based, so usually a little slower than WireGuard on good networks; offer it as the option for networks where WireGuard / AmneziaWG don't work, or let your app fall back to it automatically.
{
"account_id": 42,
"external_id": "user-1042",
"location": "de-frankfurt",
"location_label": "Germany (Frankfurt)",
"protocol": "vless",
"endpoint": "203.0.113.20:8443",
"config": "vless://3f2a…-…@203.0.113.20:8443?encryption=none&flow=xtls-rprx-vision&security=reality&sni=www.microsoft.com&fp=chrome&pbk=…&sid=…&type=tcp&headerType=none#Germany%20(Frankfurt)",
"vless": {
"address": "203.0.113.20",
"port": 8443,
"uuid": "3f2a…",
"flow": "xtls-rprx-vision",
"encryption": "none",
"network": "tcp",
"security": "reality",
"sni": "www.microsoft.com",
"fingerprint": "chrome",
"public_key": "…",
"short_id": "…"
},
"xray_outbound": {
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "203.0.113.20",
"port": 8443,
"users": [
{
"id": "3f2a…",
"encryption": "none",
"flow": "xtls-rprx-vision"
}
]
}
]
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"serverName": "www.microsoft.com",
"fingerprint": "chrome",
"publicKey": "…",
"shortId": "…"
}
}
},
"singbox_outbound": {
"type": "vless",
"tag": "proxy",
"server": "203.0.113.20",
"server_port": 8443,
"uuid": "3f2a…",
"flow": "xtls-rprx-vision",
"tls": {
"enabled": true,
"server_name": "www.microsoft.com",
"utls": {
"enabled": true,
"fingerprint": "chrome"
},
"reality": {
"enabled": true,
"public_key": "…",
"short_id": "…"
}
}
},
"note": "Server IPs can rotate when blocked: fetch a fresh config before connecting."
}| Field | Use it for |
|---|---|
| config | The vless:// share link. Show it as a QR code or a deep link — users import it in v2rayNG, Hiddify, Streisand, NekoBox, v2RayTun, Happ, FoXray and other Xray / sing-box clients. Ideal for Telegram bots. |
| vless | Raw connection parameters, if you build the client configuration yourself. |
| xray_outbound | A ready outbound object for an app built on Xray-core (add your own inbound, e.g. a TUN or SOCKS inbound). |
| singbox_outbound | A ready outbound object for an app built on sing-box. |
curl "https://api.vox-vpn.com/partner/v1/users/tg-123456/config?location=de-frankfurt&protocol=vless&format=link" \
-H "Authorization: Bearer $VOX_KEY"
# → vless://… (plain text, one line)Traffic & limits
We meter every user's traffic on our servers (both directions, all locations). Numbers update about once a minute and are kept per UTC day. 1 GB = 109 bytes.
GET/users/{external_id}/traffic
Daily breakdown for one user. Query: days (1–90, default 30).
{
"external_id": "user-1042",
"days": 2,
"daily": [
{
"date": "2026-10-10",
"up_bytes": 120400000,
"down_bytes": 2310000000,
"total_bytes": 2430400000,
"locations": {
"Hong Kong": 2430400000
}
}
],
"month": {
"up_bytes": 820000000,
"down_bytes": 15900000000,
"total_bytes": 16720000000,
"total_gb": 16.72
}
}Monthly traffic limit
- Set traffic_limit_gb when creating a user or with PATCH /users/{external_id}.
- When a user reaches the limit it is suspended automatically (suspend_reason: "traffic_limit") and you receive user.traffic_limit_reached.
- It is re-enabled automatically at the start of the next month (UTC), or immediately if you raise the limit above its current usage.
- Metering runs about once a minute, so a user can go slightly over the limit before being cut off.
Usage
GET/usage
{
"accounts": 1250,
"active_accounts": 1180,
"suspended_accounts": 70,
"max_accounts": 5000,
"online_now": 214,
"active_24h": 903,
"billable_this_month": 1102,
"month": "2026-10",
"locations_24h": [
{
"location": "Hong Kong",
"accounts": 402
},
{
"location": "Japan (Tokyo)",
"accounts": 233
}
]
}billable_this_month counts users that connected at least once this calendar month (UTC) and is for reporting only — billing is based on active status, see Billing. /usage also returns traffic_month and traffic_today.
GET/usage/daily
Your total traffic and number of active users per day. Query: days (1–90, default 30). Returns {"days": 30, "daily": [{"date", "up_bytes", "down_bytes", "total_bytes", "active_users"}, …]}.
GET · GET/changelog
The root returns the API version and your partner ID (useful as a key check). /changelog is public and needs no key.
Billing & credit
Billing is prepaid credit. Every active user (status active, whether or not it connected) is charged continuously for the time it is active — monthly rate ÷ days in the month per day, deducted from your balance about every minute. Suspended or deleted users cost nothing. Your number of active users sets one wholesale rate for all of them — this is not progressive pricing.
| Active users | Per user / month |
|---|---|
| 1 – 999 | $1.49 |
| 1,000 – 24,999 | $0.89 |
| 25,000 – 49,999 | $0.84 |
| 50,000 – 99,999 | $0.79 |
| 100,000 – 249,999 | $0.74 |
| 250,000 – 499,999 | $0.69 |
| 500,000+ | Custom |
Demo accounts. New partners start in demo mode with demo credit worth 10 users for one month ($14.90), charged exactly like real credit (demo: true and a trial object on GET /billing). Demo limits: 10 users at a time and 20 created in total, 2 devices per user, 10 GB per user and 100 GB in total. A user that reaches its limit is suspended with suspend_reason: trial_limit; when the total is reached all users are suspended and you receive partner.trial_limit_reached. Your account manager moves the account to live (partner.live); remaining demo credit is removed and the limits no longer apply.
Your balance may go negative by up to 10% of your last top-up (credit line, overdraft_cents). When it passes that limit, all active users are suspended with suspend_reason: balance; POST /users and POST /users/{external_id}/resume then return 403 insufficient_balance. Once a top-up brings the balance above $0.00 those users are resumed automatically (user.resumed with reason: balance_restored). Credit is added from the dashboard under Billing.
GET/billing
{
"billing_mode": "credit",
"billing_interval": "continuous",
"balance_cents": 18250,
"currency": "USD",
"last_topup_cents": 50000,
"overdraft_pct": 10,
"overdraft_cents": 5000,
"available_cents": 23250,
"in_pilot": false,
"pilot_until": null,
"pilot_days_left": 0,
"pilot_accounts": 10,
"account_limit": null,
"active_accounts": 1180,
"rate_cents": 89,
"custom_rate": false,
"tier": {
"min_accounts": 1000,
"max_accounts": 24999,
"rate_cents": 89
},
"next_tier": {
"min_accounts": 25000,
"max_accounts": 49999,
"rate_cents": 84
},
"daily_cost_cents": 3501,
"days_left": 6,
"charged_month_cents": 10503,
"total_topups_cents": 50000,
"charged_through": "2026-11-05T14:32:00Z",
"suspended_for_balance": false,
"can_activate": true,
"tiers": [
"…"
]
}daily_cost_cents is the cost of one day at the current number of active users; available_cents is balance + overdraft and days_left is available ÷ daily cost (null when nothing is charged). charged_through is the time up to which usage has been deducted. Poll this endpoint or subscribe to the partner.* webhooks to top up before the balance runs out.
Webhooks
Add an HTTPS endpoint in the dashboard under Webhooks and choose the events you want. We send a POST with a JSON body and expect any 2xx response within 10 seconds.
| Event | When |
|---|---|
| user.created | A user was created |
| user.updated | Label or traffic limit changed |
| user.suspended | Suspended by you, by Vox, by the traffic limit or by a zero balance (reason: partner, admin, traffic_limit, balance) |
| user.resumed | Re-enabled (reason: partner, admin, monthly_reset, traffic_limit_raised, balance_restored) |
| user.deleted | A user was deleted |
| user.traffic_limit_reached | Monthly limit used up — includes used_bytes and limit_bytes |
| location.endpoint_changed | A location moved to a new IP (usually after a block). Fetch fresh configs for users of that location. |
| partner.low_balance | Balance covers only a few more days — includes balance_cents, daily_cost_cents, days_left |
| partner.balance_exhausted | Balance reached zero; all active users were suspended (suspended_accounts) |
| partner.balance_restored | Credit was added after exhaustion; suspended users were resumed (resumed_accounts) |
| partner.credit_added | Credit was added to your balance (amount_cents, balance_cents, method) |
| partner.trial_limit_reached | Demo traffic limit reached — all active users were suspended (used_bytes, limit_bytes) |
| partner.live | Your account was moved from demo to live |
| partner.pilot_ending | Your free pilot ends in a few days (pilot_until) |
| partner.pilot_ended | Your free pilot has ended — daily billing starts |
Content-Type: application/json
X-Vox-Event: user.traffic_limit_reached
X-Vox-Event-Id: evt_3f9c…
X-Vox-Signature: t=1760140800,v1=5b2d…
{
"id": "evt_3f9c…",
"type": "user.traffic_limit_reached",
"created": "2026-10-11T08:00:00Z",
"api_version": "1.7.0",
"data": {
"user": {
"external_id": "user-1042",
"status": "suspended",
"suspend_reason": "traffic_limit",
"…": "…"
},
"used_bytes": 50012000000,
"limit_bytes": 50000000000
}
}Verifying the signature
Compute HMAC-SHA256(secret, t + "." + raw_body) as hex and compare it with v1 in constant time. Reject the request if they differ or if t is more than 5 minutes old. Use the raw request body exactly as received.
app.post("/vox/webhook", express.raw({ type: "application/json" }), (req, res) => {
const sig = Object.fromEntries(req.get("X-Vox-Signature").split(",").map(p => p.split("=")));
const expected = crypto.createHmac("sha256", process.env.VOX_WEBHOOK_SECRET)
.update(`${sig.t}.${req.body}`).digest("hex");
const fresh = Math.abs(Date.now() / 1000 - Number(sig.t)) < 300;
if (!fresh || !crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(sig.v1))) return res.sendStatus(400);
const event = JSON.parse(req.body);
// handle event.type …
res.sendStatus(200);
});import hmac, hashlib, time
def verify(secret: str, header: str, raw_body: bytes) -> bool:
parts = dict(p.split("=", 1) for p in header.split(","))
expected = hmac.new(secret.encode(), f"{parts['t']}.".encode() + raw_body, hashlib.sha256).hexdigest()
return abs(time.time() - int(parts["t"])) < 300 and hmac.compare_digest(expected, parts["v1"])$raw = file_get_contents("php://input");
parse_str(str_replace(",", "&", $_SERVER["HTTP_X_VOX_SIGNATURE"] ?? ""), $sig);
$expected = hash_hmac("sha256", $sig["t"] . "." . $raw, getenv("VOX_WEBHOOK_SECRET"));
if (abs(time() - (int) $sig["t"]) > 300 || !hash_equals($expected, $sig["v1"] ?? "")) { http_response_code(400); exit; }
$event = json_decode($raw, true);- Retries: failed deliveries are retried after 30 s, 2 min, 10 min, 30 min, 2 h, 6 h, 12 h and 24 h. You can resend any event from the dashboard.
- Ordering & duplicates: events may arrive out of order or more than once — use id to de-duplicate and fetch the current state from the API when order matters.
- After 200 failed deliveries in a row the webhook is turned off; save it again in the dashboard to re-enable it.
- The endpoint must be a public HTTPS URL; redirects are not followed.
Errors & limits
Errors return a non-2xx status and a JSON body {"detail": "error_code"}. Match on the code, not on the message.
| Status | detail | What to do |
|---|---|---|
| 400 | invalid_external_id · bad_protocol · protocol_unavailable · bad_status · bad_traffic_limit | Fix the request. |
| 401 | invalid_api_key | Missing, wrong or revoked key. |
| 403 | account_limit_reached · account_suspended · partner_suspended · insufficient_balance · trial_traffic_limit · trial_account_limit · trial_device_limit | Not allowed in the current state (e.g. the pilot account limit) — contact your account manager. |
| 404 | account_not_found · location_not_found | Unknown user, or a location not enabled for your account. |
| 422 | (validation list) | Missing required parameter, e.g. location. |
| 429 | rate_limited | Slow down; retry after a short backoff. |
| 503 | temporarily_unavailable | Retry with exponential backoff (1 s, 2 s, 4 s…). |
- Rate limit: 600 requests per minute per partner (all keys together); config requests 120 per minute. Ask us if you need more.
- Timeouts: most calls answer in under 100 ms. The first config for a user in a new location can take 1–3 s while the server is prepared — use a 15 s client timeout.
- Idempotency: POST /users, suspend and resume are safe to retry.
Code examples
# Create (or fetch) the user
curl -X POST https://api.vox-vpn.com/partner/v1/users \
-H "Authorization: Bearer $VOX_KEY" -H "Content-Type: application/json" \
-d '{"external_id": "user-1042", "label": "jane@example.com"}'
# AmneziaWG config for Hong Kong as a .conf file
curl "https://api.vox-vpn.com/partner/v1/users/user-1042/config?location=hk&protocol=amneziawg&format=conf" \
-H "Authorization: Bearer $VOX_KEY" -o user-1042-hk.conf
# VLESS + Reality share link for Frankfurt (for networks that block WireGuard)
curl "https://api.vox-vpn.com/partner/v1/users/user-1042/config?location=de-frankfurt&protocol=vless&format=link" \
-H "Authorization: Bearer $VOX_KEY"const BASE = "https://api.vox-vpn.com/partner/v1";
const headers = { Authorization: `Bearer ${process.env.VOX_KEY}`, "Content-Type": "application/json" };
async function vox(path, init = {}) {
const r = await fetch(BASE + path, { ...init, headers });
const body = await r.json();
if (!r.ok) throw new Error(`${r.status} ${body.detail}`);
return body;
}
await vox("/users", { method: "POST", body: JSON.stringify({ external_id: "user-1042" }) });
const { config } = await vox("/users/user-1042/config?location=hk&protocol=amneziawg");import os, requests
BASE = "https://api.vox-vpn.com/partner/v1"
S = requests.Session()
S.headers["Authorization"] = f"Bearer {os.environ['VOX_KEY']}"
S.post(f"{BASE}/users", json={"external_id": "user-1042"}, timeout=15).raise_for_status()
r = S.get(f"{BASE}/users/user-1042/config",
params={"location": "hk", "protocol": "amneziawg"}, timeout=15)
r.raise_for_status()
config_text = r.json()["config"]$ch = curl_init("https://api.vox-vpn.com/partner/v1/users/user-1042/config?location=hk&protocol=wireguard");
curl_setopt_array($ch, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("VOX_KEY")],
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 15,
]);
$res = json_decode(curl_exec($ch), true);
$config = $res["config"] ?? null;Client apps
WireGuard configs work with the official WireGuard apps and libraries on every platform. AmneziaWG configs need an AmneziaWG-capable client: the AmneziaVPN / AmneziaWG apps, or the open-source amneziawg-go, amneziawg-android and amneziawg-apple libraries for your own app. Both protocols use the same keys, so you can offer AmneziaWG in censored networks and WireGuard everywhere else.
VLESS + Reality links work with Xray- and sing-box-based clients: v2rayNG and Hiddify (Android), Streisand, v2RayTun, Happ and FoXray (iOS / macOS), Hiddify and NekoBox (Windows, macOS, Linux). For your own app embed Xray-core (e.g. via libXray) or sing-box (libbox) and use the returned outbound object.
Location list
| id | Location | Country | Continent | Protocols |
|---|---|---|---|---|
| au-sydney | Australia (Sydney) | AU | oceania | wireguard, amneziawg, vless |
| br-sao-paulo | Brazil (São Paulo) | BR | south-america | wireguard, amneziawg, vless |
| ca-montreal | Canada (Montreal) | CA | north-america | wireguard, amneziawg, vless |
| fr-paris | France (Paris) | FR | europe | wireguard, amneziawg, vless |
| de-frankfurt | Germany (Frankfurt) | DE | europe | wireguard, amneziawg, vless |
| hk | Hong Kong | HK | asia | wireguard, amneziawg, vless |
| in-mumbai | India (Mumbai) | IN | asia | wireguard, amneziawg, vless |
| id-jakarta | Indonesia (Jakarta) | ID | asia | wireguard, amneziawg, vless |
| ie-dublin | Ireland (Dublin) | IE | europe | wireguard, amneziawg, vless |
| jp-tokyo | Japan (Tokyo) | JP | asia | wireguard, amneziawg, vless |
| jp-tokyo-2 | Japan (Tokyo) 2 | JP | asia | wireguard, amneziawg, vless |
| sg | Singapore | SG | asia | wireguard, amneziawg, vless |
| kr-seoul | South Korea (Seoul) | KR | asia | wireguard, amneziawg, vless |
| se-stockholm | Sweden (Stockholm) | SE | europe | wireguard, amneziawg, vless |
| gb-london | United Kingdom (London) | GB | europe | wireguard, amneziawg, vless |
| us-ohio | United States (Ohio) | US | north-america | wireguard, amneziawg, vless |
| us-oregon | United States (Oregon) | US | north-america | wireguard, amneziawg, vless |
| us-oregon-2 | United States (Oregon) 2 | US | north-america | wireguard, amneziawg, vless |
| us-virginia | United States (Virginia) | US | north-america | wireguard, amneziawg, vless |
Data & privacy
Vox is a GDPR Art. 28 processor for your end users' data. We store only what the tunnel needs (your external_id, key pairs, last handshake time, daily traffic volume) and no end-user IP addresses or browsing data. The full data inventory with retention periods, the subprocessor list and the Data Processing Agreement are published at vox-vpn.com/partner-dpa.
Changelog
- Demo accounts: new partners start in demo mode with demo credit worth 10 users for one month, deducted like real credit. Demo limits: 10 users at a time (20 created in total), 2 devices per user, 10 GB per user and 100 GB in total. GET /billing includes demo and a trial object with limits and usage.
- New error codes: 403 trial_traffic_limit, trial_account_limit and trial_device_limit; users suspended by a demo limit report suspend_reason trial_limit.
- New webhooks: partner.trial_limit_reached and partner.live (account moved from demo to live).
- Usage is now deducted continuously (about every minute) instead of once per UTC day; charged_through on GET /billing is a UTC timestamp.
- Credit line: the balance may go negative by up to 10% of your last top-up before active users are suspended (new fields overdraft_cents, overdraft_pct, available_cents, last_topup_cents, billing_interval). Suspended users resume automatically once the balance is above $0.00.
- account_limit is null for prepaid partners: there is no account cap outside the free pilot.
- Up to 5 devices per user: pass device=1…5 on GET /users/{external_id}/config to get a separate key pair for each of the customer's devices (phone, laptop, TV…). All devices of a user can be connected at the same time, share the user's traffic limit and count as one billable user.
- Users now include devices_used and max_devices; new GET /users/{external_id}/devices lists each device's last connection, and DELETE /users/{external_id}/devices/{n} resets a device (new keys on next config).
- Prepaid credit billing: each active user is charged daily (monthly rate ÷ days in the month) from your balance; suspended or deleted users cost nothing. Your volume sets one wholesale rate for every active user ($1.49 for 1–999, $0.89 from 1,000, down to $0.69 at 250,000+).
- New GET /billing: balance, current rate and tier, daily cost, estimated days left, pilot status and the full rate table.
- Free 30-day pilot with 10 users for every new partner; no charges during the pilot.
- When the balance reaches zero all active users are suspended (suspend_reason balance) and POST /users and /resume return 403 insufficient_balance until credit is added; they are re-enabled automatically after a top-up (user.resumed with reason balance_restored).
- New webhooks: partner.low_balance, partner.balance_exhausted, partner.balance_restored, partner.credit_added, partner.pilot_ending, partner.pilot_ended.
- New protocol vless (VLESS + Reality over TCP): traffic looks like an ordinary HTTPS connection to a well-known website, so it keeps working on networks that block WireGuard and AmneziaWG with DPI (for example in Russia). Request it with protocol=vless on GET /users/{external_id}/config.
- vless configs return a vless:// share link (works in v2rayNG, Hiddify, Streisand, NekoBox, v2RayTun, Happ and other Xray / sing-box clients) plus the raw connection parameters and ready-made Xray and sing-box outbound objects for your own app.
- GET /locations lists vless in protocols where it is available; filter with protocol=vless.
- New format=link on the config endpoint returns only the plain-text share link.
- One VLESS identity per user works on every vless location; suspending or deleting the user disconnects VLESS sessions within seconds, and VLESS traffic counts toward traffic limits and usage.
- Traffic metering: users now include traffic_month (up/down/total bytes) and GET /usage includes traffic totals.
- New GET /users/{external_id}/traffic and GET /usage/daily for daily traffic breakdowns.
- Monthly traffic limits per user (traffic_limit_gb on POST /users and the new PATCH /users/{external_id}); users are suspended automatically when the limit is reached and re-enabled at the start of the next month.
- Webhooks: user.created, user.updated, user.suspended, user.resumed, user.deleted, user.traffic_limit_reached and location.endpoint_changed, signed with HMAC-SHA256.
- Suspended users now report suspend_reason (partner, admin or traffic_limit).
- GET /locations: new filters country, continent, protocol and q (text search).
- Locations now include country, city and continent fields.
- New GET /partner/v1 and GET /changelog endpoints; every response carries an X-Vox-API-Version header.
- Suspending or deleting an account now disconnects it within seconds.
- Config requests are limited to 120 per minute per partner (other endpoints: 600 per minute).
- First release: accounts (create, list, get, suspend, resume, delete), WireGuard and AmneziaWG configs, locations and usage.