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

creating a confluence space, using a json?

alguien sabe si existe el cuerpo en formato json para crear un espacio en confluence ?

1 answer

Hi @Victor Daniel Tobon Carrizosa 

What you need is an example of a JSON or with the parameters that must be included in it, is it enough? because on the API documentation page you have the information:

If it serves as an example:

"value": "Marketing Test",
"representation": "plain"

I hope it helps you


Hello @Paloma Fondon Araujo

Thanks for answering, what I require is an example of the Json since I will use it to create a space automatically.

Hi @Victor Daniel Tobon Carrizosa 

As an idea, if you already have that space created in confluence, and it is the one you are going to use as a template, you can make a Rest API call and use the "GET space" method ({spaceKey}), it will return a JSON that you can later use for that automatic creation.

I hope it helps you.

Hi @Paloma Fondon Araujo ,


I managed to obtain the JSON data with the Api, which you provided, but when trying to create the space it returns the following failure 415 , do you have any suggestions?SOLICITUD.jpgPost.jpg

Hi @Victor Daniel Tobon Carrizosa 

In the POST call are you sending the ID? If so, try making the call without the ID parameter.


HI @Paloma Fondon Araujo

Now I managed to create the confluence space, now I am putting a smart variable so that this value can be taken as the KEY for said space.

Suggest an answer

Log in or Sign up to answer
Site Admin
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,743 views 8 32
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