Update landing page template

Update an existing landing-page template (title, manager emails, HTML/JSON content, editor mode). Copy-on-write for globals: a template with no company_id copies into the caller's company first (a name clash returns 400).

Known issue: enable_direct_to_customer / enable_direct_to_manager / enable_direct_to_owner pass validation but not persisted by this endpoint yet.

Auth

  • bearer token, account role — authentication. landing_page_id must resolve to a template owned by the caller's company (or a global one).

Rate limit

  • No rate limit.

Body

FieldTypeRequiredNotes
landing_page_idintegerRequiredMust be an existing landing-page template inside your own account tree.
titlestringOptionalNew title. Unique within the caller's company and against global (shared) templates (ignores this row).
manager_emailstring(email)Optionalemail:rfc,dns.
other_manager_emailstring[]OptionalEach a distinct email:rfc,dns.
enable_direct_to_customerbooleanOptionalAccepted but not yet persisted.
enable_direct_to_managerbooleanOptionalAccepted but not yet persisted.
enable_direct_to_ownerbooleanOptionalAccepted but not yet persisted.
html_contentstringOptionalHTML body. Optional when you send html_content_b64.
html_content_b64string (base64)OptionalBase64 of html_content for WAF-blocked bytes; decoded before validation.
json_contentstring (JSON)OptionalEditor JSON, validated as json.
template_editor_modestringOptionalcustom or html_editor.

Behaviour

  • Synchronous. 200 OK returns the saved model under data.data (includes the appended unique_code). 400 (envelope) when replicating a global and the name already exists for the company. 422 on validation failure or when the template is not in the caller's company.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
string
string
other_manager_email
array of strings
other_manager_email
boolean
boolean
boolean
string
string
string
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