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 Authorization header.
  • The landingPageId of the record you are targeting.

Base URL

EnvironmentURL
Productionhttps://production-api.shoutaboutus.com
Developmenthttps://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

ParameterTypeRequiredDescription
landingPageIdintegerRequiredDigits only.

Query parameters

FieldTypeRequiredDescription
store_idintegerOptionalMust be an existing location. Resolve placeholders against this store.
previewbooleanOptionalRead by the controller (not validated). With store_id, expands [allReviewSite] and fills sample recipient tokens.

How it works

  • Synchronous. 200 OK with the full model under data.data (includes appended unique_code). 422 if the id/store_id is invalid or the template belongs to another account.

Response

200 OK · 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

StatusMeaning
401The bearer token is missing, expired or invalid
422Returned if the id/store_id is invalid or the template belongs to another account
500Unexpected 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'

Did this page help you?