NewHost Docs

Build on NewHost

The NewHost API lets your own systems do what you do in the dashboard: deploy applications, manage domains and DNS, read hosting, invoices and wallet data, and receive signed webhooks when things change. It is a JSON REST API at https://api.newhost.co.za/v1.

New to NewHost and setting up hosting, a domain or e-mail in the dashboard? Start with the Get started guide.

Your first request

curl https://api.newhost.co.za/v1/account \
  -H "Authorization: Bearer sk_live_..."

API reference

AreaWhat you can doEndpoints
CataloguePlans, domain availability and prices. Callable with a public key from browsers.3
AccountThe account that owns the API key.1
ApplicationsNode.js / Next.js applications, their deployments and environment variables.14
DatabasesManaged databases attached to your applications.1
DomainsRegistered domains, registration orders and DNS records.7
Web & email hostingPlesk-based website and email hosting subscriptions.5
BillingInvoices and the prepaid wallet.3
WebhooksEndpoints that receive signed event notifications.3
AI gatewayOpenAI-compatible chat completions for Claude, GPT, Gemini and more, on NewHost credits or your own provider key.2