Export a document as an image, PDF or Word file
export_documentGet a downloadable PNG image, PDF, or Word (.docx) file of a document already published to SendPage. Use this when the user wants a file copy — to attach, print, or hand over — not just the link. Returns a URL to fetch the file. PNG and PDF are free (free-tier documents carry a small watermark); Word export requires Pro.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | The file format: "png" (image), "pdf", or "docx" (Word, Pro only). | |
| shortId | Yes | The document's id, the last part of its share link. |