v1

latestOpenAPI 3.1.02026-07-2664485505.4 KB
Pages

Update a page's content as markdown

patch/v1/pages/{page_id}/markdown

Path parameters

page_idstring required

Headers

Notion-Version'2026-03-11' required

The API version to use for this request. The latest version is 2026-03-11.

Request body

OR
OR
OR

Example request

{
  "insert_content": {
    "content": "## New Section\n\nInserted content here."
  }
}

Response

object'page_markdown' required

The type of object, always 'page_markdown'.

idstring uuid required
markdownstring required

The page content rendered as enhanced Markdown.

truncatedboolean required

Whether the content was truncated due to exceeding the record count limit.

unknown_block_idsIdResponse[] required

Block IDs that could not be loaded (appeared as <unknown> tags in the markdown). Pass these IDs back to this endpoint to fetch their content separately.