Create a landing page template

Create a new landing page design, to set up how a campaign's landing page looks and what it asks. You'll need a name (title). The page's content and options aren't saved here: add them with POST /api/v1/campaign/template/landing-page/update. Returns the template with its id.

Prerequisites: a bearer token. Optional: a location id (store_id) to tie the template to one location.

Authentication: Account token. The template is saved under the account of the user behind the token. store_id, when sent, must be a location inside your own account tree; otherwise 422.

Rate limit: none.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
Defaults to Summer Campaign Landing Page

The template's name. Must be unique among your account's templates and the shared (global) templates.

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

Accepted but not saved; set the page's HTML with Edit a landing page template.

string
Defaults to PHA+RXhhbXBsZSBjb250ZW50PC9wPg==

Base64 of html_content, for HTML that AWS WAF blocks in plain text. Accepted but not saved, like html_content.

string
Defaults to {}

Editor data as a JSON string; must be valid JSON when sent. Accepted but not saved; set it with Edit a landing page template.

string
enum
Defaults to custom

The editor used to author the template: custom or html_editor. Defaults to custom.

Allowed:
integer
Defaults to 3007

A location to tie the template to. Must be inside your account tree.

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