---
title: "Append HTML to a page body"
method: PATCH
path: "/api/v2/pages/{id}/append_html"
tags: ["Pages"]
---

# Append HTML to a page body

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

Append HTML to the end of a page's body. The HTML is converted to the page's rich-text representation and applied through the docs-realtime collaboration service so concurrent editors see the change immediately.

## Path parameters

- `id` string, required

## Headers

- `X-Organization-Id` string, required

## Response `200`

Single page

## Other responses

- `403` — Forbidden — the current user does not have permission to edit the target page.
- `422` — Unprocessable Entity — the request body is missing the required `html` field.
- `502` — Bad Gateway — the docs-realtime service returned an error or could not be reached.

---

[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)
