---
title: "Create a page_version"
method: POST
path: "/api/v2/page_versions"
tags: ["PageVersions"]
---

# Create a page_version

`POST /api/v2/page_versions`

Creates a page version. Pass exactly one of:

- `page_id` — snapshots the page's current title and body as a new version, optionally labelled via `name`.
- `restored_from_version_id` — creates a new version whose snapshot is copied from an earlier version, marking a restore point. The page's live body is **not** changed by this call.

Editing a page records versions automatically (edits within two minutes merge into one); use this endpoint for named snapshots and restore points.

## Headers

- `X-Organization-Id` string, required

## Response `201`

Single page version

## Other responses

- `422` — Unprocessable Entity

---

[API](https://skmtc.dev/productive/apis/api-documentation.md) · [All operations](https://skmtc.dev/productive/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/productive/api-documentation/revisions/061c271b2e3a/schema)
