Skip to content

Clone Html To Landing Page

POST
/landing-pages/clone-html

Clone from raw source the caller already holds. SPENDS CREDIT.

use_vision defaults OFF here and ON for /clone-url, which is the app’s asymmetry and a real one: there is no live page to screenshot.

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

Clone from raw source the caller already has. SPENDS CREDIT.

use_vision defaults OFF here, unlike /clone-url: there is no live page to screenshot, so the extra pass buys much less.

object
filename
Any of:
string
<= 300 characters
html
required
string
>= 16 characters <= 2000000 characters
name
Any of:
string
<= 200 characters
source_url
Any of:
string
<= 2048 characters
use_vision
boolean

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