Landing pages
Restore landing page version
/ 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,statusandaffiliatesstay.- 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}.
Authorization
-
Authorizationstring header requiredBearer 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_idinteger requiredThe id from list_landing_pages.
min
1Example:901 -
version_idinteger requiredA version_id from get_landing_page.
min
1Example:951
Response
Fields of the answer with status 200. Errors always have the same format, see Errors.
-
idintegerThe ID.
-
titlestringName in the Tentary app.
-
typestringhtml = own HTML code. builder = made with the page builder in the app.
Allowed values:
htmlbuilder -
statusstringdraft = not public: its URL opens the shop.
Allowed values:
livedraft -
url_slugstringThe address part of the URL.
-
urlstring<uri>shop URL/<url_slug>.
-
affiliatesbooleantrue = shown to the affiliates in their affiliate hub.
-
created_atstring<date-time> can be nullUTC, like 2026-01-31T14:05:00Z.
-
admin_urlstring<uri>The page in the Tentary app.