Confluence
Confluence Cloud spaces, pages, blogs and comments
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Atlassian siteRequiredSubdomain
- Your Atlassian account emailRequired
- API tokenSecretRequired
Where to find them
- At id.atlassian.com/manage-profile/security/api-tokens click “Create API token” (the regular one, without scopes: scoped tokens do not work with the site address).
- Give it a name and an expiration (one year at most) and copy the token: it is shown only once.
- Enter the site, your Atlassian account email and the token here. It will have the same permissions as your user in Confluence.
OAuth 2.0
PKCEYour OAuth appBring your own OAuth app: register one with Confluence, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide
Registering the OAuth app
- Go to developer.atlassian.com/console/myapps with your Atlassian account and click “Create” → “OAuth 2.0 integration”; name it “Toolwire”.
- Under “Permissions” add the Jira API and the Confluence API and select the permissions (scopes) shown below.
- Under “Authorization” paste the redirect URI shown below as the “Callback URL”.
- Under “Settings” copy the “Client ID” and the “Secret”. If other people will connect with their own account, turn on sharing under “Distribution”.
Default scopes
read:confluence-content.allwrite:confluence-contentread:confluence-space.summarysearch:confluenceread:confluence-userread:page:confluencewrite:page:confluenceread:space:confluenceread:comment:confluencewrite:comment:confluenceoffline_access
Tools (2)
Confluence API request
CONFLUENCE_SEND_REQUESTAuthenticated call to the Confluence API (https://{site}.atlassian.net/wiki). Any endpoint of the API is allowed. Examples: GET /api/v2/spaces, GET /api/v2/pages?space-id={id}&limit=25, GET /api/v2/pages/{id}?body-format=storage, POST /api/v2/pages {"spaceId": "…", "status": "current", "title": "…", "body": {"representation": "storage", "value": "<p>…</p>"}}, PUT /api/v2/pages/{id} (with version.number + 1), GET /api/v2/pages/{id}/footer-comments, GET /rest/api/search?cql=….
Required scopes
No scopes required
Input
Confluence API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically. Search content (CQL)
CONFLUENCE_SEARCH_CONTENTSearches with CQL (for example type = page AND text ~ "holidays", or space = DEV AND title ~ "API" ORDER BY lastmodified DESC). Returns id, type, title, space, excerpt, URL and last modification.
Required scopes
No scopes required
Input
Search content (CQL) input Name Type Description cqlrequiredstringCQL query maxintegerDefault: 20

