Skip to content
Toolwire

Confluence

Confluence Cloud spaces, pages, blogs and comments

Project managementCatalog2 tools · 0 triggers

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

    1. 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).
    2. Give it a name and an expiration (one year at most) and copy the token: it is shown only once.
    3. Enter the site, your Atlassian account email and the token here. It will have the same permissions as your user in Confluence.

    Get credentials (opens in a new tab)

  • OAuth 2.0

    PKCEYour OAuth app

    Bring 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

    1. Go to developer.atlassian.com/console/myapps with your Atlassian account and click “Create” → “OAuth 2.0 integration”; name it “Toolwire”.
    2. Under “Permissions” add the Jira API and the Confluence API and select the permissions (scopes) shown below.
    3. Under “Authorization” paste the redirect URI shown below as the “Callback URL”.
    4. 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.all
    • write:confluence-content
    • read:confluence-space.summary
    • search:confluence
    • read:confluence-user
    • read:page:confluence
    • write:page:confluence
    • read:space:confluence
    • read:comment:confluence
    • write:comment:confluence
    • offline_access

Tools (2)

  • Confluence API requestCONFLUENCE_SEND_REQUEST

    Authenticated 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
    NameTypeDescription
    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_CONTENT

    Searches 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
    NameTypeDescription
    cqlrequiredstringCQL query
    maxintegerDefault: 20