Get a macro's body in storage format
One step with Confluence. We can help you get access.
Look something up
Get a macro's body in storage format
with Confluence
Works with AI assistants
Use Confluence: its Confluence Cloud REST Content - macro body API lets you get a macro's body in storage format in a single step (GET /wiki/rest/api/content/{id}/history/{version}/macro/id/{macroId}). Confluence also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How can I read the raw storage-format body and parameters of a macro on a page?
- What does a macro's definition look like in a specific page version?
Say it to your AI assistant
- Get macro {macroId} from version {version} of content {id} in storage format.
- Show the name, body and parameters of macro {macroId} on content {id} version {version}.
For your developer
GET /wiki/rest/api/content/{id}/history/{version}/macro/id/{macroId} in Confluence Cloud REST Content - macro body API. Full spec on APIs.io.