Confluence Space API

Retrieve and manage Confluence spaces

Operations 8

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

GET /spaces List spaces · Get Spaces #
Ask an LLM
“What spaces exist on my Confluence site?”
“Can I filter spaces by type, status or label?”
Tell an agent
List all spaces on the site.
List spaces with status {status}.
POST /spaces Create a space with role assignments · Create space #
Ask an LLM
“How do I create a space and assign roles to people at the same time?”
“Can I create a new space from a template key using the newer spaces endpoint?”
Tell an agent
Create a space named {name} with role assignments {roleAssignments}.
Create space {name} from template {templateKey} on the role-based spaces endpoint.
GET /spaces/{id} Get a space by id · Get Space by Id #
Ask an LLM
“What details can I see for one space if I know its id?”
“Can I get a space's description in a particular format?”
Tell an agent
Show space {id}.
Get space {id} with its description in {description_format} format.
GET /spaces/{id}/pages List pages in a space · Get Pages in Space #
Ask an LLM
“Which pages live in a particular space?”
“Can I list only the top-level pages of a space rather than all of them?”
Tell an agent
List all pages in space {id}.
List the root-level pages of space {id} at depth {depth}.
POST /wiki/rest/api/space Create a space with explicit permissions · Create space #
Ask an LLM
“How do I create a space with a key and permissions on the classic REST endpoint?”
“Can I set space labels at the moment I create a space?”
Tell an agent
Create a space called {name} with key {key} using the classic space API.
Create space {name} granting permissions {permissions}.
POST /wiki/rest/api/space/_private Create a private space only I can see · Create private space #
Ask an LLM
“How do I make a personal space nobody else can view?”
“What does a private space restrict compared to a normal one?”
Tell an agent
Create a private space named {name} visible only to me.
Set up private space {name} with key {key}.
PUT /wiki/rest/api/space/{spaceKey} Update a space's name, description or homepage · Update space #
Ask an LLM
“Can I rename a space or change its homepage through the API?”
“Why can't I change space permissions when updating a space?”
Tell an agent
Rename space {spaceKey} to {name}.
Set the homepage of space {spaceKey} to {homepage}.
DELETE /wiki/rest/api/space/{spaceKey} Permanently delete a space · Delete space #
Ask an LLM
“How do I permanently delete a space without sending it to the trash?”
“Is a space gone immediately when the delete call returns?”
Tell an agent destructive · confirm first
Permanently delete space {spaceKey}.
Start the long-running deletion of space {spaceKey}.

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-space-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-space-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Confluence Space API
  x-refined-note:
  - x-logo differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged Space across 3 of this provider''s published API definitions: confluence-cloud-v2.yml, confluence-rest-v1-openapi.json, confluence-rest-v2-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{domain}.atlassian.net/wiki/api/v2
  description: Confluence Cloud
  variables:
    domain:
      default: your-domain
      description: Your Atlassian Cloud site domain
- 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 (100 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/confluence/refs/heads/main/openapi/confluence-space-api-openapi.yml