post
https://production-api.shoutaboutus.com/api/v1/campaign/template/landing-page/preview
Resolve draft landing-page HTML for an editor preview. Runs the supplied HTML through the same send-time path: expands the [allReviewSite] grid into the store's enabled sites (using the store's DIRECT landing-page URLs — never click-tracking), fills location/account tokens, and swaps recipient-only tokens ([customerName], [senderName], [paragraph_1]) for friendly sample values. The endpoint saves no template and no recipient/campaign is involved.
Auth
- bearer token, account role — authentication.
store_idmust exist and belong to the caller's hierarchy (an ownership check).
Rate limit
- No rate limit.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
store_id | integer | Required | Must be an existing location inside your own account tree. |
html_content | string | Optional | Draft HTML to resolve. Empty resolves to an empty preview. |
Behaviour
- Synchronous.
200 OKwithdata.data.html= the resolved HTML string.422on validation failure. If the store cannot be loaded post-validation the controller returns a500-coded error envelope (Store not found).
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
