GenPages
Publish a campaign's design, putting it live.
Changed onA 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
- Base URLhttps://backend.genpage.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"workspace_id": 55,
"campaign_id": 231
}Response
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
- info
endpoint added
- info