---
title: "Converts a subpage into a doc"
method: PATCH
path: "/api/v2/pages/{id}/convert_to_doc"
tags: ["Pages"]
---

# Converts a subpage into a doc

`PATCH /api/v2/pages/{id}/convert_to_doc`

Promotes a subpage into a standalone doc: it is detached from its parent, keeps the project of the doc it came from, gets its own `public_uuid`, and its subpages move with it. The caller gets full access and the original doc's person memberships are copied over. No request body.

## Path parameters

- `id` string, required

## Headers

- `X-Organization-Id` string, required

## Response `200`

Single page

## Other responses

- `409` — Conflict

## Changes

- **2026-08-31** `0e862879d77b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/productive/apis/api-documentation/changes/api/v2/pages/:id/convert_to_doc/patch.md)

---

[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/72b19e10d7df/schema)
