English EN
API Reference
API Reference

Landing pages

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}.

Changes at once MCP tool restore_landing_page_version

Authorization

  • Authorization string header required

    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. Introduction

Path parameters

  • page_id integer required

    The id from list_landing_pages.

    min 1 Example: 901

  • version_id integer required

    A version_id from get_landing_page.

    min 1 Example: 951

Response

Fields of the answer with status 200. Errors always have the same format, see Errors.

  • 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.

    Allowed values: htmlbuilder

  • status string

    draft = not public: its URL opens the shop.

    Allowed values: 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> can be null

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

  • admin_url string<uri>

    The page in the Tentary app.

Start typing to search.