Skip to content

Create Landing Page

POST
/landing-pages

Create a landing page. SPENDS CREDIT unless generate is false.

generate defaults TRUE, matching Studio, and that default is the whole cost of this call: it runs the full copy-and-layout pass. Send generate: false for an empty page you will fill with /clone-url, /import-html or the deterministic edit routes.

created_by is the API key’s own principal. An organisation key records the key’s identity rather than a person’s, which is the honest answer - there is no human behind it.

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

Create a landing page. SPENDS CREDIT when generate is true.

generate true (the default) runs the full generation pass - copy, layout and imagery - against the org’s brand context. Send generate: false for an empty shell you intend to fill with /clone-url, /import-html or the deterministic edit routes, and nothing is spent.

object
campaign_id
Any of:
string
generate

Run the AI generation pass. TRUE BY DEFAULT and it spends credit.

boolean
default: true
generation_mode
Any of:
string
goal
Any of:
string
name
Any of:
string

Responses

201

Successful Response

object
data
required

One Studio object, open-shaped. See the module docstring.

object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
notes
Any of:
Array<string>
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer
total_available
Any of:
integer
total_is_lower_bound
Any of:
boolean

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string