Landing Pages

Get a landing page display

Changed on

Returns one saved landing page display.

get/v3/pages/{page_id}/page-displays/{display_id}

Request

  • Base URL
    https://api.scalev.com
  • URL
    https://api.scalev.com/v3/pages/{page_id}/page-displays/{display_id}
  • Auth
    • HTTP bearer
    • or API key in header authorization
    • or OAuth 2
      Authorization code: https://api.scalev.com/v3/oauth/authorize
      Token URL: https://api.scalev.com/v3/oauth/token scopes: page:read

Response

Landing page display

tracking_form_delivery'server_v1'

Public runtime capability present only with a saved tracking_config, including an explicitly empty configuration. Absent for unmigrated displays and editor-only resolved defaults. A compatible runtime copies this value into checkout metadata, then waits for the accepted order's same-named acknowledgment before suppressing direct native server sends.

tracking_config_revisionstring nullable

Authoring revision from the editor response. Send it with tracking_config when creating the next display version; stale edits are rejected with 409. Asset and trigger changes are atomic. Public runtime responses may return null; do not use those responses as an editing revision.

tracking_config_errorstring nullable

An actionable compatibility-resolution problem. An unresolved owner remains unmigrated.

tracking_contextstring
idinteger
versioninteger
schema_versioninteger
created_atstring date-time
created_by_idinteger nullable
is_publishedboolean
published_atstring date-time nullable
render_mode'html_mode' | 'builder'
html_documentstring nullable

Complete authored HTML source for HTML Mode. A non-whitespace value is authoritative and replaces all legacy html_code, css_code, js_code and additional_head_code inputs for rendering. Null, empty and whitespace-only values on legacy records use the legacy source. Reading and validation do not persist migration. Existing clients may continue sending html_code, css_code and js_code instead of html_document, including after a previous version used unified source. Send all three fields for a complete legacy snapshot, using empty strings for intentionally blank sections. Include additional_head_code when needed; omitted snapshot sections are empty. Legacy snapshots are automatically assembled into a document on every HTML Mode content save. Settings-only version writes preserve the preceding source. Clearing an already migrated document returns 422; save <!doctype html><html><head></head><body></body></html> for a deliberately blank page. Platform runtime, tokens, analytics and public data are injected only when rendered and must not be included in this field. External scripts, stylesheets, import maps and document attributes are retained. Dependencies still require directive-specific permission in csp_policy. CSP meta tags are retained in source but ignored at execution with a validation warning.

html_codestring nullable
css_codestring nullable
js_codestring nullable
additional_head_codestring nullable
fb_pixelsobject[]
tiktok_pixelsobject[]
kwai_client_pixelsobject[]
kwai_server_pixelsobject[]

Example response

{
  "html_document": "<!doctype html><html lang=\"id\"><head><title>My page</title><style>main { color: #111827; }</style></head><body><main>Hello</main><script>console.log(Scalev.data.get());</script></body></html>"
}

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property ///// to the response with the status