GenPages

Get a campaign's current page design.

Returns the HTML and CSS the campaign renders. Every generated page is this design with the lead's variables substituted in, so this is what to read to see what the pages actually say.

get/api/external/v1/pages/design

Query parameters

workspace_idinteger required

The workspace the campaign belongs to.

Example:55

The workspace the campaign belongs to.

campaign_idinteger required

From campaigns/get-list.

Example:231

From campaigns/get-list.

Response

OR

Example response

{
  "campaign_id": 231,
  "has_design": true,
  "is_live": true,
  "has_unpublished_changes": false,
  "html": "<section>…</section>",
  "css": "body{…}",
  "updated_at": "2026-08-17T09:00:00.000000Z",
  "note": null
}

Changes