Deutsch DE
API-Referenz
API-Referenz

Landingpages

Restore landing page version

POST / v1 / landing-pages / {page_id} / versions / {version_id} / restore

Puts the HTML of an earlier version back on an html landing page. On a live page, the change is live at once.

  • title, url_slug, status and affiliates stay.
  • The HTML before the restore becomes a version itself, so a restore can be undone the same way.
  • The restore is refused when the HTML of the version breaks the current rules for HTML pages.

The answer is the page, as in PATCH /v1/landing-pages/{page_id}.

Ändert sofort MCP-Werkzeug restore_landing_page_version

Autorisierung

  • Authorization string Header erforderlich

    Bearer tnt_… · A personal API key (tnt_...), created in the Tentary app on the page AI & API, or an access token of the Tentary app for iPhone and Android. Einführung

Pfad-Parameter

  • page_id integer erforderlich

    The id from list_landing_pages.

    min. 1 Beispiel: 901

  • version_id integer erforderlich

    A version_id from get_landing_page.

    min. 1 Beispiel: 951

Antwort

Felder der Antwort mit Status 200. Fehler haben immer dasselbe Format, siehe Fehler.

  • id integer

    The ID.

  • title string

    Name in the Tentary app.

  • type string

    html = own HTML code. builder = made with the page builder in the app.

    Mögliche Werte: htmlbuilder

  • status string

    draft = not public: its URL opens the shop.

    Mögliche Werte: livedraft

  • url_slug string

    The address part of the URL.

  • url string<uri>

    shop URL/<url_slug>.

  • affiliates boolean

    true = shown to the affiliates in their affiliate hub.

  • created_at string<date-time> kann null sein

    UTC, like 2026-01-31T14:05:00Z.

  • admin_url string<uri>

    The page in the Tentary app.

Tippe, um zu suchen.