Support
API ReferencePlatform & Integration

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

Overview

The Node.js Hosting API lets you build, deploy, and operate Node.js 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.

Long-running operations (create app, upload source, publish, rollback) return immediately with a job or deployment record. Create app responds with 202 Accepted. Upload, publish, and rollback respond with 200 OK. Poll until each operation reaches a terminal state. See Concepts for the full pattern.

Auth

Every endpoint is authenticated with an OAuth 2.0 client-credentials access token. Get a token, send it as Authorization: Bearer <token>, and request only the scopes each operation requires. See Authentication.

Endpoint groups

Typical flow

POST /apps                              → 202, job id
GET  /apps/jobs/{jobId}                 → poll until app is ready

POST /apps/{appId}/source               → 200, upload jobId (multipart/form-data)
GET  /apps/{appId}/source/status?jobId  → poll until upload is processed

POST /apps/{appId}/deployments          → 200, deployment record
GET  /apps/{appId}/deployments          → list past deployments
GET  /apps/{appId}/status               → runtime status per variant

POST /apps/{appId}/rollback             → 200, rollback started

Conventions

ConventionDetail
Base URLGateway-relative: /v1/hosting/nodejs (host determined by the GoDaddy API gateway)
Async writesCreate app returns 202 Accepted with a job id. Upload, publish, and rollback return 200 OK with a job or deployment record. Poll the relevant endpoint until the operation reaches a terminal state.
VariantsEvery app has preview and publish variants. Filter per endpoint: /secrets?variant=…, /logs?target=…. /status returns both.
AuthOAuth 2.0 client credentials — token URL https://oauth.api.godaddy.com/v2/oauth2/token
Secret valuesNever returned by any endpoint. Only names and metadata are readable.
Rate limitsEnforced by the API gateway. Not currently surfaced in schemas.

Agent & Automation Notes

Scopeshosting.paas.apps:read, hosting.paas.apps:create, hosting.paas.apps:update, hosting.paas.apps:delete, hosting.paas.code:write, hosting.paas.deploy:execute, hosting.paas.secrets:write, hosting.paas.logs:read
Rate limit10–120 req/min per client IP depending on operation
On failureCreate app returns 202 with a job. Poll GET /apps/jobs/{jobId} until active or failed. Upload, publish, and rollback return 200 with a job or deployment record. 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