How to export Confluence page to Word or PDF through REST API?

Hello
When you work with Confluence from browser you can see on top right menu items to export current page as Word or PDF. What is an equivalent to make similar export from REST API? Thank you very much in advance.

There is no REST API call for this.

1 Like

@sfbehnke, thank you for the reply.
It is a pity that this functionality is not available in REST.

Hi there, any chance this functionality can be developed? Export to Word REST API would be great.

Can you try with this URL “/rest/api/content/{pageId}/history/{pageVersion}/macro/id/{macroId}”, and the result of this to write on your response .