Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Export | API | XML

Andrew Mose
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 1, 2025

Hello!
I’m looking for a way to automate the export of content from Confluence Cloud via API in XML format. My goal is to regularly back up either the entire space or a specific space/page tree without having to manually initiate the export through the Confluence UI.

Is it possible to trigger an XML export using the Confluence REST API (or any other API)? If so, could you point me to the correct endpoint or documentation? Ideally, I’d like to automate this on a schedule (e.g. every night) using a script or integration.

Thanks in advance for any help or direction!

1 answer

1 accepted

1 vote
Answer accepted
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2025

Hi @Andrew Mose 

Welcome to the community.

The API for Confluence has no endpoint for exporting spaces, there is an open feature request for this, see; CONFCLOUD-40457 

Andrew Mose
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 1, 2025

Got it, thanks! Is there any known workaround or best practice to export a full space into a single XML file, similar to this format:

Example

What I’m looking for is:
One full XML file per space Each page entry includes:
Page title (name)
Page ID
Main image (if exists)

Full content with formatting Embedded images/media Basically, a full export of the space in a machine-readable XML format that can be processed further.

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2025

Hi @Andrew Mose 

No as there is no endpoint available, the only option is within the GUI

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events