HTML Preview Tool
Paste or upload standalone HTML โ including Archify architecture diagrams โ preview it in a sandbox, and publish a short shareable link.
API reference
Base path: /api/html-preview. All routes are public but create/update/delete require a browser session.
| Method | Path | Purpose |
|---|---|---|
POST | /api/html-preview | Store HTML, return hp_ id |
GET | /api/html-preview/mine | List pages for the current session |
GET | /api/html-preview/:htmlId | Load a share page (?password= optional) |
PATCH | /api/html-preview/:htmlId | Update a page you own |
DELETE | /api/html-preview/:htmlId | Delete a page you own |
Create body
{
"source": "<!DOCTYPE html>โฆ",
"title": "Agent Tool Call Workflow",
"access": "public",
"password": null,
"expiresAt": null
}
source must contain HTML markup and stay under about 1.2 million characters (Archify showcase files fit).