GenPages

Get a campaign's current page design.

Changed on

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

Request

Query parameters

workspace_idinteger required

The workspace the campaign belongs to.

Example:55
campaign_idinteger required

From campaigns/get-list.

Example:231

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

    • breaking

      added subschema #1 subschema #2 to the response body oneOf list for the response status

    • info

      removed subschema #1 subschema #2 from the response body oneOf list for the response status

    • info

      endpoint added