Connect to AI
Collaboration Basic Auth

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.

Base URL https://your-domain.atlassian.net/wiki/rest/api

API Endpoints

MethodEndpointDescription
GET/spaceRetrieve a list of all spaces with their metadata and permissions
GET/space/{spaceKey}Get detailed information about a specific space by its key
POST/spaceCreate a new space with specified name, key, and description
GET/contentSearch 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/contentCreate 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}/childRetrieve all child pages under a parent page in the hierarchy
GET/content/{id}/historyGet version history and change details for a specific page
POST/content/{id}/labelAdd labels/tags to content for better organization and searching
GET/content/searchPerform advanced search using CQL (Confluence Query Language)
GET/userRetrieve user information by username or account ID
POST/content/{id}/notification/createdSend notifications to watchers when content is created
GET/auditAccess audit logs for space and content changes

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 →

Related APIs