New in 1.0: partner licences with Stable and LTS updates, Mail and Files, and alerts on WhatsApp.For hosting companies
Developers

Build on HostFog

Automate hosting with the API, react to events, extend the panels with plugins and manage licences in bulk.

The partner licence API

Partners issue a licence when they create a server and remove it when the server is deleted. Every call carries the partner's API key; a partner only ever sees its own licences.

curl -s https://api.hostfog.io/v1/licence/partner/issue \
  -H "Authorization: Bearer hfp_…" -H "Content-Type: application/json" \
  -d '{"email": "customer@example.com", "ip": "203.0.113.10"}'

The answer has the licence key and the install command to run on the new server. Also: GET licences, POST move and POST remove — see the licence API reference.

Server commands

Every panel action also has a command on the server for scripts and automation: see the command reference.