Confluence REST API unable to create Child page


I am trying to create a Child page in Confluence using restAPI but getting a 403 error response.


"title":"New child page",


{"value":"<p>This is a new child page</p>",


"statusCode": 403,
"data": {
"authorized": false,
"valid": true,
"errors": [],
"successful": false
"message": "Could not create content with type page"

Note: I am able to run a GET and PUT (update the confluence pages) succesfully.




2 answers

Do you really pass "/rest/api/space/MySpace" string as a space key?

Hi Pavel,

Yes I do pass /rest/api/space/MySpace as space key.
Also, I am able to create the page manually in confluence, so I am guessing its not permission issue.

I was able to resolve the issue by fixing my request.

The space key had to be updated from:
"space": {
"key": "/rest/api/space/MySpace"



"space": {
"key": "MySpace"

smitha I'm New Here Nov 16, 2018

Hi Pooja,

How does PUT and GET working, can you please share an example?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

983 views 2 13
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you