Get a page template version
Returns one published version with its body and CSS.
Requirements: a Pro plan, page templates enabled for the project, and an API key of a project
owner or manager with the page_templates.show scope.
Authorization<token>Format: Authorization: Token {api_key}
id*stringUUID of the version
Version found
application/json- response
id?stringUUID of the version
uuidpublished_at?stringWhen the version was published
date-timelive?booleanWhether this is the version links currently show
body?stringLiquid and HTML of the published body
css?stringCSS of the published version
curl -X GET 'https://dynalinks.app/api/v1/page_template/versions/string'{ "id": "0199e2a9-1a2b-7c3d-8e4f-5a6b7c8d9e0f", "published_at": "2026-10-12T09:30:00.000Z", "live": true, "body": "<div>{{ link.title }}</div>\n{% store_buttons %}", "css": ""}List page template versions GET
Lists the kept published versions (up to 20), newest first, marking the live one. Bodies and CSS are left out; get a single version for them. **Requirements**: a Pro plan, page templates enabled for the project, and an API key of a project owner or manager with the `page_templates.show` scope.
Restore a page template version POST
Copies the version into the draft. Does not publish it, so the live page is unchanged until you publish. **Requirements**: a Pro plan, page templates enabled for the project, and an API key of a project owner or manager with the `page_templates.update` scope.