---
title: "Create a page with markdown body"
method: POST
path: "/api/v2/pages/create_with_markdown"
tags: ["Pages"]
---

# Create a page with markdown body

`POST /api/v2/pages/create_with_markdown`

Create a new page from a markdown body. The markdown is converted to the page's rich-text representation server-side and the page is then created with all standard page attributes (title, icon, parent, project, custom fields, etc.).

## Headers

- `X-Organization-Id` string, required

## Response `201`

Single page

## Other responses

- `403` — Forbidden — the current user does not have permission to create a page in the target project or under the target parent page.
- `422` — Unprocessable Entity — the request body is missing required fields or the supplied markdown could not be converted to a valid page body.
- `502` — Bad Gateway — the docs-realtime service returned an error or could not be reached while processing the markdown body.

## Changes

- **2026-08-26** `c5790dcc537a` — 1 warning
  - removed the request property `data/attributes/public_access`
- **2026-08-24** `4438d43d6b96` — 2 warning
  - removed the request property `data/attributes/cover_image_meta`
  - removed the request property `data/attributes/subscriber_ids`

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