Confluence API guide

atlassian.net

Confluence lets you search wiki content with CQL, read page details, and create or update pages from Markdown or storage XHTML.

Actions and inputs

confluence page

Read a page and retrieve its body in storage and Markdown formats.

Inputs page ID

confluence search

Find wiki content with a CQL query.

Inputs CQL query, optional space and result limit

confluence create

Create a page in a space from Markdown or storage XHTML.

Inputs space ID, title, body file, optional parent page ID, --execute

confluence update

Replace an existing page body and optionally add a version message.

Inputs page ID, body file, optional version message, --execute

Confluence page in your workspace

Create

Create a Confluence page in a workspace space you can edit.

Inputs space ID, title, page body, optional parent page ID

Read

Read the page details and body.

Inputs page ID

Update

Update the page body and optionally describe the revision.

Inputs page ID, revised body, optional version message

Delete

Move the page to trash through the Confluence website.

Inputs page ID, delete permission