post
https://production-api.shoutaboutus.com/api/v1/campaign/template/landing-page/update
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_ownerpass validation but not persisted by this endpoint yet.
Auth
- bearer token, account role — authentication.
landing_page_idmust resolve to a template owned by the caller's company (or a global one).
Rate limit
- No rate limit.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
landing_page_id | integer | Required | Must be an existing landing-page template inside your own account tree. |
title | string | Optional | New title. Unique within the caller's company and against global (shared) templates (ignores this row). |
manager_email | string(email) | Optional | email:rfc,dns. |
other_manager_email | string[] | Optional | Each a distinct email:rfc,dns. |
enable_direct_to_customer | boolean | Optional | Accepted but not yet persisted. |
enable_direct_to_manager | boolean | Optional | Accepted but not yet persisted. |
enable_direct_to_owner | boolean | Optional | Accepted but not yet persisted. |
html_content | string | Optional | HTML body. Optional when you send html_content_b64. |
html_content_b64 | string (base64) | Optional | Base64 of html_content for WAF-blocked bytes; decoded before validation. |
json_content | string (JSON) | Optional | Editor JSON, validated as json. |
template_editor_mode | string | Optional | custom or html_editor. |
Behaviour
- Synchronous.
200 OKreturns the saved model underdata.data(includes the appendedunique_code).400(envelope) when replicating a global and the name already exists for the company.422on validation failure or when the template is not in the caller's company.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
