DayzHUBConsole

User guideTeam and API

REST API

Connect your own bot, website or tools to your servers. Every plan from Standard has a read-only key.

Plans and keys

Standard: 1 read-only key. Pro: up to 5 keys that can also write (whitelist, priority list, kick, message, bans), plus signed webhooks. Community: unlimited keys, player lookup and leaderboards, higher limits.

API tokens cannot run money, bank, ATM, garage, base-wipe, admin-right, premium, reputation or mod actions: TheModBase admin rights, TB premium (give or remove), TB reputation and DayzHUB mod actions work only from the dashboard. Giving and spawning items still works through the API.

Giving and spawning items through the API needs the token permission "Can give and spawn items" (a checkbox when you make a write token). New tokens have it off; tokens made before keep it.

  1. Open API and choose New token.
  2. Name it, pick read or write and, if you like, limit it to some servers or an end date.
  3. Copy the token: it is shown once.

Calls and limits

JSON over HTTPS at https://dayzhub.cloud/api/v1/console, with Authorization: Bearer and your token. Each key has its own rate limit per minute and per day (Standard 30 and 3000, Pro 120 and 30000, Community 300 and 150000). Player IPs and BattlEye GUIDs are never in it.

The API page shows your exact base URL, and the machine-readable OpenAPI description is public at /api/v1/console/openapi.json.

Signed webhooks (Pro)

Your own endpoint receives joins, leaves, kills, bans, server status, reports and alerts as signed JSON, with retries and a delivery log. Add an endpoint on the API page and copy its secret (whsec_...).

Check the signature

  1. Read the X-DHC-Timestamp and X-DHC-Signature headers: the signature looks like t=1760000000,v1=abc.
  2. Compute HMAC-SHA256 of the timestamp, a dot and the exact raw request body, with your endpoint secret, as lowercase hex.
  3. Compare it with each v1 value using a constant-time comparison.
  4. Refuse the delivery when the timestamp is more than 5 minutes off your clock, and ignore an event id you already handled.

Good to know: Use the raw bytes of the body, before any JSON parsing. Examples for Node, Python, curl and PowerShell are in the API reference.

DayzHUB Console

Cookie settings

Choose whether DayzHUB Console may count your visits with our cookieless analytics. You can change this at any time.

We count page views without cookies and without storing IP addresses or any other data that could identify you.

Necessary cookiesNeeded for sign-in, security, your language and this choice.
Always active
Analytics — PlausibleCounts page visits without cookies or personal data, so we can improve DayzHUB Console.