Publish an HTML document
publish_documentPublish an HTML document to SendPage and get a shareable link the recipient can open in one tap on any device. Use this whenever the user has an HTML document and wants to send, share, or deliver it to someone — it is the delivery step after the document is written. The link renders the page as designed, previews with a title and preview card in WhatsApp/Telegram/Slack/email, and can be exported to PDF, image or Word. Returns the share link plus an edit token for later updates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | The complete HTML document, from <!DOCTYPE html> onwards. | |
| title | No | Title shown in the link preview and document header. Taken from the HTML's <title> if omitted. | |
| senderName | No | Who the document is from, shown to the recipient. Optional. |