GenPages

Take a campaign's pages offline.

Clears the published snapshot. Every generated link in the campaign then shows a "not live yet" page. The design itself is untouched — it stays as a draft and can be published again.

post/api/external/v1/pages/unpublish

Request body

workspace_idinteger required

The workspace the campaign belongs to.

campaign_idinteger required

The campaign to take offline.

Example request

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

Response

campaign_idinteger
is_liveboolean
messagestring

Example response

{
  "campaign_id": 231,
  "is_live": false,
  "message": "Pages in this campaign are no longer live. The design is kept as a draft."
}

Changes

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