Confluence Cloud Get Content API does not return macro body

Hi all,

I’m using the Get Content API on Confluence Cloud to get the page content as the atlas_doc_format, the API I’m using is:


The problem is that the response does not contain the macro body (<ac:rich-text-body></ac:rich-text-body> even if I have it in the page’s storage format.

This is my storage format for that macro:

<ac:structured-macro ac:name="tooltip" ac:schema-version="1" ac:macro-id="088b5c13-9c9d-4a81-8cef-ba0929b9d088">
  <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
    <p>My Paragraph</p>

And this is the doc format returned by the API:

  "type": "inlineExtension",
  "attrs": {
    "extensionType": "com.atlassian.confluence.macro.core",
    "extensionKey": "tooltip",
    "parameters": {
      "macroParams": {
        "atlassian-macro-output-type": {
          "value": "INLINE"
      "macroMetadata": {
        "macroId": {
          "value": "088b5c13-9c9d-4a81-8cef-ba0929b9d088"
        "schemaVersion": {
          "value": "1"
        "title": "tooltip"

There is no macro body in the response.

Can anyone point out what the problem is, and how can I get the macro body in the atlas_doc_format? I need this doc format in order to perform a complex modification, which will be hardly done with the storage format.

Thank you in advanced!