Confluence REST API
Team collaboration and documentation workspace API
Confluence is Atlassian's team workspace platform that enables teams to create, share, and collaborate on documentation, meeting notes, and knowledge bases. The Confluence REST API allows developers to programmatically manage spaces, pages, content, comments, and user permissions, making it ideal for automating documentation workflows, integrating with CI/CD pipelines, and building custom knowledge management solutions.
https://your-domain.atlassian.net/wiki/rest/api
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /space | Retrieve a list of all spaces with their metadata and permissions |
| GET | /space/{spaceKey} | Get detailed information about a specific space by its key |
| POST | /space | Create a new space with specified name, key, and description |
| GET | /content | Search and retrieve content (pages, blog posts) with filtering options |
| GET | /content/{id} | Get a specific piece of content by its ID with version history |
| POST | /content | Create new content such as pages or blog posts with rich text body |
| PUT | /content/{id} | Update existing content including title, body, and metadata |
| DELETE | /content/{id} | Delete a page or blog post by its content ID |
| GET | /content/{id}/child | Retrieve all child pages under a parent page in the hierarchy |
| GET | /content/{id}/history | Get version history and change details for a specific page |
| POST | /content/{id}/label | Add labels/tags to content for better organization and searching |
| GET | /content/search | Perform advanced search using CQL (Confluence Query Language) |
| GET | /user | Retrieve user information by username or account ID |
| POST | /content/{id}/notification/created | Send notifications to watchers when content is created |
| GET | /audit | Access audit logs for space and content changes |
Sponsor this page
AvailableReach developers actively building with Confluence. See live pageview data and self-serve checkout — your slot goes live in minutes.
View inventory & pricing →Code Examples
curl -X GET 'https://your-domain.atlassian.net/wiki/rest/api/content?spaceKey=TEAM&type=page&limit=10' \
-H 'Authorization: Basic base64(email:api_token)' \
-H 'Content-Type: application/json'
Use Confluence from Claude / Cursor / ChatGPT
Get a hosted MCP endpoint for Confluence. Paste your Confluence API key, copy back one URL, drop it into Claude Desktop, Cursor, or any AI client that supports remote MCP. Your AI calls Confluence directly with your credentials — no local install, works on mobile.
search_confluence_pages
Search Confluence pages using CQL queries and return relevant documentation with metadata and links
create_confluence_page
Create new Confluence pages with AI-generated content in specified spaces with proper formatting
get_page_content
Retrieve the full content and metadata of a specific Confluence page for context or summarization
update_page_content
Update existing Confluence pages with new information while preserving version history
get_space_overview
Get comprehensive information about spaces including pages, permissions, and recent activity for knowledge navigation
Connect in 60 seconds
Paste your Confluence key → get an MCP URL → paste into Claude/Cursor. Hosted by IOX, encrypted at rest.
Connect Confluence to your AI →