---
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.

---

[API](https://skmtc.net/productive/apis/api-documentation.md) · [All operations](https://skmtc.net/productive/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/productive/api-documentation/versions/6bb0150a5c5f/schema)
