Nukta Docs
API Reference

API Reference

Create sites, deploy builds, and manage domains over HTTP.

API Reference

The Nukta Website API is served from https://website.nukta.app/api. Authenticate with a Nukta access token.

POST /sites

Creates a new site.

POST /sites HTTP/1.1
Host: website.nukta.app
Authorization: Bearer <token>
Content-Type: application/json

{ "name": "my-site" }

POST /sites/:id/deployments

Creates a deployment from an uploaded build.

FieldDescription
sourceUpload token returned by the CLI.
aliasOptional alias to promote after the build.

POST /sites/:id/domains

Attaches a custom domain and begins certificate provisioning.

{ "domain": "example.com" }

On this page