Confluence Content API

The Content API from Confluence — 4 operation(s) for content.

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /wiki/rest/api/content/archive Archive a batch of pages · Archive pages #
Ask an LLM
“How do I archive several Confluence pages at once?”
“Does archiving pages run as a background task I need to track?”
Tell an agent
Archive pages {pages}.
Send pages {pages} to the archive and give me the task id.
PUT /wiki/rest/api/content/blueprint/instance/{draftId} Publish a shared blueprint draft · Publish shared draft #
Ask an LLM
“How do I publish a shared draft that was created from a blueprint?”
“Which fields must I send to publish a collaborative blueprint draft?”
Tell an agent
Publish shared draft {draftId} titled {title} as type {type} at version {version}.
Publish shared blueprint draft {draftId} under parent pages {ancestors} with title {title}, type {type}, version {version}.
POST /wiki/rest/api/content/blueprint/instance/{draftId} Publish a legacy blueprint draft · Publish legacy draft #
Ask an LLM
“Can I still publish an old-style legacy draft made from a blueprint?”
“Are legacy blueprint drafts going away?”
Tell an agent
Publish legacy draft {draftId} titled {title} as type {type} at version {version}.
Use the legacy endpoint to publish blueprint draft {draftId} into space {space} as {title}, type {type}, version {version}.
GET /wiki/rest/api/content/search Find content objects with a CQL query · Search content by CQL #
Ask an LLM
“Can I get full content objects back from a Confluence Query Language query?”
“What content matches a CQL expression like type=page and space=DEV?”
Tell an agent
Return the content objects matching CQL {cql}.
Fetch up to {limit} pages or blog posts matching CQL {cql} with content expansions.
POST /content/convert-ids-to-types Look up the content type for content ids · Convert content ids to content types #
Ask an LLM
“I only stored content ids from the v1 API; how can I find out whether each is a page, blog post or comment?”
“Can I resolve a batch of content ids to their content types?”
Tell an agent
Convert content ids {contentIds} to their content types.
Tell me what type of content each of {contentIds} is.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/confluence:confluence-content-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

confluence-content-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Confluence Content API
  version: '1.0'
  description: 'Operations tagged Content across 2 of this provider''s published API definitions: confluence-rest-v1-openapi.json, confluence-rest-v2-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: //your-domain.atlassian.net
- url: https://{your-domain}/wiki/api/v2
  variables:
    your-domain:
      default: no-default
      description: Specific domain of the Confluence site being used. Must be provided.
tags:


# --- truncated at 32 KB (71 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/confluence/refs/heads/main/openapi/confluence-content-api-openapi.yml