Support

Reference for the Hosting API, a REST API for deploying and operating GoDaddy hosted applications. Async-first: long-running writes return immediately with a job or deployment record you poll to completion. Currently supports Node.js apps.

Machine-readable spec

The complete OpenAPI spec for this namespace is available as JSON. This is useful for code generation, SDK tooling, and LLM context: hosting.json.

Overview

The Hosting API lets you build, deploy, and operate apps on GoDaddy's hosting platform without touching a dashboard. Each app has two variants (preview and publish) so you can iterate safely and promote when you're ready. The API supports Node.js apps.

Long-running operations (create app, upload source, publish) return immediately with a job or deployment record. All three respond with 202 Accepted. Poll until each operation reaches a terminal state. Go to Hosting concepts for the full pattern.

Auth

Every endpoint authenticates with a Personal Access Token (PAT). Create one at Personal Access Tokens, send it as Authorization: Bearer <token>, and select only the scopes each operation requires. Go to Hosting core concepts for the full scope list.

Endpoint groups

Typical flow

POST /apps?appType=NODEJS               → 202, AppOperation
GET  /app-operations/{operationId}      → poll until app is ready

POST /apps/{appId}/imports              → 202, SourceImport operation (multipart/form-data)
GET  /apps/{appId}/imports/{importId}   → poll until upload is processed

PUT  /apps/{appId}/subscription         → 200, attach to hosting plan (required for Node.js)

POST /apps/{appId}/deployments          → 202, Deployment operation
GET  /apps/{appId}/deployments/{id}     → poll until deployment is complete
GET  /apps/{appId}/status               → runtime status per environment

Conventions

ConventionDetail
Base URLhttps://api.godaddy.com/v1/hosting (production)
Async operationsCreate app, import source, and deploy operations return 202 Accepted with an operation. Poll the returned URL until status reaches COMPLETED or FAILED.
EnvironmentsEvery app has PREVIEW and PUBLISH environments. Filter per endpoint: /logs?target=…, /secrets (body variant). /status returns both.
AuthPersonal Access Token (PAT) — Authorization: Bearer <token>. Go to Hosting core concepts for the scope list.
Secret valuesNever returned by any endpoint. Only names and metadata are readable.
Rate limitsEnforced by the API gateway. 429 Too Many Requests response includes RateLimit-* headers.

Agent & Automation Notes

Scopeshosting.application:read, hosting.application:create, hosting.application:update, hosting.application:delete, hosting.source:write, hosting.deployment:execute, hosting.secret:write, hosting.log:read
Rate limit10–120 req/min per client IP depending on operation
On failureCreate app returns 202 with a job. Poll GET /app-operations/{operationId} until app is ready. Upload source and deployments return 202 with an operation ID. Poll the matching status endpoint until complete. GET operations are safe to retry. Do not resubmit writes without checking current state.

Last updated on

How is this guide?

On this page