Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to create page based on an existing template with rest api or using atlassian-python-api?

What method should I use and where to find a data structure for such a request?

I have an idea to form html in the request body, but it doesn't seem like a good idea

My template looks like this



1 answer


First of all I have to warn you that the solution below is for Confluence server. I don't know if it works for Confluence Cloud.

To create a page based in a template you can use the following URL a:


You can replace the full parameter title=page_title by only title if the page title is saved with the page (this is the default).

If the space is the same as the one where you have the template you can omit the parameter newSpaceKey

You can also omit the parameter fromPageId if the page you are creating is a child of the page where are currently located.

Hope it helps,


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,407 views 7 29
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you