Skip to content
ZAP Customer API

REST API for developers

Connect your applications, bots, and tools to your ZAP-Hosting services. Manage game servers, VPS, dedicated servers, and TeamSpeak, or integrate orders and upgrades.

ClaudeCursorChatGPTGemini

API access is included with ZapX Pass, in every ZapX Pass tier.

Getting started

Start in 3 steps

Create an API key and send your first request in a few minutes.

  1. 1

    Create API key

    Create a key under Settings → API access and set the permissions you need.

    Go to API access
  2. 2

    Send your first request

    Pass your key in the Authorization header. /me shows you whether it works and which permissions it has.

  3. 3

    Use the documentation

    In the interactive API reference, you'll find all endpoints, examples, and the OpenAPI specification.

    API reference

First request (curl)

$ curl -s https://zap-hosting.com/api/v1/me \
  -H "Authorization: Bearer zapx_…" \
  -H "Accept: application/json"
200 OK· application/json
{
  "success": true,
  "data": {
    "userId": "usr_01HXYZ",
    "token": {
      "id": "cltok_01HXYZ",
      "name": "Automation",
      "accountPermissions": ["orders.view", "orders.create"],
      "serviceGrants": [
        {
          "serviceType": "gameserver",
          "serviceId": "clgs_01HXYZ",
          "permissions": ["gameserver.view", "gameserver.start"]
        }
      ],
      "typeGrants": []
    }
  }
}

Use cases

Build your own integration

Whether it's a community bot, your own dashboard, or an order process: the API connects your application to your ZAP-Hosting services.

Integrate server management into your application

Display status, backups, and configurations in your own interface and run approved server actions.

  • Display services and their status
  • Manage backups and files
  • Restrict access to individual services

Monitor status and console logs in real time

Use current status data and console logs as Server-Sent Events for your monitoring and your notifications.

  • Retrieve the current service status
  • Receive console logs as a data stream
  • Trigger notifications for important events

Integrate orders and upgrades

Order new services or adjust existing packages directly in your application.

  • Trigger orders
  • Upgrades with price preview
  • Retrieve the status of package changes

Supported services

The right endpoints for your services

The Customer API covers game servers, VPS, dedicated servers, and TeamSpeak, as well as orders and package changes.

Game Server

Manage console, files, backups, server actions, and mods.

GET /api/v1/gameservers/{id}/console/logs

VPS

Control firewall, console, backups, and server management.

GET /api/v1/vservers/{id}/firewall

Dedicated Server

Manage server actions, reinstall, traffic, rescue, and DDoS.

GET /api/v1/dedicated-servers/{id}

TeamSpeak

Automate configuration, clients, bans, and tokens.

GET /api/v1/teamspeak-servers/{id}

Order & Upgrade

Order new services and adjust packages with price preview.

POST /api/v1/orders

Access and security

API keys and permissions

Stay in control of which services and actions your integration is allowed to use.

API key (Bearer)

Send your key in the Authorization header with every request to /api/v1/*. You can create or replace keys at any time under Settings → API access.

Permissions per service

Define which services and actions your integration is allowed to access.

Asynchronous operations

For longer-running actions, you receive an operation ID and can query the progress via the API.

REST API in ZapX Passin every ZapX Pass tier – create API keys directly in the settings with an active ZapX Pass

View ZapX Pass

Developer tools

Everything for your integration

Use the API reference, the OpenAPI specification, or our Postman Collection to get started.

Interactive API reference

Try out all endpoints with examples directly in your browser.

OpenAPI

Specification (OpenAPI 3.1) for your own clients and code generators.

Postman

Ready-made collection for quickly testing your requests.

API vs. MCP

REST API or MCP?

Choose the REST API for your own applications and MCP for working directly with your AI client.

Customer REST API

For your own applications, bots, dashboards, and automations.

  • Individual workflows and full control over requests
  • Orders and package changes from your application
  • Real-time logs and asynchronous operations

MCP Connect

For Claude, ChatGPT, Cursor, Gemini, and other AI clients with OAuth.

  • Status, backups, and server control in chat
  • Set permissions per AI client
  • Practical for everyday management

FAQ

Frequently asked API questions

Everything important about your own ZapX integrations.

What can I use the Customer API for?

For your own tools, apps, and automations.

Connect ZAP-Hosting to your dashboard, a bot, or your own application. You can query services, manage servers, integrate backups, and trigger orders from your application.

Which ZapX services can I manage via the API?

Game servers, VPS, dedicated servers, and TeamSpeak.

The Customer API provides functions for your existing game servers, VPS, dedicated servers, and TeamSpeak servers. Which areas are available depends on your account and the respective access rights.

How do I authenticate?

With a personal API key.

Create an API key under Settings → API access and send it in the Authorization header with every request. You can find matching examples in the API documentation.

API or MCP?

The right interface for your use case.

The REST API is intended for your own applications, bots, and automations. With MCP, you connect ZAP-Hosting directly to AI clients such as Claude, ChatGPT, Cursor, or Gemini.

Do I need a ZapX Pass?

The API is included with ZapX Pass, in every ZapX Pass tier.

Yes. For the Customer REST API, you need an active ZapX Pass, no matter which tier. You can then create your API key under Settings → API access.

Can I order and upgrade via the API?

Orders and package changes from your application.

Yes. You can order new services and adjust existing packages. Before a package change, you receive a price preview.

Still have questions? Our support is happy to help you.

Contact Support
Ready?

Connect your tools with ZapX

Open the API documentation, create an API key, and start with your first request.

API access is included with ZapX Pass, in every ZapX Pass tier.

⚡ Zyber Week: 20% off rental servers and selected Lifetime servers with code ZYBER20. Grab the deal