GenPages
Apply a template's design to a campaign.
Copies the page design onto the campaign, replacing whatever design it had. Use it right after creating a campaign — until a campaign has a design, the pages generated for it are blank.
This overwrites: a campaign that already has a design loses it, and pages generated afterwards use the new one. Pages already generated keep what they were built with until they are regenerated.
post/api/external/v1/templates/apply
Request body
Example request
{
"workspace_id": 55,
"campaign_id": 231,
"template_id": 88
}Response
Example response
{
"campaign_id": 231,
"template_id": 88,
"is_live": false,
"message": "Template applied. Publish the design to make this campaign's pages live."
}