Skip to main content
POST
Publish the website

Authorizations

Authorization
string
header
required

Organization-scoped bearer credential: a customer API key (1club_sk_live_...) or an MCP OAuth access token.

Query Parameters

siteId
integer

Body

application/json
mode
enum<string>

amend (default) updates the live release in place; snapshot records a new version.

Available options:
amend,
snapshot
note
string

What changed. Shown in the publish history, most useful with snapshot.

Response

The release now serving the public site

A published version of the website. The public site renders the release with isActive: true.

id
integer
version
integer
note
string | null
isActive
boolean
publishedAt
string<date-time>

When this release last went live. An ordinary publish amends the active release in place, so this moves while createdAt does not.

createdAt
string<date-time>