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 get full content body (html) using confluence REST API ?

Example API call to get content  - https://<domain>/rest/api/content/12345

I'm not able to find out a way to get the whole content body.  Although, this


gives the URL to get the actual content on the browser, is there no way to get the actual html content in the JSON response itself?

1 answer

1 accepted

19 votes
Answer accepted
Lei Wang Atlassian Team Feb 28, 2018


You could read the content of a page with the body expanded.


Please refer to the Confluence REST API examples for more details:

That works. Thanks @Lei Wang!

That was very helpful!

Awesome. 👏 this worked for me

How can you search for the content ID?

Like Joel Ransom likes this

If you want the page ID, go to Tools --> Page Information on the particular page you are interested in. You should see the page (content) ID shown in the URL when you do this.

I have a question: how can we push HMTL to body?

Suggest an answer

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

Table Row Highlighter - CSS Hack

(Said in an infomercial voice) Has this ever happened to you? You are on a Zoom/Teams call, looking at a large table, and people are confused where on the table you are pointing (insert video of real...

250 views 0 3
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