Export a Page with Its Children, Attachments, and Labels
A 4-step recipe with Confluence. We can help you get access.
Recipe · 4 steps
Export a Page with Its Children, Attachments, and Labels
with Confluence
Works with AI assistants
Read a Confluence page together with its children, attachments, and labels.
- Read the page itself, which carries the body, version, author, and space that anchor the rest of the export.
- Walk the page's immediate children so the export records the subtree beneath it, ordered by their position in the page tree.
- Collect the files stored against the page, whose download links an export needs in order to fetch the binaries separately.
- Resolve the page's labels, which carry the taxonomy that would otherwise be lost when the content leaves Confluence.
What you'll need to have ready
- pageId: The id of the page to export.
- bodyFormat: The body representation to export, e.g. storage for round-trippable XHTML or export_view for rendered output.
For your developer
Arazzo workflow confluence:export-page-tree, 4 operations: getPageById → getChildPages → getPageAttachments → getPageLabels. Specs on APIs.io.