Landing templates

Account-token (and partner) CRUD for campaign landing-page templates (campaign/template/landing-page/*, authentication, no throttle).

Account-token (and partner) CRUD for campaign landing-page templates (campaign/template/landing-page/*, authentication, no throttle). Endpoints: create, list (dual-mode: campaign-flow dropdown vs paginated account-level tab with usage counts; partners can scope by account_id), preview (resolve draft HTML against a store), update (copy-on-write for globals; note enable_direct_to_* accepted-but-not-persisted), and get-by-id (optional store/preview placeholder resolution). Templates must belong to the caller's company or be global. Called by the landing-page editor and the account Landing Page Templates tab.

Prerequisites

  • A bearer token in the Authorization header. Any endpoint that needs no token says so on its own page.
  • The id of each record the call targets. Every endpoint page lists the ids it needs.

Errors

StatusMeaning
401The bearer token is missing, expired or invalid
403The token is valid but the record sits outside your account
422The request failed validation — the response names the fields
500Unexpected server error

Individual endpoints may return more; each page lists its own.

Endpoints

Create landing page template

POST — Create a new campaign landing-page template owned by the caller's company.

Open →

List landing page templates

GET — Dual-mode listing of landing-page templates.

Open →

Preview landing page template

POST — Resolve draft landing-page HTML for an editor preview.

Open →

Update landing page template

POST — Update an existing landing-page template (title, manager emails, HTML/JSON content, editor mode).

Open →

Get landing page template by ID

GET — Get a single landing-page template by id.

Open →


Did this page help you?