GenPages

Publish a campaign's design, putting it live.

A design is edited as a draft. Visitors are served the published snapshot, so a campaign whose design has never been published shows a "not live yet" page to anyone who opens a generated link. This copies the current draft over the published snapshot.

Publishing replaces what is currently live, and takes effect immediately for every page in the campaign — including ones generated earlier.

post/api/external/v1/pages/publish

Request body

workspace_idinteger required

The workspace the campaign belongs to.

campaign_idinteger required

The campaign to publish.

Example request

{
  "workspace_id": 55,
  "campaign_id": 231
}

Response

campaign_idinteger
is_liveboolean
published_atstring
messagestring

Example response

{
  "campaign_id": 231,
  "is_live": true,
  "published_at": "2026-08-17T09:00:00.000000Z",
  "message": "Design published. Pages in this campaign are now live."
}

Changes

Changed in 1 of the 3 revisions of this API.1