API Documentation
v1

Getting started

Use the ZYNOO API to order VPS hosting and manage servers from your own application. You can also manage existing VPSs without placing orders through the API.

Base URL
https://bill.zynoo.com/vps-api/index.php

Make your first request

  1. Create an API credential under API Access in your reseller account.
  2. Follow Authentication to sign a request.
  3. Call GET /v1/vps to list your VPSs. Save each remote_service_id to use in later requests.

Requests and responses

Use HTTPS and send request bodies as JSON. Responses contain ok: true on success, or ok: false with an error object.

Every request except /v1/ping needs the authentication headers. Examples on the following pages show the URL and body; add those headers to your request. Response examples show selected fields. IDs, prices and addresses are illustrative.

Check the API

A public availability check. No API credential is required.

GET/v1/ping

Scope: None

cURL
curl 'https://bill.zynoo.com/vps-api/index.php/v1/ping'
Response · HTTP 200
Example response
{
  "ok": true,
  "api": "v1",
  "server_time": 1700000000
}

Your account

Get your balance, currency, reseller discount and API permissions.

GET/v1/account

Scope: account:read

Example request
GET https://bill.zynoo.com/vps-api/index.php/v1/account
Response · HTTP 200
Example response
{
  "ok": true,
  "account": {
    "currency": {
      "code": "USD"
    },
    "prepaid_credit": {
      "balance": 100
    },
    "tier": {
      "name": "Example tier",
      "discount_percent": 10
    },
    "permissions": {
      "new_orders": true,
      "lifecycle": true
    }
  }
}
ZYNOO VPS API API v1