Entwickler API v1
Dein Shop als API
Jede Aktion des Reseller-Admins und des Kundenpanels als JSON über HTTPS: Baue dein eigenes Kundenpanel, synchronisiere die Abrechnung, betreibe einen Discord-Bot oder lass Claude deinen Shop über MCP verwalten.
{ "signal": "restart" }Übersicht
Die API spricht JSON über HTTPS. Es gibt zwei Arten von Schlüsseln: Reseller-Schlüssel handeln für dein Team im Admin, Kunden-Schlüssel handeln für einen Kunden auf dessen eigenen Servern. Beide funktionieren über zwei Basis-URLs:
https://<your store host>/api/v1- Deine Shop-Adresse (zum Beispiel aurora.enzonic.dev oder deine eigene Domain). Der Schlüssel muss zu diesem Shop gehören.
https://reseller.enzonic.com/api/v1- Die Plattformadresse. Der Schlüssel bestimmt den Shop, praktisch für Tools, die mehrere Shops bedienen.
Ideen, die heute funktionieren:
- Ein Discord-Bot, der Server startet, stoppt und neu startet und Konsolenbefehle für deine Spieler postet.
- Abrechnungsanbindung: Kunden anlegen, ihnen Server über Zuweisungen geben, Bestellungen und Rechnungen in deine Buchhaltung übernehmen.
- Ein eigenes Kundenpanel auf Basis der Kundenschlüssel, mit denselben Berechtigungen wie das integrierte.
- Claude im Terminal oder auf dem Desktop beantwortet über MCP die Frage „Welche Server sind gesperrt?“
Schnellstart
Erstelle einen Schlüssel und rufe dann /me auf, um ihn zu prüfen und deine Server aufzulisten.
- Öffne in deinem Admin API & MCP und erstelle einen Schlüssel. Wähle für den ersten Versuch die Vorlage „Read only“.
- Kopiere den Schlüssel, wenn er angezeigt wird: Er wird nur einmal angezeigt und nur als Hash gespeichert.
- Sende ihn als Bearer-Token:
export ENZONIC_API_KEY="enz_live_..." # from Admin > API & MCP
curl https://reseller.enzonic.com/api/v1/me -H "Authorization: Bearer $ENZONIC_API_KEY"
curl "https://reseller.enzonic.com/api/v1/servers?limit=10" -H "Authorization: Bearer $ENZONIC_API_KEY"const API = 'https://reseller.enzonic.com/api/v1';
const headers = { Authorization: `Bearer ${process.env.ENZONIC_API_KEY}` };
const me = await fetch(`${API}/me`, { headers }).then((r) => r.json());
console.log(me.data.store.name, me.data.key.active_scopes);
let cursor = null;
do {
const url = new URL(`${API}/servers`);
if (cursor) url.searchParams.set('cursor', cursor);
const page = await fetch(url, { headers }).then((r) => r.json());
for (const s of page.data) console.log(s.id, s.name, s.status);
cursor = page.next_cursor;
} while (cursor);import os, requests
API = "https://reseller.enzonic.com/api/v1"
s = requests.Session()
s.headers["Authorization"] = f"Bearer {os.environ['ENZONIC_API_KEY']}"
me = s.get(f"{API}/me").json()["data"]
print(me["store"]["name"], me["key"]["active_scopes"])
cursor = None
while True:
page = s.get(f"{API}/servers", params={"cursor": cursor} if cursor else {}).json()
for srv in page["data"]:
print(srv["id"], srv["name"], srv["status"])
cursor = page["next_cursor"]
if not cursor:
breakAuthentifizierung
Jede Anfrage mit dem Header senden Authorization: Bearer enz_live_<key id>_<secret>. Cookies werden auf /api/v1 nie gelesen. Deshalb kann eine angemeldete Browser-Sitzung die API nicht aufrufen, und es wird kein CSRF-Token benötigt.
Reseller-Schlüssel
Erstellt unter Admin > API & MCP von jedem mit der Team-Berechtigung. Ein Schlüssel handelt als das Teammitglied, das ihn erstellt hat, und kann nur Scopes haben, die dieses Mitglied besitzt.
Scopes werden bei jeder Anfrage gegen den Ersteller geprüft. Verliert er eine Berechtigung, funktioniert der passende Scope nicht mehr. Verlässt er das Team, funktioniert der Schlüssel nicht mehr.
Kundenschlüssel
Von einem Kunden unter Konto > API erstellt. Sie haben nur Server-Scopes und greifen auf die Server zu, die dieser Kunde besitzt oder denen er hinzugefügt wurde, mit denselben serverbezogenen Berechtigungen wie im Panel.
- Optionales Ablaufdatum, IP-Allowlist (Adressen oder CIDR-Ranges) und erlaubte Browser-Origins pro Schlüssel.
- CORS ist standardmäßig aus: Eine Browser-Anfrage mit einem Origin, den der Schlüssel nicht aufführt, wird mit origin_not_allowed abgelehnt.
- Das Widerrufen eines Schlüssels wirkt bei der nächsten Anfrage, einschließlich Download-Links und MCP-Sitzungen.
Scopes
Lesen und Schreiben sind getrennt. Die Spalte Teamberechtigung zeigt, was der Ersteller des Schlüssels besitzen muss.
| Scope | Erlaubt | Team-Berechtigung | Kundenschlüssel |
|---|---|---|---|
servers:read | Server auflisten, Details, Ressourcennutzung und Software lesen. | servers.read | Ja |
servers:write | Server umbenennen, neu installieren, Software ändern, sperren, entsperren und löschen. | servers | Ja |
servers:power | Server starten, stoppen, neu starten und erzwungen beenden. | servers | Ja |
servers:console | Sende Konsolenbefehle und öffne die Live-Konsole. | servers | Ja |
servers:files | Dateien auflisten, lesen, schreiben, hochladen, herunterladen, umbenennen, komprimieren und löschen. | servers | Ja |
servers:backups | Backups auflisten, erstellen, wiederherstellen, herunterladen und löschen. | servers | Ja |
servers:users | Add, change and remove sub-users of a server. | servers | Ja |
customers:read | Kundenkonten auflisten und lesen. | customers.read | Nein |
customers:write | Kunden erstellen, aktualisieren, sperren und entsperren. | customers | Nein |
plans:read | Tarife und Preise auflisten und lesen. | plans.read | Nein |
plans:write | Tarife erstellen, aktualisieren und löschen, mit denselben Preisregeln wie im Admin. | plans | Nein |
orders:read | Bestellungen und Abonnements. | billing.read | Nein |
orders:write | Create orders (payment links), cancel, resume and change the plan of subscriptions. | billing | Nein |
invoices:read | Kundenrechnungen. | billing.read | Nein |
billing:read | Auszahlungsstatus und Umsatzzahlen. | billing.read | Nein |
credits:read | Guthabensaldo und Buchungsjournal. | billing.read | Nein |
flex:read | Flex prices, customer Flex balances, usage and Flex servers. | billing.read | Nein |
flex:write | Flex prices, top-up links, balance adjustments and creating, resizing and deleting Flex servers. | billing | Nein |
vps:read | VPS plans and prices, orders, VPS details, usage graphs, traffic and backups. | servers.read | Nein |
vps:write | Retail prices, creating, reinstalling, resizing, moving, suspending and deleting VPS, backups, IP add-ons and SSH keys. | servers | Nein |
vps:power | Start, stop, restart and kill VPS, and rescue mode. | servers | Nein |
vps:console | Open VNC console and web terminal sessions and reset root passwords. | servers | Nein |
domains:read | Eigene Domains und ihr Prüfstatus. | domains.read | Nein |
domains:write | Eigene Domains hinzufügen, prüfen und entfernen. | domains | Nein |
nodes:read | Deine eigenen Nodes und ihr Status. | nodes.read | Nein |
nodes:write | Füge deine eigenen Nodes hinzu und prüfe ihre Verbindung. | nodes | Nein |
site:read | Shop-Seiten, Entwürfe und veröffentlichte Inhalte. | branding.read | Nein |
site:write | Seitenentwürfe bearbeiten und Seiten veröffentlichen. | branding | Nein |
software:read | Der Software-Katalog und welche Einträge dein Shop anbietet. | plans.read | Nein |
software:write | Schalte Software für deinen Shop ein oder aus. | plans | Nein |
webhooks:write | Webhook-Endpunkte erstellen, aktualisieren, testen und löschen. | team | Nein |
Seitennummerierung, Fehler und Limits
Seitennummerierung
Listen akzeptieren limit (1 bis 100, Standard 50) und cursor. Die Antwort ist { "data": [...], "next_cursor": "..." }; Gib next_cursor zurück, um die nächste Seite zu laden. Auf der letzten Seite ist er null.
Fehler
Jeder Fehler hat dieselbe Struktur. Verzweige anhand von code. message ist für Menschen gedacht und kann sich ändern.
{
"error": {
"code": "insufficient_scope",
"message": "Dieser Endpunkt braucht den Scope servers:power.",
"details": {
"required_scope": "servers:power"
}
}
}| Code | HTTP | Bedeutung |
|---|---|---|
unauthenticated | 401 | No API key was sent. Use the header Authorization: Bearer <key>. |
invalid_key | 401 | The API key is not valid. |
key_revoked | 401 | The API key was revoked. |
key_expired | 401 | The API key has expired. |
tenant_mismatch | 401 | The API key belongs to another store than this host. |
key_owner_inactive | 401 | The account that owns this API key is no longer active. |
ip_not_allowed | 403 | Requests from this IP address are not allowed for this key. |
origin_not_allowed | 403 | Browser requests from this origin are not allowed for this key. |
insufficient_scope | 403 | The API key does not have the scope this endpoint needs. |
team_2fa_required | 403 | Your team requires two-factor authentication: the key owner must turn it on. |
forbidden | 403 | You do not have permission to do that. |
not_found | 404 | Not found. |
route_not_found | 404 | There is no endpoint at this path. See /api/v1/openapi.json. |
method_not_allowed | 405 | This endpoint does not accept that HTTP method. |
conflict | 409 | The request conflicts with the current state. |
idempotency_in_progress | 409 | A request with this Idempotency-Key is still running. |
idempotency_key_reused | 422 | This Idempotency-Key was already used with a different request. |
unsupported_media_type | 415 | Send JSON with Content-Type: application/json. |
invalid_json | 400 | The request body is not valid JSON. |
validation_failed | 422 | Some fields are missing or invalid. |
rate_limited | 429 | Too many requests. Wait for the time in Retry-After. |
node_error | 502 | The server node had a problem with this request. |
site_unavailable | 503 | This store is not available right now. |
internal | 500 | Something went wrong on our side. |
Endpoints können auch Codes der Aktion selbst zurückgeben, etwa server_suspended oder backup_locked, mit einer Nachricht, was zu tun ist.
Idempotenz
POST-Anfragen, die etwas anlegen, akzeptieren einen Idempotency-Key-Header (beliebiger sichtbarer Text bis 255 Zeichen, eine UUID ist ideal). Innerhalb von 24 Stunden wird bei gleichem Schlüssel und gleicher Anfrage die erste Antwort erneut zurückgegeben, mit Idempotent-Replayed: true, und nichts wird doppelt angelegt. Derselbe Schlüssel mit einer anderen Anfrage wird mit idempotency_key_reused abgelehnt.
Ratenlimits
- 600 Anfragen pro 5 Minuten und Schlüssel
- 60 Schreibvorgänge pro 1 Minute
- 20 Energie-Aktionen, 30 Konsolenbefehle und 30 Dateischreibvorgänge pro Minute
Jede Antwort enthält X-RateLimit-Limit, X-RateLimit-Remaining und X-RateLimit-Reset. Bei Überschreitung des Limits erhältst du 429 rate_limited mit Retry-After in Sekunden.
Zeit, Geld und IDs
Zeiten sind ISO 8601 in UTC. Beträge sind ganzzahlige Cent-Werte mit kleingeschriebener Währung, zum Beispiel { "amount": 1500, "currency": "usd" }. IDs sind undurchsichtige Zeichenketten mit einem Präfix (srv_, usr_, pln_...). Parse sie nie.
Endpoint-Referenz
Jeder Endpoint, erzeugt aus derselben Liste, die die API und der MCP-Server verwenden. Öffne einen, um Parameter und Beispiele zu sehen.
Kein Endpunkt passt zu diesem Filter. Probier einen Ressourcennamen wie servers oder invoices.
Key and account
GET/meShow the calling key, its working scopes and its store
- Scopejeder gültige Schlüssel
- SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
me_get
Use this to check a key. `active_scopes` lists what the key can do right now; a reseller key loses a scope when its creator loses the matching team permission.
Parameter
Keine Parameter.
Anfrage
curl 'https://reseller.enzonic.com/api/v1/me' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"key": {
"id": "key_7f3kq9m2x8c4v6b1",
"kind": "reseller",
"name": "Billing sync",
"scopes": [
"servers:read",
"customers:read"
],
"active_scopes": [
"servers:read",
"customers:read"
],
"expires_at": null,
"created_at": "2026-10-19T09:30:00.000Z"
},
"store": {
"id": "ten_aurora0000000000",
"slug": "aurora",
"name": "Aurora Hosting",
"status": "active",
"currency": "usd",
"url": "https://aurora.enzonic.dev"
},
"user": {
"id": "usr_0h2k4m6p8r0t2v4x",
"name": "Aurora Owner",
"email": "owner@aurora.test",
"role": "owner"
}
}
}Server
GET/serversList servers
- Scope
servers:read - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_list
Reseller keys see every server of the store (filter by `customer_id` or `status`). Customer keys see the servers the customer owns or was added to as a user.
Parameter
limitQueryintegerPage size, 1 to 100 (default 50).Standard 50min. 1 · max. 100cursorQuerystring`next_cursor` from the previous page.bis zu 200 Zeichencustomer_idQuerystringOnly servers of this customer (reseller keys).bis zu 40 ZeichenstatusQuerystringEines von "installing", "install_failed", "reinstall_failed", "active", "suspended", "restoring_backup", "deleting"Anfrage
curl 'https://reseller.enzonic.com/api/v1/servers' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"id": "srv_7f3kq9m2x8c4v6b1",
"name": "Survival SMP",
"description": "",
"status": "active",
"customer_id": "usr_2b4d6f8h0j2l4n6q",
"plan_id": "pln_3c5e7g9j1l3n5p7r",
"address": "survival.aurora.enzonic.dev",
"limits": {
"ram_mb": 6144,
"cpu_pct": 200,
"disk_mb": 30720,
"databases": 1,
"backups": 2,
"allocations": 1
},
"suspended_at": null,
"installed_at": "2026-10-01T12:00:00.000Z",
"created_at": "2026-10-01T11:58:00.000Z",
"access": "admin"
}
],
"next_cursor": null
}GET/servers/{server_id}Get a server
- Scope
servers:read - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_get
Details, software and the permissions the key's user holds on this server.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/servers/{server_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "string",
"name": "string",
"description": "string",
"status": "string",
"customer_id": "string",
"plan_id": "string",
"address": "string",
"limits": {
"ram_mb": 0,
"cpu_pct": 0,
"disk_mb": 0,
"databases": 0,
"backups": 0,
"allocations": 0
},
"suspended_at": "string",
"installed_at": "string",
"created_at": "string",
"access": "owner",
"software": {
"egg": "string",
"name": "string",
"loader": "string",
"version": "string"
},
"permissions": [
"string"
]
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/servers/{server_id}/powerStart, stop, restart or kill a server
- Scope
servers:power - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_power
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$signalBodyerforderlichstringPower signalEines von "start", "stop", "restart", "kill"Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/srv_7f3kq9m2x8c4v6b1/power' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"signal":"restart"}'Antwort 200
{
"data": {
"accepted": true
}
}GET/servers/{server_id}/resourcesShow live resource usage
- Scope
servers:read - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_resources
Power state and current CPU, memory, disk and network use, read from the node.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/servers/srv_7f3kq9m2x8c4v6b1/resources' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"state": "running",
"cpu_pct": 37.5,
"memory_bytes": 2147483648,
"memory_limit_bytes": 6442450944,
"disk_bytes": 1073741824,
"network": {
"rx_bytes": 120000,
"tx_bytes": 340000
},
"uptime_ms": 3600000
}
}POST/servers/{server_id}/commandSend a console command
- Scope
servers:console - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_command
Types the command into the server console (like the panel console). The server must be running.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$commandBodyerforderlichstringFor example `say Restart in 5 minutes`mindestens 1 Zeichen · bis zu 1000 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/srv_7f3kq9m2x8c4v6b1/command' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"command":"say hello"}'Antwort 200
{
"data": {
"sent": true
}
}GET/servers/{server_id}/consoleGet a ticket for the live console websocket
- Scope
servers:console - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_console
Returns a websocket URL and a token valid for 10 minutes. Connect to `socket`, then send `{"event":"auth","args":["<token>"]}`; you receive console output and stats events and can send `send command`. Power actions are not accepted over the socket.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/servers/{server_id}/console' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"token": "string",
"socket": "string",
"expires_at": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
PATCH/servers/{server_id}Rename a server or change its description
- Scope
servers:write - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_rename
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$nameBodyerforderlichstring1 to 60 charactersbis zu 200 ZeichendescriptionBodystringUp to 500 charactersbis zu 2000 ZeichenAnfrage
curl -X PATCH 'https://reseller.enzonic.com/api/v1/servers/srv_7f3kq9m2x8c4v6b1' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Survival SMP 2"}'Antwort 200
{
"data": {
"name": "Survival SMP 2",
"description": ""
}
}POST/servers/{server_id}/reinstallReinstall a server (guarded)
- Scope
servers:write - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_reinstall
DestruktivDas kann nicht rückgängig gemacht werden. MCP-Clients fragen vor dem Aufruf nach einer Bestätigung.
Runs the install script again with the current software. A backup is taken first when the plan allows one, and the change rolls back if the install fails. `confirm` must be the exact server name.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$confirmBodyerforderlichstringThe exact server namebis zu 200 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/srv_7f3kq9m2x8c4v6b1/reinstall' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"confirm":"Survival SMP"}'Antwort 202
{
"data": {
"change_id": "swc_1a3c5e7g9j1l3n5p",
"state": "backing_up"
}
}GET/servers/{server_id}/softwareShow a server's software and the choices it can switch to
- Scope
servers:read - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_software_get
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/servers/{server_id}/software' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"current": {
"software_id": "string",
"slug": "string",
"name": "string",
"version": "string",
"label": "string"
},
"choices": [
{
"id": "string",
"slug": "string",
"name": "string",
"loader": "string"
}
],
"change": {
"id": "string",
"state": "string",
"active": false,
"kind": "string",
"from": "string",
"to": "string",
"reason": "string",
"created_at": "string",
"updated_at": "string"
},
"history": [
{
"id": "string",
"state": "string",
"active": false,
"kind": "string",
"from": "string",
"to": "string",
"reason": "string",
"created_at": "string",
"updated_at": "string"
}
]
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/servers/{server_id}/softwareChange the software or version (guarded)
- Scope
servers:write - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_software_change
Switches loader or game version through the software guard: a backup first, then the install, and an automatic rollback if it fails. Only software your store offers is accepted. Poll servers.software.get for the progress.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$softwareBodyerforderlichstringSoftware id or slug, from `choices`bis zu 40 ZeichenversionBodystringGame version, default latestbis zu 40 Zeichenmodpack_linkBodystringModrinth link for modpack softwarebis zu 1024 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/{server_id}/software' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"software":"string"}'Antwort 200
{
"data": {
"id": "string",
"state": "string",
"active": false,
"kind": "string",
"from": "string",
"to": "string",
"reason": "string",
"created_at": "string",
"updated_at": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/servers/{server_id}/suspendSuspend a server
- Scope
servers:write - SchlüsselReseller-Schlüssel
- MCP-Tool
servers_suspend
Stops the server and blocks the customer from starting it, like Suspend in the admin. Billing is not changed.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/{server_id}/suspend' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "string",
"name": "string",
"description": "string",
"status": "string",
"customer_id": "string",
"plan_id": "string",
"address": "string",
"limits": {
"ram_mb": 0,
"cpu_pct": 0,
"disk_mb": 0,
"databases": 0,
"backups": 0,
"allocations": 0
},
"suspended_at": "string",
"installed_at": "string",
"created_at": "string",
"access": "owner"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/servers/{server_id}/unsuspendUnsuspend a server
- Scope
servers:write - SchlüsselReseller-Schlüssel
- MCP-Tool
servers_unsuspend
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/{server_id}/unsuspend' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "string",
"name": "string",
"description": "string",
"status": "string",
"customer_id": "string",
"plan_id": "string",
"address": "string",
"limits": {
"ram_mb": 0,
"cpu_pct": 0,
"disk_mb": 0,
"databases": 0,
"backups": 0,
"allocations": 0
},
"suspended_at": "string",
"installed_at": "string",
"created_at": "string",
"access": "owner"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
DEL/servers/{server_id}Delete a server and all its files
- Scope
servers:write - SchlüsselReseller-Schlüssel
- MCP-Tool
servers_delete
DestruktivDas kann nicht rückgängig gemacht werden. MCP-Clients fragen vor dem Aufruf nach einer Bestätigung.
Deletes the server, its files and backups on the node. This cannot be undone. `confirm` must be the exact server name. A paid subscription is not cancelled by this call.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$confirmBodyerforderlichstringThe exact server namebis zu 200 ZeichenAnfrage
curl -X DELETE 'https://reseller.enzonic.com/api/v1/servers/{server_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"confirm":"string"}'Antwort 200
{
"data": {
"id": "string",
"deleted": true
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/servers/grantsGive a customer a server for free (grant)
- Scope
servers:write - SchlüsselReseller-Schlüssel
- MCP-Tool
servers_grant - WiederholungenIdempotency-Key wird unterstützt
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
Provisions a new server from one of your plans for a customer, like Grant plan in the admin. On Enzonic nodes the base price is taken from your credits every month in advance (refused when the balance is short); on your own nodes it is free. Needs servers:write and customers:write.
Parameter
customer_idBodyerforderlichstringbis zu 40 Zeichenplan_idBodyerforderlichstringbis zu 40 ZeichensoftwareBodystringSoftware id or slug; default Paperbis zu 40 Zeichenserver_nameBodystringbis zu 64 ZeichenmonthsBody1 or 3 or 6 or 121, 3, 6 or 12; omit for until revokedreasonBodyerforderlichstringEines von "comp", "giveaway", "staff", "other"noteBodystringbis zu 500 Zeichennotify_customerBodybooleanStandard trueAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/grants' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"customer_id":"string","plan_id":"string","reason":"comp"}'Antwort 201
{
"data": {
"grant_id": "string",
"server_id": "string",
"status": "string",
"ends_at": "string",
"monthly": {
"amount": 0,
"currency": "string"
}
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
Dateien
GET/servers/{server_id}/filesList a directory
- Scope
servers:files - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_files_list
Folders first, then files, by name.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$directoryQuerystringDirectory, default /Standard "/"bis zu 1024 ZeichenAnfrage
curl 'https://reseller.enzonic.com/api/v1/servers/srv_7f3kq9m2x8c4v6b1/files?directory=%2F' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"directory": "/",
"entries": [
{
"name": "plugins",
"path": "/plugins",
"directory": true,
"size": 0,
"mime": null,
"modified": "2026-10-18T08:00:00.000Z"
},
{
"name": "server.properties",
"path": "/server.properties",
"directory": false,
"size": 1342,
"mime": "text/plain",
"modified": "2026-10-18T08:00:00.000Z"
}
]
}
}GET/servers/{server_id}/files/contentsRead a text file
- Scope
servers:files - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_files_read
Text files up to 4 MB. Binary or larger files: use servers.files.download_url.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$fileQueryerforderlichstringFile path, e.g. /server.propertiesbis zu 1024 ZeichenAnfrage
curl 'https://reseller.enzonic.com/api/v1/servers/srv_7f3kq9m2x8c4v6b1/files/contents?file=%2Fserver.properties' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"file": "/server.properties",
"size": 24,
"content": "motd=Welcome\nmax-players=20\n"
}
}PUT/servers/{server_id}/files/contentsWrite a text file
- Scope
servers:files - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_files_write
Creates the file or replaces its content (up to 4 MB of text).
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$fileBodyerforderlichstringFile pathbis zu 1024 ZeichencontentBodyerforderlichstringbis zu 4194304 ZeichenAnfrage
curl -X PUT 'https://reseller.enzonic.com/api/v1/servers/srv_7f3kq9m2x8c4v6b1/files/contents' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"file":"/eula.txt","content":"eula=true\n"}'Antwort 200
{
"data": {
"file": "/eula.txt"
}
}POST/servers/{server_id}/files/directoriesCreate a folder
- Scope
servers:files - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_files_mkdir
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$rootBodystringParent directoryStandard "/"bis zu 1024 ZeichennameBodyerforderlichstringbis zu 255 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/srv_7f3kq9m2x8c4v6b1/files/directories' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"root":"/","name":"backups-old"}'Antwort 200
{
"data": {
"path": "/backups-old"
}
}POST/servers/{server_id}/files/renameRename or move files
- Scope
servers:files - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_files_rename
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$rootBodystringDirectory the paths are relative toStandard "/"bis zu 1024 ZeichenfilesBodyerforderlicharray of objectmindestens 1 Einträge · bis zu 100 Einträgefiles[].fromBodyerforderlichstringbis zu 1024 Zeichenfiles[].toBodyerforderlichstringbis zu 1024 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/srv_7f3kq9m2x8c4v6b1/files/rename' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"root":"/","files":[{"from":"old.txt","to":"new.txt"}]}'Antwort 200
{
"data": {
"renamed": 1
}
}POST/servers/{server_id}/files/deleteDelete files and folders
- Scope
servers:files - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_files_delete
DestruktivDas kann nicht rückgängig gemacht werden. MCP-Clients fragen vor dem Aufruf nach einer Bestätigung.
Deletes the named files and folders (with everything inside) from `root`. This cannot be undone.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$rootBodystringDirectoryStandard "/"bis zu 1024 ZeichenfilesBodyerforderlicharray of stringNames inside `root`mindestens 1 Einträge · bis zu 100 EinträgeAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/srv_7f3kq9m2x8c4v6b1/files/delete' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"root":"/logs","files":["latest.log"]}'Antwort 200
{
"data": {
"deleted": 1
}
}POST/servers/{server_id}/files/compressCompress files into an archive
- Scope
servers:files - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_files_compress
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$rootBodystringDirectoryStandard "/"bis zu 1024 ZeichenfilesBodyerforderlicharray of stringNames inside `root`mindestens 1 Einträge · bis zu 100 EinträgeAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/{server_id}/files/compress' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"files":["string"]}'Antwort 200
{
"data": {
"name": "string",
"path": "string",
"directory": false,
"size": 0,
"mime": "string",
"modified": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/servers/{server_id}/files/decompressExtract an archive
- Scope
servers:files - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_files_decompress
Extracts the archive into `root`; files with the same names are overwritten.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$rootBodystringDirectory to extract intoStandard "/"bis zu 1024 ZeichenfileBodyerforderlichstringArchive pathbis zu 1024 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/{server_id}/files/decompress' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"file":"string"}'Antwort 200
{
"data": {
"extracted": true
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/servers/{server_id}/files/download-urlGet a download link for a file
- Scope
servers:files - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_files_download_url
Returns a link valid for 5 minutes that downloads the file with a plain GET (no key needed, so you can hand it to a browser). The link stops working if the key is revoked.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$fileBodyerforderlichstringFile pathbis zu 1024 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/{server_id}/files/download-url' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"file":"string"}'Antwort 200
{
"data": {
"url": "string",
"method": "GET",
"expires_at": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/servers/{server_id}/files/upload-urlGet an upload link for a directory
- Scope
servers:files - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_files_upload_url
Returns a link valid for 5 minutes. POST multipart/form-data with one or more `files` fields to it (up to 100 MB in total, 50 files).
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$directoryBodystringTarget directoryStandard "/"bis zu 1024 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/{server_id}/files/upload-url' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Antwort 200
{
"data": {
"url": "string",
"method": "GET",
"expires_at": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
Backups
GET/servers/{server_id}/backupsList backups
- Scope
servers:backups - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_backups_list
`limit` is how many backups the plan allows; `used` how many exist.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/servers/srv_7f3kq9m2x8c4v6b1/backups' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"backups": [
{
"id": "bkp_8h0j2l4n6q8s0u2w",
"name": "Before 1.21 update",
"status": "succeeded",
"size_bytes": 524288000,
"locked": false,
"created_at": "2026-10-18T20:00:00.000Z",
"completed_at": "2026-10-18T20:03:10.000Z"
}
],
"used": 1,
"limit": 3,
"restoring": false
}
}POST/servers/{server_id}/backupsStart a backup
- Scope
servers:backups - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_backups_create - WiederholungenIdempotency-Key wird unterstützt
Starts a backup now (it runs in the background; poll the list until `status` is `succeeded`). Refused when the plan limit is reached. Send an Idempotency-Key to retry safely.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$nameBodystringbis zu 120 ZeichenignoredBodystringPaths to skip, one per line (like .gitignore)bis zu 4000 ZeichenlockedBodybooleanAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/srv_7f3kq9m2x8c4v6b1/backups' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"name":"Before 1.21 update"}'Antwort 201
{
"data": {
"id": "bkp_8h0j2l4n6q8s0u2w",
"name": "Before 1.21 update",
"status": "pending",
"size_bytes": null,
"locked": false,
"created_at": "2026-10-18T20:00:00.000Z",
"completed_at": null
}
}POST/servers/{server_id}/backups/{backup_id}/restoreRestore a backup
- Scope
servers:backups - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_backups_restore
DestruktivDas kann nicht rückgängig gemacht werden. MCP-Clients fragen vor dem Aufruf nach einer Bestätigung.
Overwrites the server files with the backup. With `truncate: true` every current file is deleted first. The server is stopped while restoring.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$backup_idPfaderforderlichstringBackup id (bkp_...)Muster ^bkp_[0-9a-z]{16}$truncateBodybooleanStandard falseAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/{server_id}/backups/{backup_id}/restore' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Antwort 200
{
"data": {
"restoring": true,
"truncate": false
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/servers/{server_id}/backups/{backup_id}/lockLock or unlock a backup
- Scope
servers:backups - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_backups_lock
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$backup_idPfaderforderlichstringBackup id (bkp_...)Muster ^bkp_[0-9a-z]{16}$lockedBodyerforderlichbooleanAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/{server_id}/backups/{backup_id}/lock' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"locked":false}'Antwort 200
{
"data": {
"locked": false
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
DEL/servers/{server_id}/backups/{backup_id}Delete a backup
- Scope
servers:backups - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_backups_delete
DestruktivDas kann nicht rückgängig gemacht werden. MCP-Clients fragen vor dem Aufruf nach einer Bestätigung.
Removes the backup from the node. Locked backups must be unlocked first. This cannot be undone.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$backup_idPfaderforderlichstringBackup id (bkp_...)Muster ^bkp_[0-9a-z]{16}$Anfrage
curl -X DELETE 'https://reseller.enzonic.com/api/v1/servers/{server_id}/backups/{backup_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "string",
"deleted": true
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/servers/{server_id}/backups/{backup_id}/download-urlGet a download link for a backup
- Scope
servers:backups - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_backups_download_url
A .tar.gz link valid for 5 minutes (plain GET, no key needed). Only completed backups.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$backup_idPfaderforderlichstringBackup id (bkp_...)Muster ^bkp_[0-9a-z]{16}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/{server_id}/backups/{backup_id}/download-url' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"url": "string",
"method": "GET",
"expires_at": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
Kunden
GET/customersList customers
- Scope
customers:read - SchlüsselReseller-Schlüssel
- MCP-Tool
customers_list
Customer accounts of your store, newest first. `q` searches email and name.
Parameter
limitQueryintegerPage size, 1 to 100 (default 50).Standard 50min. 1 · max. 100cursorQuerystring`next_cursor` from the previous page.bis zu 200 ZeichenqQuerystringSearch in email and namebis zu 100 ZeichenstatusQuerystringEines von "active", "suspended", "unverified"Anfrage
curl 'https://reseller.enzonic.com/api/v1/customers' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"id": "usr_2b4d6f8h0j2l4n6q",
"email": "alex@example.com",
"name": "Alex Rivera",
"status": "active",
"email_verified": true,
"two_factor": false,
"servers": 1,
"created_at": "2026-09-02T18:20:00.000Z"
}
],
"next_cursor": null
}GET/customers/{customer_id}Get a customer
- Scope
customers:read - SchlüsselReseller-Schlüssel
- MCP-Tool
customers_get
Parameter
customer_idPfaderforderlichstringCustomer id (usr_...)Muster ^usr_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/customers/usr_2b4d6f8h0j2l4n6q' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "usr_2b4d6f8h0j2l4n6q",
"email": "alex@example.com",
"name": "Alex Rivera",
"status": "active",
"email_verified": true,
"two_factor": false,
"servers": 1,
"created_at": "2026-09-02T18:20:00.000Z"
}
}POST/customersCreate a customer account
- Scope
customers:write - SchlüsselReseller-Schlüssel
- MCP-Tool
customers_create - WiederholungenIdempotency-Key wird unterstützt
Creates the account like the storefront sign-up (same checks; one account per email per store) and emails the customer a link to verify the address. No password is set through the API: with `send_password_link` (default true) the customer also gets a link to choose one. Send an Idempotency-Key to retry safely.
Parameter
emailBodyerforderlichstringbis zu 254 ZeichennameBodyerforderlichstring1 to 80 charactersbis zu 200 Zeichensend_password_linkBodybooleanStandard trueAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/customers' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"email":"jordan@example.com","name":"Jordan Lee"}'Antwort 201
{
"data": {
"id": "usr_9q1s3u5w7y9a1c3e",
"email": "jordan@example.com",
"name": "Jordan Lee",
"status": "active",
"email_verified": false,
"two_factor": false,
"servers": 0,
"created_at": "2026-09-02T18:20:00.000Z"
}
}PATCH/customers/{customer_id}Update a customer's name
- Scope
customers:write - SchlüsselReseller-Schlüssel
- MCP-Tool
customers_update
Only the display name can change here. The email address is the sign-in and stays with the customer.
Parameter
customer_idPfaderforderlichstringCustomer id (usr_...)Muster ^usr_[0-9a-z]{16}$nameBodyerforderlichstring1 to 80 charactersbis zu 200 ZeichenAnfrage
curl -X PATCH 'https://reseller.enzonic.com/api/v1/customers/usr_2b4d6f8h0j2l4n6q' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Alex R."}'Antwort 200
{
"data": {
"id": "usr_2b4d6f8h0j2l4n6q",
"email": "alex@example.com",
"name": "Alex R.",
"status": "active",
"email_verified": true,
"two_factor": false,
"servers": 1,
"created_at": "2026-09-02T18:20:00.000Z"
}
}POST/customers/{customer_id}/suspendSuspend a customer account
- Scope
customers:write - SchlüsselReseller-Schlüssel
- MCP-Tool
customers_suspend
The customer is signed out everywhere and cannot sign in until unsuspended. Their servers keep running; suspend servers separately if needed.
Parameter
customer_idPfaderforderlichstringCustomer id (usr_...)Muster ^usr_[0-9a-z]{16}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/customers/usr_2b4d6f8h0j2l4n6q/suspend' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "usr_2b4d6f8h0j2l4n6q",
"email": "alex@example.com",
"name": "Alex Rivera",
"status": "suspended",
"email_verified": true,
"two_factor": false,
"servers": 1,
"created_at": "2026-09-02T18:20:00.000Z"
}
}POST/customers/{customer_id}/unsuspendUnsuspend a customer account
- Scope
customers:write - SchlüsselReseller-Schlüssel
- MCP-Tool
customers_unsuspend
Parameter
customer_idPfaderforderlichstringCustomer id (usr_...)Muster ^usr_[0-9a-z]{16}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/customers/usr_2b4d6f8h0j2l4n6q/unsuspend' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "usr_2b4d6f8h0j2l4n6q",
"email": "alex@example.com",
"name": "Alex Rivera",
"status": "active",
"email_verified": true,
"two_factor": false,
"servers": 1,
"created_at": "2026-09-02T18:20:00.000Z"
}
}Tarife
GET/plansList plans
- Scope
plans:read - SchlüsselReseller-Schlüssel
- MCP-Tool
plans_list
Parameter
limitQueryintegerPage size, 1 to 100 (default 50).Standard 50min. 1 · max. 100cursorQuerystring`next_cursor` from the previous page.bis zu 200 ZeichenactiveQuerybooleanOnly sold (true) or hidden (false)Anfrage
curl 'https://reseller.enzonic.com/api/v1/plans' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"id": "pln_3c5e7g9j1l3n5p7r",
"name": "Diamond",
"description": "Light modpacks and busy SMPs.",
"ram_mb": 6144,
"cpu_pct": 200,
"disk_mb": 30720,
"databases": 1,
"backups": 2,
"extra_ports": 0,
"price": {
"amount": 1500,
"currency": "usd"
},
"interval": "month",
"node_pool": "enzonic",
"tier_class": "standard",
"location": null,
"allowed_kinds": null,
"featured": true,
"active": true,
"sort": 2,
"created_at": "2026-10-01T09:00:00.000Z"
}
],
"next_cursor": null
}GET/plans/{plan_id}Get a plan
- Scope
plans:read - SchlüsselReseller-Schlüssel
- MCP-Tool
plans_get
Includes how many subscriptions and servers use it.
Parameter
plan_idPfaderforderlichstringPlan id (pln_...)Muster ^pln_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/plans/{plan_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "string",
"name": "string",
"description": "string",
"ram_mb": 0,
"cpu_pct": 0,
"disk_mb": 0,
"databases": 0,
"backups": 0,
"extra_ports": 0,
"price": {
"amount": 0,
"currency": "string"
},
"interval": "month",
"node_pool": "enzonic",
"tier_class": "string",
"location": "string",
"allowed_kinds": [
"string"
],
"featured": false,
"active": false,
"sort": 0,
"created_at": "string",
"usage": {
"subscriptions": 0,
"active_subscriptions": 0,
"servers": 0
}
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/plansCreate a plan
- Scope
plans:write - SchlüsselReseller-Schlüssel
- MCP-Tool
plans_create - WiederholungenIdempotency-Key wird unterstützt
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
Same rules as Admin > Plans: the price must cover Enzonic's base price for these resources plus the platform fee and your minimum margin (the error says the lowest allowed price), and plans on your own nodes need a node first. New active plans appear on your storefront right away.
Parameter
nameBodyerforderlichstringUp to 60 charactersbis zu 200 ZeichendescriptionBodystringUp to 500 charactersbis zu 2000 Zeichenram_gbBodyerforderlichnumber0.5 to 512 GB (up to 3 decimals)cpu_pctBodyerforderlichinteger10 to 6400; 100 = one vCPUdisk_gbBodyerforderlichnumber1 to 4096 GBdatabasesBodyinteger0 to 20, default 1backupsBodyinteger0 to 50, default 2extra_portsBodyinteger0 to 20, default 0price_centsBodyerforderlichintegerMonthly price in cents of your store currency; at least the minimum for these resourcesnode_poolBodystringenzonic (default) or byo (your own nodes)Eines von "enzonic", "byo"tier_classBodystringPerformance tier: 'standard' (default), or a premium line Enzonic currently offers (Enzonic nodes only). Locked once customers bought the plan.bis zu 20 ZeichenlocationBodystringEnzonic-node region: europe, north-america or asia, or empty for any regionbis zu 40 ZeichenfeaturedBodybooleanactiveBodybooleanDefault trueAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/plans' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"name": "Diamond",
"ram_gb": 6,
"cpu_pct": 200,
"disk_gb": 30,
"price_cents": 1500
}'Antwort 201
{
"data": {
"id": "pln_3c5e7g9j1l3n5p7r",
"name": "Diamond",
"description": "Light modpacks and busy SMPs.",
"ram_mb": 6144,
"cpu_pct": 200,
"disk_mb": 30720,
"databases": 1,
"backups": 2,
"extra_ports": 0,
"price": {
"amount": 1500,
"currency": "usd"
},
"interval": "month",
"node_pool": "enzonic",
"tier_class": "standard",
"location": null,
"allowed_kinds": null,
"featured": true,
"active": true,
"sort": 2,
"created_at": "2026-10-01T09:00:00.000Z"
}
}PATCH/plans/{plan_id}Update a plan
- Scope
plans:write - SchlüsselReseller-Schlüssel
- MCP-Tool
plans_update
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
Send only the fields to change; the result is checked like the admin form. A new price applies to new orders; existing subscriptions keep the price they were bought at. The node pool cannot change once customers bought the plan.
Parameter
plan_idPfaderforderlichstringPlan id (pln_...)Muster ^pln_[0-9a-z]{16}$nameBodystringUp to 60 charactersbis zu 200 ZeichendescriptionBodystringUp to 500 charactersbis zu 2000 Zeichenram_gbBodynumber0.5 to 512 GB (up to 3 decimals)cpu_pctBodyinteger10 to 6400; 100 = one vCPUdisk_gbBodynumber1 to 4096 GBdatabasesBodyinteger0 to 20backupsBodyinteger0 to 50extra_portsBodyinteger0 to 20price_centsBodyintegerMonthly price in cents of your store currency; at least the minimum for these resourcesnode_poolBodystringenzonic (default) or byo (your own nodes)Eines von "enzonic", "byo"tier_classBodystringPerformance tier: 'standard' (default), or a premium line Enzonic currently offers (Enzonic nodes only). Locked once customers bought the plan.bis zu 20 ZeichenlocationBodystringEnzonic-node region: europe, north-america or asia, or empty for any regionbis zu 40 ZeichenfeaturedBodybooleanactiveBodybooleanAnfrage
curl -X PATCH 'https://reseller.enzonic.com/api/v1/plans/pln_3c5e7g9j1l3n5p7r' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"price_cents":1600}'Antwort 200
{
"data": {
"id": "pln_3c5e7g9j1l3n5p7r",
"name": "Diamond",
"description": "Light modpacks and busy SMPs.",
"ram_mb": 6144,
"cpu_pct": 200,
"disk_mb": 30720,
"databases": 1,
"backups": 2,
"extra_ports": 0,
"price": {
"amount": 1600,
"currency": "usd"
},
"interval": "month",
"node_pool": "enzonic",
"tier_class": "standard",
"location": null,
"allowed_kinds": null,
"featured": true,
"active": true,
"sort": 2,
"created_at": "2026-10-01T09:00:00.000Z"
}
}DEL/plans/{plan_id}Delete a plan nobody has bought
- Scope
plans:write - SchlüsselReseller-Schlüssel
- MCP-Tool
plans_delete
DestruktivÄndert Preise oder GebührenDas kann nicht rückgängig gemacht werden. MCP-Clients fragen vor dem Aufruf nach einer Bestätigung.
Only plans without any order, subscription or server can be deleted (409 conflict otherwise: set `active: false` to stop selling it instead).
Parameter
plan_idPfaderforderlichstringPlan id (pln_...)Muster ^pln_[0-9a-z]{16}$Anfrage
curl -X DELETE 'https://reseller.enzonic.com/api/v1/plans/pln_3c5e7g9j1l3n5p7r' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "pln_3c5e7g9j1l3n5p7r",
"deleted": true
}
}Orders, invoices and billing
GET/ordersList orders
- Scope
orders:read - SchlüsselReseller-Schlüssel
- MCP-Tool
orders_list
One order per checkout. `fulfilled` orders have a server.
Parameter
limitQueryintegerPage size, 1 to 100 (default 50).Standard 50min. 1 · max. 100cursorQuerystring`next_cursor` from the previous page.bis zu 200 ZeichenstatusQuerystringEines von "open", "paid", "fulfilled", "expired", "failed"customer_idQuerystringbis zu 40 ZeichenAnfrage
curl 'https://reseller.enzonic.com/api/v1/orders' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"id": "string",
"customer_id": "string",
"plan_id": "string",
"server_name": "string",
"software_id": "string",
"status": "open",
"server_id": "string",
"price": {
"amount": 0,
"currency": "string"
},
"paid_at": "string",
"created_at": "string"
}
],
"next_cursor": null
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/orders/{order_id}Get an order
- Scope
orders:read - SchlüsselReseller-Schlüssel
- MCP-Tool
orders_get
Parameter
order_idPfaderforderlichstringOrder id (ord_...)Muster ^ord_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/orders/{order_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "string",
"customer_id": "string",
"plan_id": "string",
"server_name": "string",
"software_id": "string",
"status": "open",
"server_id": "string",
"price": {
"amount": 0,
"currency": "string"
},
"paid_at": "string",
"created_at": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/subscriptionsList subscriptions
- Scope
orders:read - SchlüsselReseller-Schlüssel
- MCP-Tool
subscriptions_list
Parameter
limitQueryintegerPage size, 1 to 100 (default 50).Standard 50min. 1 · max. 100cursorQuerystring`next_cursor` from the previous page.bis zu 200 ZeichenstatusQuerystringactive, past_due, canceled, ...bis zu 20 Zeichencustomer_idQuerystringbis zu 40 ZeichenAnfrage
curl 'https://reseller.enzonic.com/api/v1/subscriptions' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"id": "sub_4d6f8h0j2l4n6q8s",
"customer_id": "usr_2b4d6f8h0j2l4n6q",
"plan_id": "pln_3c5e7g9j1l3n5p7r",
"server_id": "srv_7f3kq9m2x8c4v6b1",
"order_id": "ord_5e7g9j1l3n5p7r9t",
"status": "active",
"price": {
"amount": 1500,
"currency": "usd"
},
"current_period_end": "2026-11-01T11:58:00.000Z",
"cancel_at_period_end": false,
"created_at": "2026-10-01T11:58:00.000Z"
}
],
"next_cursor": null
}GET/subscriptions/{subscription_id}Get a subscription
- Scope
orders:read - SchlüsselReseller-Schlüssel
- MCP-Tool
subscriptions_get
Parameter
subscription_idPfaderforderlichstringSubscription id (sub_...)Muster ^sub_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/subscriptions/{subscription_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "string",
"customer_id": "string",
"plan_id": "string",
"server_id": "string",
"order_id": "string",
"status": "string",
"price": {
"amount": 0,
"currency": "string"
},
"current_period_end": "string",
"cancel_at_period_end": false,
"created_at": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/invoicesList invoices
- Scope
invoices:read - SchlüsselReseller-Schlüssel
- MCP-Tool
invoices_list
Parameter
limitQueryintegerPage size, 1 to 100 (default 50).Standard 50min. 1 · max. 100cursorQuerystring`next_cursor` from the previous page.bis zu 200 ZeichenstatusQuerystringEines von "draft", "open", "paid", "void", "uncollectible"customer_idQuerystringbis zu 40 ZeichenAnfrage
curl 'https://reseller.enzonic.com/api/v1/invoices' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"id": "string",
"customer_id": "string",
"subscription_id": "string",
"number": "string",
"status": "string",
"subtotal": {
"amount": 0,
"currency": "string"
},
"tax": {
"amount": 0,
"currency": "string"
},
"total": {
"amount": 0,
"currency": "string"
},
"platform_fee": {
"amount": 0,
"currency": "string"
},
"net": {
"amount": 0,
"currency": "string"
},
"refunded": {
"amount": 0,
"currency": "string"
},
"reason": "string",
"url": "string",
"paid_at": "string",
"created_at": "string"
}
],
"next_cursor": null
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/invoices/{invoice_id}Get an invoice
- Scope
invoices:read - SchlüsselReseller-Schlüssel
- MCP-Tool
invoices_get
Parameter
invoice_idPfaderforderlichstringInvoice id (inv_...)Muster ^inv_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/invoices/{invoice_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "string",
"customer_id": "string",
"subscription_id": "string",
"number": "string",
"status": "string",
"subtotal": {
"amount": 0,
"currency": "string"
},
"tax": {
"amount": 0,
"currency": "string"
},
"total": {
"amount": 0,
"currency": "string"
},
"platform_fee": {
"amount": 0,
"currency": "string"
},
"net": {
"amount": 0,
"currency": "string"
},
"refunded": {
"amount": 0,
"currency": "string"
},
"reason": "string",
"url": "string",
"paid_at": "string",
"created_at": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/billing/summaryShow payout status and revenue totals
- Scope
billing:read - SchlüsselReseller-Schlüssel
- MCP-Tool
billing_summary
Whether card payments and payouts are enabled for your store, the platform fee rate, and revenue from the billing ledger for the last 30 days and all time (gross, Enzonic share, your net).
Parameter
Keine Parameter.
Anfrage
curl 'https://reseller.enzonic.com/api/v1/billing/summary' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"currency": "string",
"payments_enabled": false,
"payouts_enabled": false,
"onboarding_complete": false,
"fee_percent": 0,
"active_subscriptions": 0,
"last_30_days": {
"gross": {
"amount": 0,
"currency": "string"
},
"platform": {
"amount": 0,
"currency": "string"
},
"net": {
"amount": 0,
"currency": "string"
}
},
"all_time": {
"gross": {
"amount": 0,
"currency": "string"
},
"platform": {
"amount": 0,
"currency": "string"
},
"net": {
"amount": 0,
"currency": "string"
}
}
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/ordersCreate an order and get the payment link for the customer
- Scope
orders:write - SchlüsselReseller-Schlüssel
- MCP-Tool
orders_create - WiederholungenIdempotency-Key wird unterstützt
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
Starts the same checkout as your storefront for one of your plans: the customer opens `checkout_url`, pays by card (3-D Secure, your Stripe account) and the server is created automatically. Follow it with GET /orders/{order_id} or the order.* webhooks. The customer must have a verified email.
Parameter
customer_idBodyerforderlichstringbis zu 40 Zeichenplan_idBodyerforderlichstringbis zu 40 Zeichensoftware_idBodyerforderlichstringbis zu 40 Zeichenserver_nameBodyerforderlichstringmindestens 1 Zeichen · bis zu 40 ZeichenvariablesBodyobjectdiscount_codeBodystringbis zu 40 Zeichensuccess_urlBodystringDefault: your store order pagebis zu 500 Zeichen · Format uricancel_urlBodystringbis zu 500 Zeichen · Format uriAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/orders' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"customer_id": "string",
"plan_id": "string",
"software_id": "string",
"server_name": "string"
}'Antwort 201
{
"data": {
"order_id": "string",
"checkout_url": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/subscriptions/{subscription_id}/cancelCancel a subscription at the end of the paid period
- Scope
orders:write - SchlüsselReseller-Schlüssel
- MCP-Tool
subscriptions_cancel
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
The server keeps running until `current_period_end`, then the subscription ends. Undo with /resume.
Parameter
subscription_idPfaderforderlichstringSubscription id (sub_...)Muster ^sub_[0-9a-z]{16}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/subscriptions/{subscription_id}/cancel' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "string",
"status": "string",
"plan_id": "string",
"server_id": "string",
"price": {
"amount": 0,
"currency": "string"
},
"cancel_at_period_end": false,
"current_period_end": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/subscriptions/{subscription_id}/resumeKeep a subscription renewing (undo a cancellation)
- Scope
orders:write - SchlüsselReseller-Schlüssel
- MCP-Tool
subscriptions_resume
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
Parameter
subscription_idPfaderforderlichstringSubscription id (sub_...)Muster ^sub_[0-9a-z]{16}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/subscriptions/{subscription_id}/resume' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "string",
"status": "string",
"plan_id": "string",
"server_id": "string",
"price": {
"amount": 0,
"currency": "string"
},
"cancel_at_period_end": false,
"current_period_end": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/subscriptions/{subscription_id}/plan-optionsList the plans a subscription can upgrade or downgrade to
- Scope
orders:read - SchlüsselReseller-Schlüssel
- MCP-Tool
subscriptions_plan_options
Parameter
subscription_idPfaderforderlichstringSubscription id (sub_...)Muster ^sub_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/subscriptions/{subscription_id}/plan-options' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"plan_id": "string",
"name": "string",
"price": {
"amount": 0,
"currency": "string"
},
"ram_mb": 0,
"cpu_pct": 0,
"disk_mb": 0
}
]
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/subscriptions/{subscription_id}/change-planUpgrade or downgrade a subscription (prorated) and resize its server
- Scope
orders:write - SchlüsselReseller-Schlüssel
- MCP-Tool
subscriptions_change_plan
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
The difference is prorated on the next invoice; the server is resized right away. Only active subscriptions; plans from /plan-options.
Parameter
subscription_idPfaderforderlichstringSubscription id (sub_...)Muster ^sub_[0-9a-z]{16}$plan_idBodyerforderlichstringbis zu 40 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/subscriptions/{subscription_id}/change-plan' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"plan_id":"string"}'Antwort 200
{
"data": {
"id": "string",
"status": "string",
"plan_id": "string",
"server_id": "string",
"price": {
"amount": 0,
"currency": "string"
},
"cancel_at_period_end": false,
"current_period_end": "string",
"server_resized": false
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
Guthaben
GET/creditsShow the credit balance
- Scope
credits:read - SchlüsselReseller-Schlüssel
- MCP-Tool
credits_balance
Enzonic credits pay for grants (servers you give away) and other platform charges.
Parameter
Keine Parameter.
Anfrage
curl 'https://reseller.enzonic.com/api/v1/credits' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"balance": {
"amount": 2500,
"currency": "usd"
}
}
}GET/credits/ledgerList credit ledger entries
- Scope
credits:read - SchlüsselReseller-Schlüssel
- MCP-Tool
credits_ledger
Parameter
limitQueryintegerPage size, 1 to 100 (default 50).Standard 50min. 1 · max. 100cursorQuerystring`next_cursor` from the previous page.bis zu 200 ZeichenkindQuerystringEines von "trial", "topup", "grant_charge", "order_fee", "enzica", "refund", "adjust", "reversal"Anfrage
curl 'https://reseller.enzonic.com/api/v1/credits/ledger' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"id": "string",
"kind": "trial",
"amount": {
"amount": 0,
"currency": "string"
},
"balance_after": {
"amount": 0,
"currency": "string"
},
"reference": {
"type": "string",
"id": "string"
},
"note": "string",
"created_at": "string"
}
],
"next_cursor": null
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
Flex servers (hourly)
GET/flex/pricingShow your Flex prices, the lowest allowed prices and the size limits
- Scope
flex:read - SchlüsselReseller-Schlüssel
- MCP-Tool
flex_pricing_get
Parameter
Keine Parameter.
Anfrage
curl 'https://reseller.enzonic.com/api/v1/flex/pricing' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"enabled": false,
"currency": "string",
"hours_per_month": 0,
"prices": {
"ram_gb": 0,
"vcpu": 0,
"disk_10gb": 0
},
"lowest_prices": {
"ram_gb": 0,
"vcpu": 0,
"disk_10gb": 0
},
"enzonic_cost": {
"ram_gb": 0,
"vcpu": 0,
"disk_10gb": 0
},
"platform_fee_percent": 0,
"max_ram_mb": 0,
"max_servers_per_customer": 0
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
PUT/flex/pricingTurn Flex on or off and set your prices
- Scope
flex:write - SchlüsselReseller-Schlüssel
- MCP-Tool
flex_pricing_update
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
Prices are cents per month of running time (billed per second). Each must be at least the lowest price from GET /flex/pricing.
Parameter
enabledBodyerforderlichbooleanram_gbBodyerforderlichintegerCents per GB RAM per monthvcpuBodyerforderlichintegerCents per vCPU per monthdisk_10gbBodyerforderlichintegerCents per 10 GB disk per monthmax_ram_mbBodyintegermax_servers_per_customerBodyintegerAnfrage
curl -X PUT 'https://reseller.enzonic.com/api/v1/flex/pricing' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"enabled":false,"ram_gb":0,"vcpu":0,"disk_10gb":0}'Antwort 200
{
"data": {
"saved": true
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/customers/{customer_id}/flexShow a customer's Flex balance, hourly cost and recent charges
- Scope
flex:read - SchlüsselReseller-Schlüssel
- MCP-Tool
flex_balance_get
Parameter
customer_idPfaderforderlichstringCustomer id (usr_...)bis zu 40 ZeichenAnfrage
curl 'https://reseller.enzonic.com/api/v1/customers/{customer_id}/flex' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"customer_id": "string",
"balance": {
"amount": 0,
"currency": "string"
},
"precise_millicents": 0,
"running_cost_per_hour": {
"amount": 0,
"currency": "string"
},
"hours_left": 0,
"history": [
{
"kind": "topup",
"amount": {
"amount": 0,
"currency": "string"
},
"note": "string",
"created_at": "string"
}
]
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/customers/{customer_id}/flex/topup-linkCreate a card payment link that tops up a customer Flex balance
- Scope
flex:write - SchlüsselReseller-Schlüssel
- MCP-Tool
flex_balance_topup_link - WiederholungenIdempotency-Key wird unterstützt
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
Returns a hosted checkout URL for the customer (3-D Secure, your Stripe account). The balance is credited when the payment succeeds and passes the fraud checks. Amount in cents, 500 to 50000.
Parameter
customer_idPfaderforderlichstringCustomer id (usr_...)bis zu 40 ZeichenamountBodyerforderlichintegermin. 500 · max. 50000Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/customers/{customer_id}/flex/topup-link' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"amount":0}'Antwort 201
{
"data": {
"topup_id": "string",
"checkout_url": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/customers/{customer_id}/flex/adjustAdd to or take from a customer Flex balance
- Scope
flex:write - SchlüsselReseller-Schlüssel
- MCP-Tool
flex_balance_adjust - WiederholungenIdempotency-Key wird unterstützt
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
Positive = a gift from your store, negative = a correction. Needs an Idempotency-Key; the same key never posts twice.
Parameter
customer_idPfaderforderlichstringCustomer id (usr_...)bis zu 40 ZeichenamountBodyerforderlichintegerCents, + or -noteBodystringStandard ""bis zu 120 ZeichenreferenceBodyerforderlichstringYour own unique reference (posted once)mindestens 1 Zeichen · bis zu 80 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/customers/{customer_id}/flex/adjust' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"amount":0,"reference":"string"}'Antwort 201
{
"data": {
"customer_id": "string",
"balance": {
"amount": 0,
"currency": "string"
},
"precise_millicents": 0,
"running_cost_per_hour": {
"amount": 0,
"currency": "string"
},
"hours_left": 0
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/flex/serversList Flex servers with their hourly price and usage
- Scope
flex:read - SchlüsselReseller-Schlüssel
- MCP-Tool
flex_servers_list
Parameter
customer_idQuerystringbis zu 40 ZeichenAnfrage
curl 'https://reseller.enzonic.com/api/v1/flex/servers' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"server_id": "string",
"customer_id": "string",
"name": "string",
"status": "string",
"power_state": "string",
"ram_mb": 0,
"cpu_pct": 0,
"disk_mb": 0,
"price_per_hour": {
"amount": 0,
"currency": "string"
},
"run_seconds": 0,
"spent": {
"amount": 0,
"currency": "string"
},
"stopped_reason": "string",
"created_at": "string"
}
]
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/flex/servers/{server_id}Get one Flex server with its hourly price and usage
- Scope
flex:read - SchlüsselReseller-Schlüssel
- MCP-Tool
flex_servers_get
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/flex/servers/{server_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"server_id": "string",
"customer_id": "string",
"name": "string",
"status": "string",
"power_state": "string",
"ram_mb": 0,
"cpu_pct": 0,
"disk_mb": 0,
"price_per_hour": {
"amount": 0,
"currency": "string"
},
"run_seconds": 0,
"spent": {
"amount": 0,
"currency": "string"
},
"stopped_reason": "string",
"created_at": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/flex/serversCreate a Flex server for a customer
- Scope
flex:write - SchlüsselReseller-Schlüssel
- MCP-Tool
flex_servers_create - WiederholungenIdempotency-Key wird unterstützt
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
The customer's Flex balance must cover one hour of the size. The server is a normal server afterwards: use /servers/{server_id}/... for power, console, files, backups and sub-users.
Parameter
customer_idBodyerforderlichstringCustomer id (usr_...)bis zu 40 ZeichennameBodyerforderlichstringmindestens 1 Zeichen · bis zu 40 Zeichensoftware_idBodyerforderlichstringbis zu 40 Zeichenram_mbBodyerforderlichinteger512 MB stepscpu_pctBodyerforderlichinteger100 = one vCPU, 50 stepsdisk_mbBodyerforderlichinteger1024 MB stepsAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/flex/servers' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"customer_id": "string",
"name": "string",
"software_id": "string",
"ram_mb": 0,
"cpu_pct": 0,
"disk_mb": 0
}'Antwort 201
{
"data": {
"server_id": "string",
"customer_id": "string",
"name": "string",
"status": "string",
"power_state": "string",
"ram_mb": 0,
"cpu_pct": 0,
"disk_mb": 0,
"price_per_hour": {
"amount": 0,
"currency": "string"
},
"run_seconds": 0,
"spent": {
"amount": 0,
"currency": "string"
},
"stopped_reason": "string",
"created_at": "string",
"price_per_month_if_always_on": {
"amount": 0,
"currency": "string"
}
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
PATCH/flex/servers/{server_id}Resize a Flex server (new price from now on)
- Scope
flex:write - SchlüsselReseller-Schlüssel
- MCP-Tool
flex_servers_resize
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$ram_mbBodyerforderlichinteger512 MB stepscpu_pctBodyerforderlichinteger100 = one vCPU, 50 stepsdisk_mbBodyerforderlichinteger1024 MB stepsAnfrage
curl -X PATCH 'https://reseller.enzonic.com/api/v1/flex/servers/{server_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ram_mb":0,"cpu_pct":0,"disk_mb":0}'Antwort 200
{
"data": {
"server_id": "string",
"customer_id": "string",
"name": "string",
"status": "string",
"power_state": "string",
"ram_mb": 0,
"cpu_pct": 0,
"disk_mb": 0,
"price_per_hour": {
"amount": 0,
"currency": "string"
},
"run_seconds": 0,
"spent": {
"amount": 0,
"currency": "string"
},
"stopped_reason": "string",
"created_at": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
DEL/flex/servers/{server_id}Delete a Flex server and its files (bills the time it ran first)
- Scope
flex:write - SchlüsselReseller-Schlüssel
- MCP-Tool
flex_servers_delete
DestruktivDas kann nicht rückgängig gemacht werden. MCP-Clients fragen vor dem Aufruf nach einer Bestätigung.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$Anfrage
curl -X DELETE 'https://reseller.enzonic.com/api/v1/flex/servers/{server_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"deleted": true
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/flex/limitsShow the sizes a Flex server can have in your store
- Scope
flex:read - SchlüsselReseller-Schlüssel
- MCP-Tool
flex_limits
Parameter
Keine Parameter.
Anfrage
curl 'https://reseller.enzonic.com/api/v1/flex/limits' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"ram_mb": {
"min": 0,
"max": 0,
"step": 0
},
"cpu_pct": {
"min": 0,
"max": 0,
"step": 0
},
"disk_mb": {
"min": 0,
"max": 0,
"step": 0
}
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
VPS
GET/vps/accountShow the store VPS reseller link, tier, balance and limits
- Scope
vps:read - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_account_get
Your wholesale discount tier (Starter 15 %, Growth 20 %, Pro 25 % on monthly VPS spend), the Enzonic VPS balance that pays the wholesale, VPS counts and limits, and your white-label VPS panel host.
Parameter
Keine Parameter.
Anfrage
curl 'https://reseller.enzonic.com/api/v1/vps/account' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"linked": false,
"available": false,
"account": {}
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/vps/plansList VPS plans with your wholesale and retail prices
- Scope
vps:read - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_plans_list
Every Enzonic VPS plan with its specs, your wholesale price (list price minus your tier discount) and the retail price your store charges (`retail` null = not offered yet; set it with PUT /vps/plans/{plan_key}).
Parameter
Keine Parameter.
Anfrage
curl 'https://reseller.enzonic.com/api/v1/vps/plans' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"plan_key": "string",
"name": "string",
"vcpu": 0,
"memory_mb": 0,
"disk_gb": 0,
"network_speed_mbit": 0,
"wholesale": {
"amount": 0,
"currency": "string"
},
"retail": {
"amount": 0,
"currency": "string"
},
"active": false
}
]
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
PUT/vps/plans/{plan_key}Set the retail price of a VPS plan and offer or hide it
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_plans_update
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
Monthly retail price in cents (USD), never below your wholesale price. New orders use it; running card subscriptions keep their price. Also synced to your white-label VPS panel. Needs vps:write and plans:write.
Parameter
plan_keyPfaderforderlichstringVPS plan key from GET /vps/plans (s, m, l, xl, ...)Muster ^[a-z0-9][a-z0-9-]{0,19}$retail_priceBodyerforderlichintegerCents per monthmin. 1 · max. 10000000activeBodybooleanStandard trueAnfrage
curl -X PUT 'https://reseller.enzonic.com/api/v1/vps/plans/{plan_key}' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"retail_price":0}'Antwort 200
{
"data": {
"plan_key": "string",
"retail": {
"amount": 0,
"currency": "string"
},
"active": false
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/vps/templatesList operating systems and one-click panel stacks
- Scope
vps:read - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_templates_list
Operating systems, plus one-click stacks (`category: "stack"`: Wings node, game panels, billing panels) with their minimum RAM.
Parameter
Keine Parameter.
Anfrage
curl 'https://reseller.enzonic.com/api/v1/vps/templates' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{}
]
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/vps/regionsList VPS regions with IPv4 / IPv6 and dedicated IPv4 stock
- Scope
vps:read - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_regions_list
Parameter
Keine Parameter.
Anfrage
curl 'https://reseller.enzonic.com/api/v1/vps/regions' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{}
]
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/vps/ordersCreate a VPS order and get the payment link for the customer
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_orders_create - WiederholungenIdempotency-Key wird unterstützt
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
Same checkout as your storefront: the customer pays your retail price monthly (card with 3-D Secure through your Stripe account, or `pay_with` = one of your own subscription gateways). After payment and the fraud screen the VPS is created automatically (orders from new stores wait for review). Needs vps:write and orders:write; the customer must have a verified email.
Parameter
customer_idBodyerforderlichstringCustomer id (usr_...)bis zu 40 Zeichenplan_keyBodyerforderlichstringVPS plan key from GET /vps/plans (s, m, l, xl, ...)Muster ^[a-z0-9][a-z0-9-]{0,19}$templateBodyerforderlichstringTemplate key from GET /vps/templates (operating system or one-click panel stack)Muster ^[a-z0-9][a-z0-9._-]{1,60}$server_nameBodyerforderlichstring1-40 letters, numbers, spaces, dots or dashesMuster ^[A-Za-z0-9][A-Za-z0-9 ._-]{0,39}$regionBodystringRegion key from GET /vps/regions (europe, united_states, ...)Muster ^[a-z][a-z0-9_]{1,40}$pay_withBodystringstripe_connect or an own gateway config idStandard "stripe_connect"bis zu 40 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/vps/orders' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"customer_id": "string",
"plan_key": "string",
"template": "string",
"server_name": "string"
}'Antwort 201
{
"data": {
"order_id": "string",
"checkout_url": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/vps/ordersList VPS orders
- Scope
vps:read - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_orders_list
Parameter
limitQueryintegerPage size, 1 to 100 (default 50).Standard 50min. 1 · max. 100cursorQuerystring`next_cursor` from the previous page.bis zu 200 Zeichencustomer_idQuerystringCustomer id (usr_...)bis zu 40 ZeichenstatusQuerystringbis zu 20 ZeichenAnfrage
curl 'https://reseller.enzonic.com/api/v1/vps/orders' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"order_id": "string",
"vps_id": 0,
"customer_id": "string",
"plan_key": "string",
"plan_name": "string",
"template": "string",
"region": "string",
"server_name": "string",
"status": "string",
"paid_by": "string",
"price": {
"amount": 0,
"currency": "string"
},
"in_review": false,
"last_error": "string",
"current_period_end": "string",
"created_at": "string"
}
],
"next_cursor": null
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/vps/orders/{order_id}Get one VPS order
- Scope
vps:read - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_orders_get
Parameter
order_idPfaderforderlichstringVPS order id (vpo_...)Muster ^vpo_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/vps/orders/{order_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"order_id": "string",
"vps_id": 0,
"customer_id": "string",
"plan_key": "string",
"plan_name": "string",
"template": "string",
"region": "string",
"server_name": "string",
"status": "string",
"paid_by": "string",
"price": {
"amount": 0,
"currency": "string"
},
"in_review": false,
"last_error": "string",
"current_period_end": "string",
"created_at": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/vps/serversCreate a VPS for a customer now, paid from your Enzonic VPS balance
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_create - WiederholungenIdempotency-Key wird unterstützt
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
No customer payment: Enzonic takes the wholesale price from your Enzonic VPS balance now and at every renewal (bill the customer yourself). `root_password` is returned once. Refused while the store or the customer is blocked; Enzonic limits for new resellers apply. Needs vps:write and orders:write.
Parameter
customer_idBodyerforderlichstringCustomer id (usr_...)bis zu 40 Zeichenplan_keyBodyerforderlichstringVPS plan key from GET /vps/plans (s, m, l, xl, ...)Muster ^[a-z0-9][a-z0-9-]{0,19}$templateBodyerforderlichstringTemplate key from GET /vps/templates (operating system or one-click panel stack)Muster ^[a-z0-9][a-z0-9._-]{1,60}$server_nameBodyerforderlichstring1-40 letters, numbers, spaces, dots or dashesMuster ^[A-Za-z0-9][A-Za-z0-9 ._-]{0,39}$regionBodystringRegion key from GET /vps/regions (europe, united_states, ...)Muster ^[a-z][a-z0-9_]{1,40}$hostnameBodystringbis zu 253 Zeichen · Muster ^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?(\.[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$ssh_key_idsBodyarray of integerFrom GET /vps/ssh-keysbis zu 10 EinträgeAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/vps/servers' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"customer_id": "string",
"plan_key": "string",
"template": "string",
"server_name": "string"
}'Antwort 201
{
"data": {
"order": {
"order_id": "string",
"vps_id": 0,
"customer_id": "string",
"plan_key": "string",
"plan_name": "string",
"template": "string",
"region": "string",
"server_name": "string",
"status": "string",
"paid_by": "string",
"price": {
"amount": 0,
"currency": "string"
},
"in_review": false,
"last_error": "string",
"current_period_end": "string",
"created_at": "string"
},
"server": {},
"root_password": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/vps/serversList the VPS your store sold, with live status
- Scope
vps:read - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_list
Parameter
customer_idQuerystringCustomer id (usr_...)bis zu 40 ZeichenAnfrage
curl 'https://reseller.enzonic.com/api/v1/vps/servers' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"vps_id": 0,
"order_id": "string",
"customer_id": "string",
"plan_key": "string",
"order_status": "string",
"server": {}
}
]
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/vps/servers/{vps_id}Get one VPS: status, power, plan, OS, IPs, ports, rescue, limits
- Scope
vps:read - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_get
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/vps/servers/42' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"order": {
"order_id": "string",
"vps_id": 0,
"customer_id": "string",
"plan_key": "string",
"plan_name": "string",
"template": "string",
"region": "string",
"server_name": "string",
"status": "string",
"paid_by": "string",
"price": {
"amount": 0,
"currency": "string"
},
"in_review": false,
"last_error": "string",
"current_period_end": "string",
"created_at": "string"
},
"server": {}
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
PATCH/vps/servers/{vps_id}Rename a VPS or change its hostname
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_update
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$nameBodystringmindestens 1 Zeichen · bis zu 60 ZeichenhostnameBodystringbis zu 253 ZeichenAnfrage
curl -X PATCH 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Antwort 200
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
DEL/vps/servers/{vps_id}Delete a VPS for good and stop its billing
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_delete
DestruktivÄndert Preise oder GebührenDas kann nicht rückgängig gemacht werden. MCP-Clients fragen vor dem Aufruf nach einer Bestätigung.
Deletes the VPS and its disk on Enzonic (the wholesale stops renewing) and cancels the customer card subscription now. Own-gateway subscriptions must be cancelled in that provider (`billing_note`). Send `confirm` = the VPS name.
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$confirmBodyerforderlichstringThe VPS name, as a safety checkbis zu 60 ZeichenAnfrage
curl -X DELETE 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"confirm":"string"}'Antwort 200
{
"data": {
"deleted": false,
"subscription_cancelled": false,
"billing_note": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/vps/servers/{vps_id}/login-linkOne-time sign-in link to your white-label VPS panel for the customer
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_login_link
Single use, valid 10 minutes, opens this VPS in your branded VPS panel.
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/login-link' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"url": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/vps/servers/{vps_id}/powerStart, stop, restart or kill a VPS
- Scope
vps:power - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_power
`stop` is a clean ACPI shutdown, `kill` cuts the power.
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$signalBodyerforderlichstringEines von "start", "stop", "restart", "kill"Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/vps/servers/42/power' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"signal":"restart"}'Antwort 200
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/vps/servers/{vps_id}/suspendSuspend a VPS (stopped, customer locked out, disk kept)
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_suspend
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$noteBodystringbis zu 300 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/suspend' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Antwort 200
{
"data": {
"suspended": false
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/vps/servers/{vps_id}/unsuspendLift your own suspension of a VPS
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_unsuspend
Enzonic suspensions (unpaid wholesale, abuse review) can only be lifted by Enzonic.
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/unsuspend' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"suspended": false
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/vps/servers/{vps_id}/reinstallReinstall a VPS with an OS or panel stack (wipes the disk)
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_reinstall
DestruktivDas kann nicht rückgängig gemacht werden. MCP-Clients fragen vor dem Aufruf nach einer Bestätigung.
Send `confirm` = the VPS name. Optional SSH keys (ids from /vps/ssh-keys) and root password; a new password is generated and returned once when none is given.
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$templateBodyerforderlichstringTemplate key from GET /vps/templates (operating system or one-click panel stack)Muster ^[a-z0-9][a-z0-9._-]{1,60}$confirmBodyerforderlichstringbis zu 60 Zeichenssh_key_idsBodyarray of integerbis zu 10 EinträgepasswordBodystringmindestens 12 Zeichen · bis zu 128 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/reinstall' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"template":"string","confirm":"string"}'Antwort 200
{
"data": {
"server": {},
"root_password": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/vps/servers/{vps_id}/passwordReset the root / default user password of a running VPS
- Scope
vps:console - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_password
Without `password` a strong one is generated. Returned once.
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$passwordBodystringmindestens 12 Zeichen · bis zu 128 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/password' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Antwort 200
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/vps/servers/{vps_id}/rescueBoot a VPS into rescue mode or back to its disk
- Scope
vps:power - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_rescue
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$enabledBodyerforderlichbooleanAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/rescue' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"enabled":false}'Antwort 200
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/vps/servers/{vps_id}/consoleGet a short-lived VNC console session (noVNC)
- Scope
vps:console - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_console
Returns `ws_url`, `session_url` and a signed `token` (valid about a minute) for a noVNC client: open the websocket at `ws_url` with the token. Works in rescue mode and before the network is up.
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/console' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/vps/servers/{vps_id}/terminalGet a short-lived web terminal (SSH) session
- Scope
vps:console - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_terminal
Returns `ws_url`, a signed `token` and the `login` user for the SSH-key web terminal.
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/terminal' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/vps/servers/{vps_id}/networkShow the IPv4, SSH port, forwarded port range, IPv6 and dedicated IPv4 of a VPS
- Scope
vps:read - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_network
Shared IPv4 VPS get a fixed range of forwarded ports (one is SSH); a dedicated IPv4 is 1:1 and has every port. There is no per-VPS firewall rule API and no reverse DNS: use the firewall inside the VPS (ufw, nftables). Port 25 outbound is always closed.
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/network' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/vps/servers/{vps_id}/metricsCPU, memory, network and disk graphs of a VPS
- Scope
vps:read - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_metrics
Points of `cpu_pct` (of the VPS vCPUs), `memory_used_mb`, network and disk bytes per second. hour = 1 minute steps, day = 30 minutes, week = 3 hours, month = 12 hours.
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$rangeQuerystringEines von "hour", "day", "week", "month"Standard "hour"Anfrage
curl 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/metrics' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/vps/servers/{vps_id}/trafficNetwork traffic of a VPS: this month and per day (31 days)
- Scope
vps:read - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_traffic
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/traffic' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/vps/servers/{vps_id}/eventsActivity log of a VPS (power, reinstall, backups, resize, ...)
- Scope
vps:read - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_events
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$limitQueryintegerStandard 50min. 1 · max. 200Anfrage
curl 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/events' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{}
]
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/vps/servers/{vps_id}/change-planUpgrade or downgrade a VPS to another plan
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_change_plan
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
Upgrades happen in place when the VPS host has room (prorated wholesale from your Enzonic VPS balance). Downgrades: `mode` keep (only when the new plan has at least the same disk) or fresh (reinstall on the smaller disk, wipes it: send `confirm` = the VPS name). The customer card subscription moves to your retail price of the new plan, prorated. Needs vps:write and orders:write.
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$plan_keyBodyerforderlichstringVPS plan key from GET /vps/plans (s, m, l, xl, ...)Muster ^[a-z0-9][a-z0-9-]{0,19}$modeBodystringDowngrades only; default keepEines von "keep", "fresh"confirmBodystringThe VPS name; required for mode freshbis zu 60 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/change-plan' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"plan_key":"string"}'Antwort 200
{
"data": {
"result": {},
"retail_updated": false,
"billing_note": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/vps/servers/{vps_id}/transferRegion move: regions available and the current / last move
- Scope
vps:read - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_transfer_get
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/transfer' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/vps/servers/{vps_id}/transferMove a VPS to another region (disk copied, IPs change)
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_transfer_start
The VPS is stopped during the copy. Send `confirm` = the VPS name.
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$regionBodyerforderlichstringRegion key from GET /vps/regions (europe, united_states, ...)Muster ^[a-z][a-z0-9_]{1,40}$confirmBodyerforderlichstringbis zu 60 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/transfer' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"region":"string","confirm":"string"}'Antwort 200
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
DEL/vps/servers/{vps_id}/transferCancel a region move that has not started copying
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_servers_transfer_cancel
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$Anfrage
curl -X DELETE 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/transfer' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/vps/servers/{vps_id}/backupsList the backups (snapshots) of a VPS and the backup add-on state
- Scope
vps:read - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_backups_list
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/backups' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/vps/servers/{vps_id}/backupsTake a backup of a VPS now
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_backups_create - WiederholungenIdempotency-Key wird unterstützt
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$noteBodystringbis zu 120 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/backups' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'Antwort 201
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/vps/servers/{vps_id}/backups/{backup_id}/restoreRestore a VPS from a backup (replaces the disk)
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_backups_restore
DestruktivDas kann nicht rückgängig gemacht werden. MCP-Clients fragen vor dem Aufruf nach einer Bestätigung.
Send `confirm` = the VPS name.
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$backup_idPfaderforderlichstringMuster ^[0-9]{1,12}$confirmBodyerforderlichstringbis zu 60 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/backups/{backup_id}/restore' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"confirm":"string"}'Antwort 200
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
DEL/vps/servers/{vps_id}/backups/{backup_id}Delete a backup of a VPS
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_backups_delete
DestruktivDas kann nicht rückgängig gemacht werden. MCP-Clients fragen vor dem Aufruf nach einer Bestätigung.
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$backup_idPfaderforderlichstringMuster ^[0-9]{1,12}$Anfrage
curl -X DELETE 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/backups/{backup_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"deleted": false
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
PUT/vps/servers/{vps_id}/addons/backupsTurn the automatic backup add-on of a VPS on or off
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_backups_addon
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
Charged from your Enzonic VPS balance at your wholesale add-on price.
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$enabledBodyerforderlichbooleanAnfrage
curl -X PUT 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/addons/backups' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"enabled":false}'Antwort 200
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/vps/servers/{vps_id}/addonsDedicated IPv4 add-on state, extra IPv4 addresses and prices
- Scope
vps:read - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_addons_get
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/addons' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
PUT/vps/servers/{vps_id}/addons/dedicated-ipv4Add or remove the dedicated IPv4 of a VPS
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_addons_dedicated_ipv4
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
`enabled: true` buys it (prorated, from your Enzonic VPS balance; attached in minutes or waitlisted up to 48 h); `false` ends it at the period end. `mode`: alongside (keep the shared IPv4 ports too) or instead.
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$enabledBodyerforderlichbooleanmodeBodystringEines von "alongside", "instead"Anfrage
curl -X PUT 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/addons/dedicated-ipv4' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"enabled":false}'Antwort 200
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/vps/servers/{vps_id}/addons/extra-ipv4Add one more routed IPv4 to a VPS that has a dedicated IPv4
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_addons_extra_ipv4_add - WiederholungenIdempotency-Key wird unterstützt
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/addons/extra-ipv4' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"Antwort 201
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
DEL/vps/servers/{vps_id}/addons/extra-ipv4/{assignment_id}Remove an extra IPv4 at the end of the paid period
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_addons_extra_ipv4_remove
Ändert Preise oder GebührenDas ändert, was deine Kunden zahlen oder was dir berechnet wird. MCP-Clients fragen nach einer Bestätigung.
Parameter
vps_idPfaderforderlichstringVPS id (number, from GET /vps/servers)Muster ^[0-9]{1,10}$assignment_idPfaderforderlichstringMuster ^[0-9]{1,12}$Anfrage
curl -X DELETE 'https://reseller.enzonic.com/api/v1/vps/servers/{vps_id}/addons/extra-ipv4/{assignment_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/vps/ssh-keysList the SSH keys of your Enzonic VPS account (usable at create and reinstall)
- Scope
vps:read - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_ssh_keys_list
Parameter
Keine Parameter.
Anfrage
curl 'https://reseller.enzonic.com/api/v1/vps/ssh-keys' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{}
]
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/vps/ssh-keysAdd an SSH public key
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_ssh_keys_create - WiederholungenIdempotency-Key wird unterstützt
Parameter
nameBodyerforderlichstringmindestens 1 Zeichen · bis zu 60 Zeichenpublic_keyBodyerforderlichstringmindestens 40 Zeichen · bis zu 4096 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/vps/ssh-keys' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"name":"string","public_key":"string"}'Antwort 201
{
"data": {}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
DEL/vps/ssh-keys/{key_id}Delete an SSH key (VPS that already have it keep it)
- Scope
vps:write - SchlüsselReseller-Schlüssel
- MCP-Tool
vps_ssh_keys_delete
DestruktivDas kann nicht rückgängig gemacht werden. MCP-Clients fragen vor dem Aufruf nach einer Bestätigung.
Parameter
key_idPfaderforderlichstringMuster ^[0-9]{1,12}$Anfrage
curl -X DELETE 'https://reseller.enzonic.com/api/v1/vps/ssh-keys/{key_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"deleted": false
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
Sub-users, API keys and SFTP
GET/servers/{server_id}/usersList the sub-users of a server and the permissions you can grant
- Scope
servers:users - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_users_list
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/servers/{server_id}/users' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"users": [
{
"id": "string",
"email": "string",
"name": "string",
"permissions": [
"string"
]
}
],
"permissions": [
{
"key": "string",
"label": "string",
"grantable": false
}
]
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/servers/{server_id}/usersGive an account of your store access to a server
- Scope
servers:users - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_users_create - WiederholungenIdempotency-Key wird unterstützt
The account must exist in your store with a verified email (create it with POST /customers). Permissions are the keys from GET /servers/{server_id}/users, e.g. `control.console`, `control.start`, `file.read`, `file.sftp`.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$emailBodyerforderlichstringbis zu 254 Zeichen · Muster ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$ · Format emailpermissionsBodyerforderlicharray of stringmindestens 1 Einträge · bis zu 80 EinträgeAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/{server_id}/users' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"email":"string","permissions":["string"]}'Antwort 201
{
"data": {
"id": "string",
"email": "string",
"name": "string",
"permissions": [
"string"
]
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
PATCH/servers/{server_id}/users/{user_id}Change a sub-user's permissions
- Scope
servers:users - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_users_update
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$user_idPfaderforderlichstringUser id (usr_...)bis zu 40 ZeichenpermissionsBodyerforderlicharray of stringmindestens 1 Einträge · bis zu 80 EinträgeAnfrage
curl -X PATCH 'https://reseller.enzonic.com/api/v1/servers/{server_id}/users/{user_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"permissions":["string"]}'Antwort 200
{
"data": {
"id": "string",
"email": "string",
"name": "string",
"permissions": [
"string"
]
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
DEL/servers/{server_id}/users/{user_id}Remove a sub-user's access (their console sessions are cut)
- Scope
servers:users - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_users_delete
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$user_idPfaderforderlichstringUser id (usr_...)bis zu 40 ZeichenAnfrage
curl -X DELETE 'https://reseller.enzonic.com/api/v1/servers/{server_id}/users/{user_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"removed": true
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/servers/{server_id}/sftpShow how to connect to a server over SFTP
- Scope
servers:files - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_sftp_get
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/servers/{server_id}/sftp' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"mode": "account_password",
"host": "string",
"port": 0,
"username": "string",
"note": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/servers/{server_id}/sftp/credentialsCreate or rotate the SFTP login of a server on Enzonic nodes (password shown once)
- Scope
servers:files - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_sftp_credentials
Every call makes a new password; the old one stops working. The login can only reach this server and only its files.
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/servers/{server_id}/sftp/credentials' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"host": "string",
"port": 0,
"username": "string",
"password": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
DEL/servers/{server_id}/sftp/credentialsRevoke the SFTP login of a server on Enzonic nodes
- Scope
servers:files - SchlüsselReseller- und Kundenschlüssel
- MCP-Tool
servers_sftp_revoke
Parameter
server_idPfaderforderlichstringServer id (srv_...)Muster ^srv_[0-9a-z]{16}$Anfrage
curl -X DELETE 'https://reseller.enzonic.com/api/v1/servers/{server_id}/sftp/credentials' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"revoked": true
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/customers/{customer_id}/api-keysList a customer's API keys
- Scope
customers:read - SchlüsselReseller-Schlüssel
- MCP-Tool
customers_api_keys_list
Parameter
customer_idPfaderforderlichstringUser id (usr_...)bis zu 40 ZeichenAnfrage
curl 'https://reseller.enzonic.com/api/v1/customers/{customer_id}/api-keys' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"id": "string",
"name": "string",
"scopes": [
"string"
],
"status": "string",
"created_at": "string"
}
]
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/customers/{customer_id}/api-keysCreate an API key for a customer (server scopes only; the token is shown once)
- Scope
customers:write - SchlüsselReseller-Schlüssel
- MCP-Tool
customers_api_keys_create - WiederholungenIdempotency-Key wird unterstützt
The key reaches only the servers that customer owns or is a sub-user of, with their permissions. To give someone a key for ONE server, add them as a sub-user of that server and create the key on their account.
Parameter
customer_idPfaderforderlichstringUser id (usr_...)bis zu 40 ZeichennameBodyerforderlichstringmindestens 1 Zeichen · bis zu 60 ZeichenscopesBodyerforderlicharray of stringEines von "servers:read", "servers:write", "servers:power", "servers:console", "servers:files", "servers:backups", "servers:users"mindestens 1 Einträgeallowed_ipsBodyarray of stringbis zu 20 Einträgeexpires_atBodystringMuster ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$ · Format date-timeAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/customers/{customer_id}/api-keys' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"name":"string","scopes":["servers:read"]}'Antwort 201
{
"data": {
"id": "string",
"token": "string",
"scopes": [
"string"
]
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
DEL/customers/{customer_id}/api-keys/{key_id}Revoke a customer's API key
- Scope
customers:write - SchlüsselReseller-Schlüssel
- MCP-Tool
customers_api_keys_revoke
Parameter
customer_idPfaderforderlichstringUser id (usr_...)bis zu 40 Zeichenkey_idPfaderforderlichstringbis zu 40 ZeichenAnfrage
curl -X DELETE 'https://reseller.enzonic.com/api/v1/customers/{customer_id}/api-keys/{key_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"revoked": true
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
Domains
GET/domainsList domains
- Scope
domains:read - SchlüsselReseller-Schlüssel
- MCP-Tool
domains_list
Your default address and every custom domain (at most 5), with verification status and the DNS records each one needs. Not paginated: the list is always short.
Parameter
Keine Parameter.
Anfrage
curl 'https://reseller.enzonic.com/api/v1/domains' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"id": "dom_0a2c4e6g8j0l2n4q",
"hostname": "aurora.enzonic.dev",
"kind": "default",
"status": "active",
"is_primary": true,
"verification_method": null,
"ssl_status": null,
"error": null,
"apex": false,
"required_records": [],
"last_checked_at": null,
"next_check_at": null,
"verified_at": null,
"grace_until": null,
"created_at": "2026-09-01T08:00:00.000Z"
},
{
"id": "dom_4h6k8m0p2r4t6v8x",
"hostname": "play.example.com",
"kind": "custom",
"status": "pending",
"is_primary": false,
"verification_method": "cf_saas",
"ssl_status": "pending_validation",
"error": "Waiting for the records below (hostname status: pending).",
"apex": false,
"required_records": [
{
"type": "CNAME",
"name": "play.example.com",
"value": "customers.enzonic.dev",
"purpose": "Sends visitors to your site."
},
{
"type": "TXT",
"name": "_enzonic-verify.play.example.com",
"value": "enzonic-verify=3k9q2m7x8c4v6b1n5z0p4r6t8w2y4a6d",
"purpose": "Proves you own the domain."
}
],
"last_checked_at": "2026-10-19T10:01:00.000Z",
"next_check_at": "2026-10-19T10:03:00.000Z",
"verified_at": null,
"grace_until": null,
"created_at": "2026-10-19T10:00:00.000Z"
}
]
}GET/domains/{domain_id}Get a domain
- Scope
domains:read - SchlüsselReseller-Schlüssel
- MCP-Tool
domains_get
Verification status, the last error and the DNS records to create. Reading does not run a check.
Parameter
domain_idPfaderforderlichstringDomain id (dom_...)Muster ^dom_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/domains/dom_4h6k8m0p2r4t6v8x' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "dom_4h6k8m0p2r4t6v8x",
"hostname": "play.example.com",
"kind": "custom",
"status": "pending",
"is_primary": false,
"verification_method": "cf_saas",
"ssl_status": "pending_validation",
"error": "Waiting for the records below (hostname status: pending).",
"apex": false,
"required_records": [
{
"type": "CNAME",
"name": "play.example.com",
"value": "customers.enzonic.dev",
"purpose": "Sends visitors to your site."
},
{
"type": "TXT",
"name": "_enzonic-verify.play.example.com",
"value": "enzonic-verify=3k9q2m7x8c4v6b1n5z0p4r6t8w2y4a6d",
"purpose": "Proves you own the domain."
}
],
"last_checked_at": "2026-10-19T10:01:00.000Z",
"next_check_at": "2026-10-19T10:03:00.000Z",
"verified_at": null,
"grace_until": null,
"created_at": "2026-10-19T10:00:00.000Z"
}
}POST/domainsConnect a custom domain
- Scope
domains:write - SchlüsselReseller-Schlüssel
- MCP-Tool
domains_create - WiederholungenIdempotency-Key wird unterstützt
Adds a domain you own (for example play.example.com) with the same rules as the admin: no reserved or platform names, no IP addresses, unique across all stores, at most 5. Then create the returned `required_records` at your DNS provider; the domain is checked automatically, or call the check endpoint. Send an Idempotency-Key to retry safely.
Parameter
hostnameBodyerforderlichstringDomain name. A pasted URL is accepted: the scheme, path and trailing dot are dropped.bis zu 300 ZeichenAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/domains' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"hostname":"play.example.com"}'Antwort 201
{
"data": {
"id": "dom_4h6k8m0p2r4t6v8x",
"hostname": "play.example.com",
"kind": "custom",
"status": "pending",
"is_primary": false,
"verification_method": "cf_saas",
"ssl_status": "pending_validation",
"error": "Waiting for the records below (hostname status: pending).",
"apex": false,
"required_records": [
{
"type": "CNAME",
"name": "play.example.com",
"value": "customers.enzonic.dev",
"purpose": "Sends visitors to your site."
},
{
"type": "TXT",
"name": "_enzonic-verify.play.example.com",
"value": "enzonic-verify=3k9q2m7x8c4v6b1n5z0p4r6t8w2y4a6d",
"purpose": "Proves you own the domain."
}
],
"last_checked_at": "2026-10-19T10:01:00.000Z",
"next_check_at": "2026-10-19T10:03:00.000Z",
"verified_at": null,
"grace_until": null,
"created_at": "2026-10-19T10:00:00.000Z"
}
}POST/domains/{domain_id}/checkCheck a domain now
- Scope
domains:write - SchlüsselReseller-Schlüssel
- MCP-Tool
domains_check
Looks up the DNS records (and the certificate) right away and returns the new status, like "Check now" in the admin. A failed domain starts a fresh 7-day verification window.
Parameter
domain_idPfaderforderlichstringDomain id (dom_...)Muster ^dom_[0-9a-z]{16}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/domains/dom_4h6k8m0p2r4t6v8x/check' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "dom_4h6k8m0p2r4t6v8x",
"hostname": "play.example.com",
"kind": "custom",
"status": "active",
"is_primary": false,
"verification_method": "cf_saas",
"ssl_status": "active",
"error": null,
"apex": false,
"required_records": [
{
"type": "CNAME",
"name": "play.example.com",
"value": "customers.enzonic.dev",
"purpose": "Sends visitors to your site."
},
{
"type": "TXT",
"name": "_enzonic-verify.play.example.com",
"value": "enzonic-verify=3k9q2m7x8c4v6b1n5z0p4r6t8w2y4a6d",
"purpose": "Proves you own the domain."
}
],
"last_checked_at": "2026-10-19T10:01:00.000Z",
"next_check_at": "2026-10-19T10:03:00.000Z",
"verified_at": "2026-10-19T10:05:00.000Z",
"grace_until": null,
"created_at": "2026-10-19T10:00:00.000Z"
}
}POST/domains/{domain_id}/primaryMake a domain the primary address
- Scope
domains:write - SchlüsselReseller-Schlüssel
- MCP-Tool
domains_primary
The primary domain is the main address of your store: links the platform builds for your store point to it. Only a verified, active domain can be primary; the default address can always be made primary again.
Parameter
domain_idPfaderforderlichstringDomain id (dom_...)Muster ^dom_[0-9a-z]{16}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/domains/dom_4h6k8m0p2r4t6v8x/primary' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "dom_4h6k8m0p2r4t6v8x",
"hostname": "play.example.com",
"kind": "custom",
"status": "active",
"is_primary": true,
"verification_method": "cf_saas",
"ssl_status": "pending_validation",
"error": null,
"apex": false,
"required_records": [
{
"type": "CNAME",
"name": "play.example.com",
"value": "customers.enzonic.dev",
"purpose": "Sends visitors to your site."
},
{
"type": "TXT",
"name": "_enzonic-verify.play.example.com",
"value": "enzonic-verify=3k9q2m7x8c4v6b1n5z0p4r6t8w2y4a6d",
"purpose": "Proves you own the domain."
}
],
"last_checked_at": "2026-10-19T10:01:00.000Z",
"next_check_at": "2026-10-19T10:03:00.000Z",
"verified_at": null,
"grace_until": null,
"created_at": "2026-10-19T10:00:00.000Z"
}
}DEL/domains/{domain_id}Remove a custom domain
- Scope
domains:write - SchlüsselReseller-Schlüssel
- MCP-Tool
domains_delete
DestruktivDas kann nicht rückgängig gemacht werden. MCP-Clients fragen vor dem Aufruf nach einer Bestätigung.
Disconnects the domain right away: visitors on it no longer reach your store and, if it was primary, the default address becomes primary. The default address cannot be removed.
Parameter
domain_idPfaderforderlichstringDomain id (dom_...)Muster ^dom_[0-9a-z]{16}$Anfrage
curl -X DELETE 'https://reseller.enzonic.com/api/v1/domains/dom_4h6k8m0p2r4t6v8x' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "dom_4h6k8m0p2r4t6v8x",
"hostname": "play.example.com",
"removed": true
}
}Nodes
GET/nodesList your nodes
- Scope
nodes:read - SchlüsselReseller-Schlüssel
- MCP-Tool
nodes_list
Nodes you run yourself (bring your own), newest first, with health and usage. The shared Enzonic pool is not listed.
Parameter
limitQueryintegerPage size, 1 to 100 (default 50).Standard 50min. 1 · max. 100cursorQuerystring`next_cursor` from the previous page.bis zu 200 ZeichenAnfrage
curl 'https://reseller.enzonic.com/api/v1/nodes' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"id": "nod_5j7l9n1q3s5u7w9y",
"name": "Node 1",
"location": "eu-central",
"fqdn": "node1.example.com",
"public_ip": "203.0.113.10",
"scheme": "https",
"daemon_port": 8080,
"sftp_port": 2022,
"memory_mb": 32768,
"memory_overalloc_pct": 0,
"disk_mb": 409600,
"disk_overalloc_pct": 0,
"health": {
"status": "online",
"maintenance": false,
"wings_version": "1.11.13",
"last_seen_at": "2026-10-19T10:00:00.000Z",
"last_checked_at": "2026-10-19T10:00:00.000Z",
"consecutive_failures": 0,
"last_error": null
},
"usage": {
"ram_mb": 12288,
"disk_mb": 61440,
"servers": 3,
"allocations_total": 50,
"allocations_free": 47
},
"created_at": "2026-10-01T09:00:00.000Z"
}
],
"next_cursor": null
}GET/nodes/{node_id}Get a node
- Scope
nodes:read - SchlüsselReseller-Schlüssel
- MCP-Tool
nodes_get
Settings, health and usage of one of your nodes. Daemon tokens are never returned.
Parameter
node_idPfaderforderlichstringNode id (nod_...)Muster ^nod_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/nodes/nod_5j7l9n1q3s5u7w9y' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "nod_5j7l9n1q3s5u7w9y",
"name": "Node 1",
"location": "eu-central",
"fqdn": "node1.example.com",
"public_ip": "203.0.113.10",
"scheme": "https",
"daemon_port": 8080,
"sftp_port": 2022,
"memory_mb": 32768,
"memory_overalloc_pct": 0,
"disk_mb": 409600,
"disk_overalloc_pct": 0,
"health": {
"status": "online",
"maintenance": false,
"wings_version": "1.11.13",
"last_seen_at": "2026-10-19T10:00:00.000Z",
"last_checked_at": "2026-10-19T10:00:00.000Z",
"consecutive_failures": 0,
"last_error": null
},
"usage": {
"ram_mb": 12288,
"disk_mb": 61440,
"servers": 3,
"allocations_total": 50,
"allocations_free": 47
},
"created_at": "2026-10-01T09:00:00.000Z"
}
}GET/nodes/{node_id}/statusGet the health of a node
- Scope
nodes:read - SchlüsselReseller-Schlüssel
- MCP-Tool
nodes_status
The last recorded health (the platform checks every node regularly). To contact the node now, use the test endpoint.
Parameter
node_idPfaderforderlichstringNode id (nod_...)Muster ^nod_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/nodes/nod_5j7l9n1q3s5u7w9y/status' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"status": "online",
"maintenance": false,
"wings_version": "1.11.13",
"last_seen_at": "2026-10-19T10:00:00.000Z",
"last_checked_at": "2026-10-19T10:00:00.000Z",
"consecutive_failures": 0,
"last_error": null
}
}POST/nodesAdd your own node
- Scope
nodes:write - SchlüsselReseller-Schlüssel
- MCP-Tool
nodes_create - WiederholungenIdempotency-Key wird unterstützt
Registers a server you run yourself, with the same rules as the admin. It stays `pending` until Wings is installed and answers: get the install command from the install-command endpoint, and add port allocations in the admin. Send an Idempotency-Key to retry safely.
Parameter
nameBodyerforderlichstringUp to 64 characters.bis zu 200 ZeichenlocationBodystringShort code such as eu-central (letters, digits, hyphens).bis zu 200 ZeichenfqdnBodyerforderlichstringHostname (node1.example.com) or IP address Wings is reachable on.bis zu 300 Zeichenpublic_ipBodyerforderlichstringPublic IPv4 address players connect to.bis zu 100 ZeichenschemeBodystringDefault https.Eines von "http", "https"daemon_portBodynumberWings API port, default 8080.sftp_portBodynumberSFTP port, default 2022.memory_mbBodyerforderlichnumberMemory for servers, 512 or more.memory_overalloc_pctBodynumber0 to 500, default 0.disk_mbBodyerforderlichnumberDisk for servers, 1024 or more.disk_overalloc_pctBodynumber0 to 500, default 0.Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/nodes' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"name": "Node 1",
"location": "eu-central",
"fqdn": "node1.example.com",
"public_ip": "203.0.113.10",
"memory_mb": 32768,
"disk_mb": 409600
}'Antwort 201
{
"data": {
"id": "nod_5j7l9n1q3s5u7w9y",
"name": "Node 1",
"location": "eu-central",
"fqdn": "node1.example.com",
"public_ip": "203.0.113.10",
"scheme": "https",
"daemon_port": 8080,
"sftp_port": 2022,
"memory_mb": 32768,
"memory_overalloc_pct": 0,
"disk_mb": 409600,
"disk_overalloc_pct": 0,
"health": {
"status": "pending",
"maintenance": false,
"wings_version": null,
"last_seen_at": null,
"last_checked_at": null,
"consecutive_failures": 0,
"last_error": null
},
"usage": {
"ram_mb": 0,
"disk_mb": 0,
"servers": 0,
"allocations_total": 0,
"allocations_free": 0
},
"created_at": "2026-10-19T10:00:00.000Z"
}
}POST/nodes/{node_id}/testTest the connection to a node
- Scope
nodes:write - SchlüsselReseller-Schlüssel
- MCP-Tool
nodes_test
Contacts Wings on the node now (8 second timeout), records the result like the regular health check and returns it.
Parameter
node_idPfaderforderlichstringNode id (nod_...)Muster ^nod_[0-9a-z]{16}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/nodes/nod_5j7l9n1q3s5u7w9y/test' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"ok": true,
"version": "1.11.13",
"error": null,
"health": {
"status": "online",
"maintenance": false,
"wings_version": "1.11.13",
"last_seen_at": "2026-10-19T10:00:00.000Z",
"last_checked_at": "2026-10-19T10:00:00.000Z",
"consecutive_failures": 0,
"last_error": null
}
}
}POST/nodes/{node_id}/install-commandCreate a one-time install command for a node
- Scope
nodes:write - SchlüsselReseller-Schlüssel
- MCP-Tool
nodes_install_command_create
Returns the one-line command that installs and configures Wings on the node, like "Generate install command" in the admin. It contains a new single-use token valid for one hour that replaces any earlier one. SECRET: it is shown only in this response; keep it private and create a new one if it leaks or expires.
Parameter
node_idPfaderforderlichstringNode id (nod_...)Muster ^nod_[0-9a-z]{16}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/nodes/nod_5j7l9n1q3s5u7w9y/install-command' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"command": "curl -fsSL https://reseller.enzonic.com/install/wings.sh | sudo bash -s -- --panel https://reseller.enzonic.com --node nod_5j7l9n1q3s5u7w9y --token ezd_EXAMPLEexampleEXAMPLEexampleEXAMPLEexample0000",
"expires_at": "2026-10-19T11:00:00.000Z",
"shown_once": true
}
}Seite
GET/site/pagesList storefront pages
- Scope
site:read - SchlüsselReseller-Schlüssel
- MCP-Tool
site_pages_list
Every page of your storefront in navigation order, with draft or published status. Not paginated: a store has at most 30 pages.
Parameter
Keine Parameter.
Anfrage
curl 'https://reseller.enzonic.com/api/v1/site/pages' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"id": "pg_6k8m0p2r4t6v8x0z",
"title": "About",
"slug": "about",
"kind": "about",
"status": "published",
"nav_visible": true,
"seo_title": "About Aurora Hosting",
"seo_description": "Who we are and how we run your servers.",
"path": "/about",
"url": "https://aurora.enzonic.dev/about",
"has_unpublished_changes": true,
"updated_at": "2026-10-19T09:40:00.000Z",
"published_at": "2026-10-12T16:00:00.000Z"
}
]
}GET/site/pages/{page_id}Get a page with its draft and published content
- Scope
site:read - SchlüsselReseller-Schlüssel
- MCP-Tool
site_pages_get
Returns the page settings, the draft document, the live (published) document and recent revisions.
Parameter
page_idPfaderforderlichstringPage id (pg_...)Muster ^pg_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/site/pages/pg_6k8m0p2r4t6v8x0z' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"page": {
"id": "pg_6k8m0p2r4t6v8x0z",
"title": "About",
"slug": "about",
"kind": "about",
"status": "published",
"nav_visible": true,
"seo_title": "About Aurora Hosting",
"seo_description": "Who we are and how we run your servers.",
"path": "/about",
"url": "https://aurora.enzonic.dev/about",
"has_unpublished_changes": true,
"updated_at": "2026-10-19T09:40:00.000Z",
"published_at": "2026-10-12T16:00:00.000Z"
},
"draft": {
"v": 1,
"blocks": [
{
"id": "b7k2m9q4x1",
"type": "richtext",
"data": {
"html": "<p>We host Minecraft servers for our community.</p>"
},
"style": {
"tone": "default",
"pad": "md",
"width": "normal",
"align": "left",
"anchor": ""
}
}
]
},
"published": {
"v": 1,
"blocks": [
{
"id": "b7k2m9q4x1",
"type": "richtext",
"data": {
"html": "<p>We host Minecraft servers for our community.</p>"
},
"style": {
"tone": "default",
"pad": "md",
"width": "normal",
"align": "left",
"anchor": ""
}
}
]
},
"revisions": [
{
"id": "rev_1b3d5f7h9k1m3p5r",
"title": "About",
"created_at": "2026-10-12T16:00:00.000Z"
}
]
}
}PATCH/site/pages/{page_id}Update a page's draft
- Scope
site:write - SchlüsselReseller-Schlüssel
- MCP-Tool
site_pages_update
Saves the draft only (the live site does not change until you publish). Send only the fields to change. `doc` is validated exactly like the visual editor (block types, lengths, safe links and images); errors list each problem in `details.issues`.
Parameter
page_idPfaderforderlichstringPage id (pg_...)Muster ^pg_[0-9a-z]{16}$docBodyanyFull page document `{ "v": 1, "blocks": [...] }`; replaces the whole draft.titleBodystringPage title, at most 60 characters.slugBodystringCustom pages only: 1-48 lowercase letters, numbers and dashes (ignored for other pages).nav_visibleBodybooleanseo_titleBodystringAt most 70 characters.seo_descriptionBodystringAt most 160 characters.Anfrage
curl -X PATCH 'https://reseller.enzonic.com/api/v1/site/pages/pg_6k8m0p2r4t6v8x0z' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "About us",
"doc": {
"v": 1,
"blocks": [
{
"id": "b7k2m9q4x1",
"type": "richtext",
"data": {
"html": "<p>We host Minecraft servers for our community.</p>"
},
"style": {
"tone": "default",
"pad": "md",
"width": "normal",
"align": "left",
"anchor": ""
}
}
]
}
}'Antwort 200
{
"data": {
"id": "pg_6k8m0p2r4t6v8x0z",
"title": "About us",
"slug": "about",
"kind": "about",
"status": "published",
"nav_visible": true,
"seo_title": "About Aurora Hosting",
"seo_description": "Who we are and how we run your servers.",
"path": "/about",
"url": "https://aurora.enzonic.dev/about",
"has_unpublished_changes": true,
"updated_at": "2026-10-19T09:40:00.000Z",
"published_at": "2026-10-12T16:00:00.000Z"
}
}POST/site/pages/{page_id}/publishPublish a page to the live storefront
- Scope
site:write - SchlüsselReseller-Schlüssel
- MCP-Tool
site_pages_publish
Makes the current draft live on your public storefront right away: every visitor sees it. The draft is validated again first and a revision is recorded (the last 10 are kept), so an earlier version can be restored in the editor.
Parameter
page_idPfaderforderlichstringPage id (pg_...)Muster ^pg_[0-9a-z]{16}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/site/pages/pg_6k8m0p2r4t6v8x0z/publish' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"page": {
"id": "pg_6k8m0p2r4t6v8x0z",
"title": "About",
"slug": "about",
"kind": "about",
"status": "published",
"nav_visible": true,
"seo_title": "About Aurora Hosting",
"seo_description": "Who we are and how we run your servers.",
"path": "/about",
"url": "https://aurora.enzonic.dev/about",
"has_unpublished_changes": false,
"updated_at": "2026-10-19T09:40:00.000Z",
"published_at": "2026-10-19T10:00:00.000Z"
},
"draft": {
"v": 1,
"blocks": [
{
"id": "b7k2m9q4x1",
"type": "richtext",
"data": {
"html": "<p>We host Minecraft servers for our community.</p>"
},
"style": {
"tone": "default",
"pad": "md",
"width": "normal",
"align": "left",
"anchor": ""
}
}
]
},
"published": {
"v": 1,
"blocks": [
{
"id": "b7k2m9q4x1",
"type": "richtext",
"data": {
"html": "<p>We host Minecraft servers for our community.</p>"
},
"style": {
"tone": "default",
"pad": "md",
"width": "normal",
"align": "left",
"anchor": ""
}
}
]
},
"revisions": [
{
"id": "rev_2c4e6g8j0l2n4q6s",
"title": "About",
"created_at": "2026-10-19T10:00:00.000Z"
}
]
}
}Software
GET/softwareList the software catalogue with your store switches
- Scope
software:read - SchlüsselReseller-Schlüssel
- MCP-Tool
software_list
Every server software the platform offers (Minecraft loaders, Discord bot runtimes, other games) and whether your store sells it. Filter with `kind` or `active`.
Parameter
kindQuerystringEines von "minecraft", "discord_bot", "game", "voice", "runtime"activeQuerybooleantrue = only what your store sellsAnfrage
curl 'https://reseller.enzonic.com/api/v1/software' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"id": "egg_paper",
"slug": "paper",
"kind": "minecraft",
"name": "Paper",
"display_name": null,
"description": null,
"loader": "paper",
"active": true,
"default": true,
"on_enzonic_nodes": true,
"enzonic_regions": [
"Europe",
"North America",
"Asia"
],
"sort": 10
}
]
}GET/software/{software_id}Get one software entry
- Scope
software:read - SchlüsselReseller-Schlüssel
- MCP-Tool
software_get
Parameter
software_idPfaderforderlichstringSoftware id (egg_...)Muster ^egg_[0-9a-z_]{1,40}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/software/egg_paper' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "egg_paper",
"slug": "paper",
"kind": "minecraft",
"name": "Paper",
"display_name": null,
"description": null,
"loader": "paper",
"active": true,
"default": true,
"on_enzonic_nodes": true,
"enzonic_regions": [
"Europe",
"North America",
"Asia"
],
"sort": 10
}
}GET/software/{software_id}/versionsList the versions a software can install
- Scope
software:read - SchlüsselReseller-Schlüssel
- MCP-Tool
software_versions
Game versions for Minecraft loaders, newest first, with `latest` first. Other kinds return `latest`.
Parameter
software_idPfaderforderlichstringSoftware id (egg_...)Muster ^egg_[0-9a-z_]{1,40}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/software/egg_paper/versions' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
"latest",
"1.21.4",
"1.21.3"
]
}PATCH/software/{software_id}Turn software on or off for your store, or rename it
- Scope
software:write - SchlüsselReseller-Schlüssel
- MCP-Tool
software_update
Same rules as Admin > Games & software. Turning software off hides it from your storefront and refuses new orders and switches to it; existing servers keep running. Send `display_name: ""` to go back to the platform name.
Parameter
software_idPfaderforderlichstringSoftware id (egg_...)Muster ^egg_[0-9a-z_]{1,40}$activeBodybooleandisplay_nameBodystring or nullAt most 60 characters; empty clears itbis zu 200 ZeichendescriptionBodystring or nullAt most 200 characters; empty clears itbis zu 1000 ZeichensortBodyinteger or nullDisplay order; null = platform orderAnfrage
curl -X PATCH 'https://reseller.enzonic.com/api/v1/software/egg_discord_js' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"active":true,"display_name":"Discord bot (Node.js)"}'Antwort 200
{
"data": {
"id": "egg_discord_js",
"slug": "discord-js",
"kind": "discord_bot",
"name": "discord.js",
"display_name": "Discord bot (Node.js)",
"description": null,
"loader": "nodejs",
"active": true,
"default": false,
"on_enzonic_nodes": true,
"enzonic_regions": [
"Europe",
"North America",
"Asia"
],
"sort": 10
}
}Webhooks
GET/webhooks/eventsList the events you can subscribe to
- Scope
webhooks:write - SchlüsselReseller-Schlüssel
- MCP-Tool
webhooks_events
Parameter
Keine Parameter.
Anfrage
curl 'https://reseller.enzonic.com/api/v1/webhooks/events' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"name": "server.created",
"description": "A server was created (order, grant or API)."
}
]
}GET/webhooksList webhook endpoints
- Scope
webhooks:write - SchlüsselReseller-Schlüssel
- MCP-Tool
webhooks_list
Parameter
Keine Parameter.
Anfrage
curl 'https://reseller.enzonic.com/api/v1/webhooks' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"id": "whk_6m8p0r2t4v6x8z0b",
"url": "https://hooks.example.com/enzonic",
"description": "Discord bot",
"events": [
"server.created",
"order.paid"
],
"active": true,
"last_success_at": null,
"last_failure_at": null,
"created_at": "2026-10-19T10:00:00.000Z",
"updated_at": "2026-10-19T10:00:00.000Z"
}
]
}GET/webhooks/{webhook_id}Get a webhook endpoint
- Scope
webhooks:write - SchlüsselReseller-Schlüssel
- MCP-Tool
webhooks_get
Parameter
webhook_idPfaderforderlichstringWebhook endpoint id (whk_...)Muster ^whk_[0-9a-z]{16}$Anfrage
curl 'https://reseller.enzonic.com/api/v1/webhooks/{webhook_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "string",
"url": "string",
"description": "string",
"events": [
"string"
],
"active": false,
"last_success_at": "string",
"last_failure_at": "string",
"created_at": "string",
"updated_at": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/webhooksCreate a webhook endpoint
- Scope
webhooks:write - SchlüsselReseller-Schlüssel
- MCP-Tool
webhooks_create - WiederholungenIdempotency-Key wird unterstützt
The URL must be public https (port 443); private, loopback and Enzonic addresses are refused. The response contains the signing `secret` ONCE: store it to verify the Enzonic-Signature header. At most 10 endpoints.
Parameter
urlBodyerforderlichstringbis zu 2048 ZeicheneventsBodyerforderlicharray of stringEines von "server.created", "server.installed", "server.suspended", "server.unsuspended", "server.deleted", "order.paid", "subscription.cancelled", "invoice.paid", "invoice.payment_failed", "customer.created", "ticket.created", "ticket.replied", "backup.completed"mindestens 1 Einträge · bis zu 13 EinträgedescriptionBodystringbis zu 200 ZeichenactiveBodybooleanAnfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/webhooks' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"url": "https://hooks.example.com/enzonic",
"events": [
"server.created",
"order.paid"
],
"description": "Discord bot"
}'Antwort 201
{
"data": {
"id": "whk_6m8p0r2t4v6x8z0b",
"url": "https://hooks.example.com/enzonic",
"description": "Discord bot",
"events": [
"server.created",
"order.paid"
],
"active": true,
"last_success_at": null,
"last_failure_at": null,
"created_at": "2026-10-19T10:00:00.000Z",
"updated_at": "2026-10-19T10:00:00.000Z",
"secret": "whsec_k4Xb9..."
}
}PATCH/webhooks/{webhook_id}Update a webhook endpoint
- Scope
webhooks:write - SchlüsselReseller-Schlüssel
- MCP-Tool
webhooks_update
Parameter
webhook_idPfaderforderlichstringWebhook endpoint id (whk_...)Muster ^whk_[0-9a-z]{16}$urlBodystringbis zu 2048 ZeicheneventsBodyarray of stringEines von "server.created", "server.installed", "server.suspended", "server.unsuspended", "server.deleted", "order.paid", "subscription.cancelled", "invoice.paid", "invoice.payment_failed", "customer.created", "ticket.created", "ticket.replied", "backup.completed"mindestens 1 Einträge · bis zu 13 EinträgedescriptionBodystringbis zu 200 ZeichenactiveBodybooleanAnfrage
curl -X PATCH 'https://reseller.enzonic.com/api/v1/webhooks/{webhook_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Antwort 200
{
"data": {
"id": "string",
"url": "string",
"description": "string",
"events": [
"string"
],
"active": false,
"last_success_at": "string",
"last_failure_at": "string",
"created_at": "string",
"updated_at": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
DEL/webhooks/{webhook_id}Delete a webhook endpoint
- Scope
webhooks:write - SchlüsselReseller-Schlüssel
- MCP-Tool
webhooks_delete
DestruktivDas kann nicht rückgängig gemacht werden. MCP-Clients fragen vor dem Aufruf nach einer Bestätigung.
Stops all deliveries to it and deletes its delivery history.
Parameter
webhook_idPfaderforderlichstringWebhook endpoint id (whk_...)Muster ^whk_[0-9a-z]{16}$Anfrage
curl -X DELETE 'https://reseller.enzonic.com/api/v1/webhooks/{webhook_id}' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "string",
"deleted": true
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/webhooks/{webhook_id}/rotate-secretReplace the signing secret
- Scope
webhooks:write - SchlüsselReseller-Schlüssel
- MCP-Tool
webhooks_rotate_secret
The old secret stops working immediately. The new one is returned once.
Parameter
webhook_idPfaderforderlichstringWebhook endpoint id (whk_...)Muster ^whk_[0-9a-z]{16}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/webhooks/{webhook_id}/rotate-secret' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "string",
"url": "string",
"description": "string",
"events": [
"string"
],
"active": false,
"last_success_at": "string",
"last_failure_at": "string",
"created_at": "string",
"updated_at": "string",
"secret": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/webhooks/{webhook_id}/testSend a test event now
- Scope
webhooks:write - SchlüsselReseller-Schlüssel
- MCP-Tool
webhooks_test
Sends a signed `ping` event right away and returns the delivery with the response it got.
Parameter
webhook_idPfaderforderlichstringWebhook endpoint id (whk_...)Muster ^whk_[0-9a-z]{16}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/webhooks/{webhook_id}/test' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "string",
"endpoint_id": "string",
"event": "string",
"status": "pending",
"attempts": 0,
"next_attempt_at": "string",
"last_attempt_at": "string",
"response_status": 0,
"response_body": "string",
"error": "string",
"created_at": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
GET/webhooks/{webhook_id}/deliveriesList recent deliveries of an endpoint
- Scope
webhooks:write - SchlüsselReseller-Schlüssel
- MCP-Tool
webhooks_deliveries_list
Newest first; deliveries are kept 30 days.
Parameter
webhook_idPfaderforderlichstringWebhook endpoint id (whk_...)Muster ^whk_[0-9a-z]{16}$limitQueryintegerPage size, 1 to 100 (default 50).Standard 50min. 1 · max. 100cursorQuerystring`next_cursor` from the previous page.bis zu 200 ZeichenAnfrage
curl 'https://reseller.enzonic.com/api/v1/webhooks/{webhook_id}/deliveries' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": [
{
"id": "string",
"endpoint_id": "string",
"event": "string",
"status": "pending",
"attempts": 0,
"next_attempt_at": "string",
"last_attempt_at": "string",
"response_status": 0,
"response_body": "string",
"error": "string",
"created_at": "string"
}
],
"next_cursor": null
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
POST/webhooks/{webhook_id}/deliveries/{delivery_id}/retryRetry a delivery now
- Scope
webhooks:write - SchlüsselReseller-Schlüssel
- MCP-Tool
webhooks_deliveries_retry
Parameter
webhook_idPfaderforderlichstringWebhook endpoint id (whk_...)Muster ^whk_[0-9a-z]{16}$delivery_idPfaderforderlichstringDelivery id (whd_...)Muster ^whd_[0-9a-z]{16}$Anfrage
curl -X POST 'https://reseller.enzonic.com/api/v1/webhooks/{webhook_id}/deliveries/{delivery_id}/retry' \
-H "Authorization: Bearer $ENZONIC_API_KEY"Antwort 200
{
"data": {
"id": "string",
"endpoint_id": "string",
"event": "string",
"status": "pending",
"attempts": 0,
"next_attempt_at": "string",
"last_attempt_at": "string",
"response_status": 0,
"response_body": "string",
"error": "string",
"created_at": "string"
}
}Form aus dem Schema erzeugt; die Werte sind Platzhalter.
Webhooks
Dein Server erhält einen signierten POST, wenn in deinem Shop etwas passiert. Verwalte Endpunkte unter Admin > API & MCP oder mit den Webhook-Endpunkten.
| Ereignis | Wann |
|---|---|
server.created | Ein Server wurde erstellt (Bestellung, Zuweisung oder API). |
server.installed | Ein Server hat die Installation abgeschlossen und kann gestartet werden. |
server.suspended | Ein Server wurde gesperrt (Abrechnung, Missbrauch oder durch dich). |
server.unsuspended | Ein gesperrter Server wurde wieder freigegeben. |
server.deleted | Ein Server wurde gelöscht. |
order.paid | Ein Kunde hat eine Bestellung bezahlt. |
subscription.cancelled | Ein Abonnement wurde gekündigt. |
invoice.paid | Eine Rechnung wurde bezahlt. |
invoice.payment_failed | Eine Zahlung für eine Rechnung ist fehlgeschlagen. |
customer.created | Ein Kundenkonto wurde erstellt. |
ticket.created | Ein Kunde hat ein Support-Ticket eröffnet. |
ticket.replied | Ein Kunde hat auf ein Support-Ticket geantwortet. |
backup.completed | Ein Backup ist abgeschlossen (erfolgreich oder nicht). |
Was ankommt
Ein JSON-Body mit dem Ereignis und seinen Daten sowie den Headern Enzonic-Event, Enzonic-Delivery (die Zustellungs-ID, bei Wiederholungen gleich) und Enzonic-Signature.
{
"id": "whd_9k2m4p6r8t0v2x4z",
"type": "server.suspended",
"created_at": "2026-10-19T12:00:00.000Z",
"store": "ten_aurora0000000000",
"data": {
"server": {
"id": "srv_7f3kq9m2x8c4v6b1",
"name": "Survival SMP",
"status": "suspended",
"customer_id": "usr_2b4d6f8h0j2l4n6q",
"plan_id": "pln_3c5e7g9j1l3n5p7r",
"address": "survival.aurora.enzonic.dev"
},
"reason": "payment_overdue"
}
}Signatur prüfen
Enzonic-Signature ist t=<unix seconds>,v1=<hex HMAC-SHA256 von "<t>.<raw body>" mit deinem Endpoint-Secret>. Vergleiche in konstanter Zeit und lehne alte Zeitstempel ab.
import crypto from 'node:crypto';
// rawBody: the request body as a string, exactly as received
export function verifyEnzonic(rawBody, header, secret, toleranceSec = 300) {
const parts = Object.fromEntries(header.split(',').map((p) => p.split('=')));
const t = Number(parts.t);
if (!t || Math.abs(Date.now() / 1000 - t) > toleranceSec) return false;
const expected = crypto.createHmac('sha256', secret).update(`${t}.${rawBody}`).digest('hex');
const a = Buffer.from(expected);
const b = Buffer.from(parts.v1 ?? '');
return a.length === b.length && crypto.timingSafeEqual(a, b);
}import hashlib, hmac, time
def verify_enzonic(raw_body: bytes, header: str, secret: str, tolerance: int = 300) -> bool:
parts = dict(p.split("=", 1) for p in header.split(",") if "=" in p)
try:
t = int(parts.get("t", ""))
except ValueError:
return False
if abs(time.time() - t) > tolerance:
return False
signed = f"{t}.".encode() + raw_body
expected = hmac.new(secret.encode(), signed, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, parts.get("v1", ""))<?php
function verify_enzonic(string $rawBody, string $header, string $secret, int $tolerance = 300): bool {
$parts = [];
foreach (explode(',', $header) as $p) {
[$k, $v] = array_pad(explode('=', $p, 2), 2, '');
$parts[$k] = $v;
}
$t = (int) ($parts['t'] ?? 0);
if ($t === 0 || abs(time() - $t) > $tolerance) return false;
$expected = hash_hmac('sha256', $t . '.' . $rawBody, $secret);
return hash_equals($expected, $parts['v1'] ?? '');
}
// $ok = verify_enzonic(file_get_contents('php://input'), $_SERVER['HTTP_ENZONIC_SIGNATURE'] ?? '', $secret);Wiederholungen
Antworte innerhalb von 10 Sekunden mit einem beliebigen 2xx. Andernfalls wird die Zustellung nach 1 Minute, 5 Minuten, 30 Minuten, 2 Stunden, 6 Stunden wiederholt; danach wird sie als fehlgeschlagen markiert und kann manuell erneut gesendet werden. Weiterleitungen werden nicht verfolgt. Der Absender verarbeitet bis zu 20 Zustellungen pro Minute.
Endpoints müssen öffentliche https-URLs auf Port 443 sein. Private, Loopback- und Enzonic-Adressen werden abgelehnt, auch wenn ein Hostname zum Sendezeitpunkt auf eine solche Adresse auflöst.
MCP für Claude und andere Clients
Dieselben Schlüssel und Scopes als Model-Context-Protocol-Tools. Claude kann deinen Shop lesen und darin handeln und fragt dich, bevor es etwas Unumkehrbares tut.
https://reseller.enzonic.com/mcp- Streamable HTTP, JSON-Antworten. Außerdem auf deinem Shop-Host unter /mcp erreichbar.
- Ein Tool pro Endpunkt oben, benannt danach (servers.list wird zu servers_list), mit derselben Eingabe und denselben Prüfungen. Ein Schlüssel sieht nur die Tools, die seine Scopes erlauben.
- Ressourcen: enzonic://openapi.json (diese API) und enzonic://store (dein Shop, der Schlüssel und seine wirksamen Scopes).
- Protokollversionen 2025-03-26 bis 2025-11-25 (initialize) und 2026-07-28 (Metadaten pro Anfrage) werden unterstützt.
- Tool-Ergebnisse sind Shop-Daten und können Texte enthalten, die deine Kunden geschrieben haben. Clients sollten sie immer als Daten behandeln, niemals als Anweisungen.
Claude Code
claude mcp add --transport http enzonic https://reseller.enzonic.com/mcp \
--header "Authorization: Bearer enz_live_..."Claude Desktop
Claude Desktop startet lokale MCP-Server über seine Konfigurationsdatei. Die mcp-remote-Brücke verbindet es mit diesem HTTP-Server und fügt deinen Schlüssel als Header hinzu:
{
"mcpServers": {
"enzonic": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://reseller.enzonic.com/mcp",
"--header",
"Authorization:${ENZONIC_AUTH}"
],
"env": {
"ENZONIC_AUTH": "Bearer enz_live_..."
}
}
}
}Andere Clients
Jeder MCP-Client, der Streamable HTTP mit einem eigenen Authorization-Header unterstützt, funktioniert. Die übliche Struktur seiner Konfiguration:
{
"url": "https://reseller.enzonic.com/mcp",
"transport": "streamable-http",
"headers": {
"Authorization": "Bearer enz_live_..."
}
}Connectors, die nur eine OAuth-Anmeldung anbieten, können noch keine API-Schlüssel nutzen. Nutze Claude Code oder die Brücke oben.
Versionierung und Änderungsprotokoll
Version 1.0.0. Innerhalb von v1 sind Änderungen nur ergänzend: neue Endpunkte, neue optionale Felder, neue Fehlercodes und neue Webhook-Ereignisse. Ignoriere Felder, die du nicht kennst. Eine inkompatible Änderung erscheint als /api/v2 und wird mindestens sechs Monate vor Änderungen an v1 angekündigt.
- API v1 veröffentlicht: 149 Endpunkte, Webhooks und der MCP-Server.
Fragen oder ein fehlender Endpunkt? support@enzonic.com