Landing pages
Update landing page
/ v1 / landing-pages / {page_id} Changes the fields that you send of an html landing page. All other fields stay.
htmlreplaces the whole page. CallGET /v1/landing-pages/{page_id}first.- Pages of type
buildercan only change in the Tentary app.
To delete a page, use POST /v1/delete.
Authorization
-
Authorizationstring header requiredBearer tnt_…· A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Introduction
Path parameters
-
page_idinteger requiredThe id from list_landing_pages.
min
1Example:902
Body application/json
-
titlestringName in the Tentary app (not the <title> of the page).
max length
255 -
url_slugstringThe page address: shop URL/<url_slug>. Lowercase letters, digits and hyphens. Default from the title. A url_slug of another landing page gives an error. A new url_slug does not redirect: the old address then opens the shop.
max length
120 -
htmlstringThe full HTML document, served as it is (at most 900 KB). A newsletter sign-up form: put data-tentary="subscribe" on the <form> tag and an <input type="email"> in it, with no JavaScript for the form. Right after the form, outside it, add one element with data-tentary="subscribed" that holds the confirmation text; Tentary shows it after the sign-up (do not hide or show it with your own code). Only for a separate thank-you page, add data-tentary-return="/its-address" on the <form> tag. Link to products with their shop URL from list_products.
max length
900000 -
statusstringlive = public at its URL. draft = not public (the URL opens the shop).
Allowed values:
draftlive -
affiliatesbooleanShow the page to the seller's affiliates in their affiliate hub, with their affiliate ID attached.
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.