GenPages
Create a campaign.
A campaign holds the page template and branding that generated pages use. Create one when an integration needs its own campaign rather than reusing an existing one.
The campaign is created empty — it still needs a page design. Give it one over the API with templates/apply or pages/generate (or build one in the GenPage dashboard) and publish it. Generating pages against a campaign with no design will produce blank pages, so create-then-generate is not a complete flow on its own.
post/api/external/v1/campaigns/create
Request body
Example request
{
"workspace_id": 55,
"name": "Enterprise Outreach",
"branding_id": 7,
"prompt": "outbound to fintech CTOs"
}Response
Example response
{
"campaign_id": 231,
"name": "Enterprise Outreach",
"slug": "enterprise-outreach",
"note": "The campaign has no page design yet — apply a template (templates/apply) or generate a design (pages/generate) and publish it before generating pages."
}Changes
Changed in 1 of the 3 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○