---
title: "Creates a doc from a template"
method: POST
path: "/api/v2/pages/apply_template_as_doc"
tags: ["Pages"]
---

# Creates a doc from a template

`POST /api/v2/pages/apply_template_as_doc`

Creates a new doc from a template doc. `template_id` is the page ID of that template doc. Pass `project_id` to create the doc inside a project, or omit it for a standalone doc under *My organization*.

## Headers

- `X-Organization-Id` string, required

## Response `201`

Single page

## Other responses

- `422` — Unprocessable Entity

## Changes

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

[Change history](https://skmtc.dev/productive/apis/api-documentation/changes/api/v2/pages/apply_template_as_doc/post.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)
