Edit a landing page template

Change a landing page template's content or options. Every call replaces html_content, json_content, manager_email and other_manager_email (left out = cleared); title and template_editor_mode keep their values when left out. Editing a shared (global) template saves a copy under your account with a new id (400 if your account already has a template with that name). Returns the updated template.

Prerequisites: a bearer token and the template's id (value in GET /api/v1/campaign/template/landing-page/list).

Authentication: Account token. landing_page_id must be one of your account's templates or a shared template; otherwise 422.

Rate limit: none.

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

The template to edit (value in List landing page templates). Must be one of your account's templates or a shared template.

string
Defaults to Summer Campaign Landing Page

A new name. Must be unique among your account's templates and the shared templates. Leave it out to keep the current name.

string

Manager email address. Must be a real address on a domain that receives mail (checked with an RFC + DNS lookup), so @example.com addresses are rejected. Replaced on every call; leave it out to clear it.

other_manager_email
array of strings
Defaults to <owner-email>

More manager email addresses, each different and checked like manager_email. Replaced on every call; leave it out to clear the list.

other_manager_email
boolean
Defaults to true

Accepted but not yet saved.

boolean
Defaults to true

Accepted but not yet saved.

boolean
Defaults to false

Accepted but not yet saved.

string
Defaults to <p>Example content</p>

The page's HTML. Not needed when you send html_content_b64. Replaced on every call; leave it out to clear it.

string
Defaults to PHA+RXhhbXBsZSBjb250ZW50PC9wPg==

The HTML, base64-encoded. Send it instead of html_content when the HTML contains <script>, <iframe> or on*= attributes, which AWS WAF blocks in plain text. It is decoded into html_content before validation.

string
Defaults to {}

The editor's design data, as a JSON string; must be valid JSON. Replaced on every call; leave it out to clear it.

string
enum
Defaults to custom

custom or html_editor. Leave it out to keep the current mode.

Allowed:
Responses

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