Skip to main content
Publish HTML as a hosted Page in the same call that sends the message. Write-only: we turn it into a page_preview before saving, so you never read a page block back.
type
string
required
"page"
html
string
required
The page body.
title
string
Up to 150 characters.
slug
string
A URL name. We make one if you leave it out.
page_id
string
Send an existing id to publish a new version of that Page, instead of making a new one.
visibility
string
public, unlisted, or workspace.
This is the only place HTML is allowed. HTML in a text block is stripped, and HTML file uploads are blocked — rich HTML belongs in Pages.