Hi all,
I am trying to find out whether it is possible to trigger an HTML space export programmatically in Confluence Cloud via the REST API.
From what I can see, the Confluence Cloud REST API does not have an endpoint for this, and there is a feature request open since 2016 (CONFCLOUD-40457) with no resolution. The OAuth scopes page for Confluence Cloud also lists no scope related to space export, which suggests the feature simply does not exist at the API level.
Has anyone found a working approach for triggering an HTML space export via API in Confluence Cloud? Any pointers to official documentation or confirmed workarounds would be very helpful.
Thanks!
Hello @Tobi Kolawole
You’ve actually read the docs correctly Confluence Cloud still doesn't offer a supported public REST endpoint to trigger a native HTML space export.
The confusion usually stems from the Long Task endpoints mentioned in the API docs, but those only let you check the status of a task someone already kicked off manually in the UI; they won't actually start the process for you. The official feature request for this, CONFCLOUD-40457, remains unresolved, which is the clearest sign that it’s not part of the current public API.
If you absolutely need to automate this, the only official path is a bit of a DIY project. You would have to pull pages individually using the REST API and the body.export_view format, then script your own way to package them into a ZIP. You’ll definitely see some third-party scripts or older workarounds floating around that claim to do this, but they usually rely on private APIs or session scraping. Those are notoriously brittle in Cloud and will likely break the next time Atlassian pushes an update, so I wouldn't rely on them for anything critical. For now, the native HTML export remains a "UI-only" feature.
Confluence doesn't support this API call yet. Alternatively, you would need to export a page by page or even using the third party applications.
In your Atlassian administration, when you go to Rovo and it's access, do you get a banner that says try Rovo beta? This new Rovo will allow you to create applications based on the prompts that you give it too. If you do have, I would suggest that you prompt Rovo to build this application for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can... but you need an app for that - Scroll HTML Exporter allows you to (among other things...) export HTML via REST API.
Check the link to see if would work you.
Disclaimer: I work for the company (K15t) that makes the app. If you have any questions, feel free to reach out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.