Get landing page template by ID
Overview
Get a single landing-page template by id. When you supply store_id the html_content placeholders are resolved against that store. Adding preview=true also expands the [allReviewSite] grid and substitutes friendly sample values for recipient-only tokens.
Prerequisites
- A bearer token in the
Authorizationheader. - The
landingPageIdof the record you are targeting.
Base URL
| Environment | URL |
|---|---|
| Production | https://production-api.shoutaboutus.com |
| Development | https://development-api.shoutaboutus.com |
Endpoint
GET /api/v1/campaign/template/landing-page/{landingPageId}
Authentication
-
Requires a bearer token in the
Authorization: Bearer <bearer-token>header. -
bearer token, account role — authentication. The template must be global or belong to the caller's own account tree (422 otherwise).
Rate limit
- No rate limit.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
landingPageId | integer | Required | Digits only. |
Query parameters
| Field | Type | Required | Description |
|---|---|---|---|
store_id | integer | Optional | Must be an existing location. Resolve placeholders against this store. |
preview | boolean | Optional | Read by the controller (not validated). With store_id, expands [allReviewSite] and fills sample recipient tokens. |
How it works
- Synchronous.
200 OKwith the full model underdata.data(includes appendedunique_code).422if the id/store_idis invalid or the template belongs to another account.
Response
200 OK · 200
200{
"data": {
"status": "success",
"data": {
"id": 1,
"company_id": 30,
"store_id": 123,
"title": "Summer Campaign Landing Page",
"description": null,
"url_slug": null,
"html_content": "<p>Example content</p>",
"json_content": {},
"template_editor_mode": "custom",
"manager_email": "[email protected]",
"other_manager_email": [
"[email protected]"
],
"enable_direct_to_manager": false,
"enable_direct_to_owner": false,
"enable_direct_to_customer": false,
"created_at": "2026-07-09T10:30:00.000000Z",
"updated_at": "2026-07-09T10:30:00.000000Z",
"unique_code": "aBcDeFg"
}
}
}Errors
| Status | Meaning |
|---|---|
401 | The bearer token is missing, expired or invalid |
422 | Returned if the id/store_id is invalid or the template belongs to another account |
500 | Unexpected server error |
Example request
curl --request GET \
--url "https://production-api.shoutaboutus.com/api/v1/campaign/template/landing-page/123?store_id=123&preview=true" \
--header 'Authorization: Bearer <bearer-token>' \
--header 'Accept: application/json'Updated 18 days ago
Did this page help you?
