Build on HostFog
Automate hosting with the API, react to events, extend the panels with plugins and manage licences in bulk.
The API
Everything the panels do — accounts, domains, email, databases, backups — with a token.
Webhooks and events
Your systems hear when an account is created, a payment arrives or a backup fails.
Plugins
Add your own screens and menu entries to the panels.
Partner licence API
Issue, move and remove bulk licences from your own systems.
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.