Skip to main content
POST
Generate a landing page from a prompt. Creates the page, generates HTML with AI, and auto-publishes - all in the background.

Authorizations

X-API-Key
string
header
required

Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.

Body

application/json

Prompt and optional configuration for generating a landing page

Request body for generating a landing page from a prompt. Creates the page, generates HTML with AI, and auto-publishes.

companyId
string
required

Company ID

prompt
string
required

Prompt describing the landing page to generate (e.g. "Create a landing page for our SaaS product with a hero section, features, pricing, and a signup form")

artifactsId
string

ID of web artifacts (brand kit) to use for branding

domainId
string

Custom domain ID for publishing

listId
string

ID of smart list to attach for form capture

name
string

Landing page name (auto-generated from prompt if not provided)

Response

Landing page generation started. The page will be created, built with AI, and auto-published in the background.

Landing page generation response. The page is generated and published in the background.

id
string

Landing page ID

message
string

Status message

name
string

Landing page name

status
string

Generation status: generating