Update a landing page

Partially updates a landing page identified by its own landingPageId. Any property
omitted from the request body keeps its current value — including nested objects such as
deadline, whose current values are used as defaults for any missing sub-field.
passwordProtection cannot be set through this endpoint (see below); it is read-only.

The same rules described for Create a new landing page
apply for deadline, externalUrlType, and htmlContent.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Landing page ID

Body Params

Request body for updating a landing page. All properties are optional — any property
omitted from the request keeps its current value. This includes sub-fields of deadline.
passwordProtection and status are not accepted here — see LandingPageResponse for the
read-only fields returned by GET/list/create/update responses.

string

Landing page name. If provided, must not be empty.

string

Heading text displayed at the top of the rendered landing page.

integer

Landing page folder ID to move the page into.

integer

Landing page template ID to apply during HTML generation.

integer

Subdomain the landing page is published under.

integer
enum
  • 0 — auto-generated random URL path
  • 1 — custom URL path, supplied via externalUrl
Allowed:
string

Custom URL path. Used only when externalUrlType is 1.

boolean

Whether outbound links on the landing page are monitored for click tracking.

integer
enum

Whether a sub landing page inherits the password-protection segments of its main page.

Allowed:
integer

ID of the main landing page this page is a step of, for multi-step landing pages.

boolean

Whether this landing page becomes the default page served for its subdomain.

deadline
object

Controls whether and how the landing page expires. Which sub-fields are required depends
on type.

string

Full HTML source of the landing page. If omitted, the current source is kept. Only include this
field if you actually intend to change the content. Mutually exclusive with htmlContentUrl.

uri

Alternative to htmlContent: a publicly reachable HTTPS URL the server fetches the new HTML content
from server-side. Use this to upload large or externally-authored HTML verbatim without including
it in the request body. Mutually exclusive with htmlContent. The URL must resolve to a public,
non-private IP address; the fetched content is capped at 2MB.

trackingCodes
object

Custom tracking/analytics code snippets injected into the generated landing page HTML.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json