# Landing page version

`GET https://api.tentary.com/v1/landing-pages/{page_id}/versions/{version_id}`

Source: https://tentary.com/de/help/api/get-landing-page-version/
Area: Landingpages
MCP tool: `get_landing_page_version`. Reads only. Changes nothing in the account.

---

The full HTML of one earlier version of an `html` landing page, for example to compare it with the page or to take parts of it. `replaced_at` is the time a change replaced this HTML.

The `version_id` values are in `versions` of [`GET /v1/landing-pages/{page_id}`](https://tentary.com/de/help/api/get-landing-page/). To put a whole version back, use [`POST /v1/landing-pages/{page_id}/versions/{version_id}/restore`](https://tentary.com/de/help/api/restore-landing-page-version/).

## Authorization

`Authorization: Bearer <API key>`

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.

## Path parameters

- `page_id` (integer, required, path): The id from list_landing_pages. Limits: min 1.
- `version_id` (integer, required, path): A version_id from get_landing_page. Limits: min 1.

## Response

- `version_id` (integer): The ID.
- `page_id` (integer): The landing page.
- `replaced_at` (string<date-time>, can be null): UTC, like 2026-01-31T14:05:00Z. When a change replaced this HTML.
- `html` (string): The full HTML code of this version.

## Example request

```bash
curl "https://api.tentary.com/v1/landing-pages/901/versions/951" \
  -H "Authorization: Bearer $TENTARY_API_KEY"
```

## Example response

```json
{
  "version_id": 951,
  "page_id": 901,
  "replaced_at": "2026-11-11T10:00:00Z",
  "html": "<!doctype html><html><body><h1>Yoga Retreat 2027 in Portugal</h1></body></html>"
}
```
