How can I pass the template id in create confluence page. Please advise me. I don't find any relevant document.
It would be great if someone share the related document or direct solution for this.
Thanks in advance
there is no endpoint which allows to create a page from template.
The only way to achieve this is by making an GET request first, recieving the body of the page in storage format. Then you can create your new page with an POST request.
The process is also described here: https://community.atlassian.com/t5/Confluence-questions/How-can-i-create-a-new-page-from-a-users-template-using-rest-api/qaq-p/1059884
Thanks Lucas for the response.
I already tried the alternate way, it works. But thought of checking if we have any simplified way of passing a template using template id as my template is having multiple comments with " and '.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately there is no shortcut to this process. You might want to have a look at the marketplace. There are some plugins (also free ones), which allow creating pages from template (e.g. https://marketplace.atlassian.com/apps/1226632/create-from-template-pro-free?hosting=cloud&tab=overview).
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.