v51

OpenAPI 3.0.0raw.githubusercontent.com2026-08-01267339950.6 KB
Agency Hosting: Websites

Build Agency Plan website NodeJS assets

Builds and deploys a Node.js application for an Agency Plan website from an already-uploaded archive.

Upload the archive to file browser first, then provide its relative path from document root in this request. Website contents are overwritten by the build result, which is deployed to public_html.

post/api/agency-hosting/v1/websites/{website_uid}/build-assets

Path parameters

website_uidstring required
Example:zpwlGlp19

Agency Plan website UID

Request body

archive_pathstring required

Directory, relative to the website document root, where the uploaded site archive currently lives. Most commonly this is simply public_html.

Example request

{
  "archive_path": "public_html"
}

Response

Success empty response

messagestring

Example response

{
  "message": "Request accepted"
}