---
title: "Set pad HTML"
method: POST
path: "/admin/api/pads/{padId}/html"
tags: ["Pads"]
---

# Set pad HTML

`POST /admin/api/pads/{padId}/html`

Sets the text of a pad based on HTML

## Path parameters

- `padId` string, required

## Request body

- PadSetHTMLRequest
  - `authorId` string
  - `html` string

## Response `200`

OK

- string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-07-17** `6f3a072916e8` — 1 info
  - endpoint added
- **2024-11-20** `f9c7961056cc` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ether/apis/etherpad-go-api/changes/admin/api/pads/:padId/html/post.md)

---

[API](https://skmtc.dev/ether/apis/etherpad-go-api.md) · [All operations](https://skmtc.dev/ether/apis/etherpad-go-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ether/etherpad-go-api/revisions/6f3a072916e8/schema)
