Confluence
Confluence connects with OAuth 2.0 through Truto's Atlassian app or your own, or with an Atlassian service account's OAuth 2.0 credential.
Install the Confluence integration
Install Confluence from Available integrations in each environment you connect accounts from.
Use your own Confluence OAuth app
Truto connects Confluence accounts through its own OAuth app, so this step is optional. To show your own app on the consent screen instead:
- Create an OAuth 2.0 integration in the Atlassian developer console and add
https://api.truto.one/connect/confluence/callbackas its redirect URL. If you use a redirect URL on your own domain, add that URL instead. - Enter the app's Client ID and Client Secret on the installed Confluence integration. See Overriding OAuth credentials.
By default, Truto asks Confluence for these scopes. The Connect UI lists them under Permissions required, and you can change them when you override the OAuth credentials.
offline_accessread:confluence-userread:confluence-groupsread:content-details:confluenceread:audit-log:confluenceread:page:confluenceread:content:confluenceread:space:confluencewrite:confluence-groupsread:label:confluenceread:space.permission:confluence
Enable the same scopes on your app. If your app allows fewer, change the list under Use your own OAuth settings → Scopes on the installed integration's Configuration tab to match.
Connect a Confluence account
The User Directory Activities API resource only works on Confluence's Standard and Premium plans.
-
In Integrated Accounts, click Connect Account.

-
Enter a Tenant ID (your customer's ID; Truto creates the tenant if it is new), or pick one under Existing tenant (optional). Check the Environment and the Region (where Truto places the account; Western North America by default). To open the link straight on Confluence, pick it under Advanced settings → Integration (optional). Click Get connection link.

-
Click the open-in-new-tab button, or click Copy and send the link to your customer so they connect their own Confluence account. The link works for 7 days, until an account is connected with it.

-
Click Get Started if it shows, then select Confluence.

-
Choose how to connect:
- OAuth 2.0: log in to your Confluence account and allow access to Truto.
- OAuth 2.0 Client Credentials: enter the Client ID and Client Secret of an Atlassian service account's OAuth 2.0 credential (created by an organization admin under Directory → Service accounts in Atlassian Administration). Click Connect.
If your Atlassian account can reach more than one site, pick the Confluence site to connect. One integrated account connects one site; connect again for each other site.
-
Close the tab when you see Connection successful. The new account appears under Integrated Accounts. Click its Account ID to see its details and make API calls.
Receive webhooks
Truto turns Confluence page events into unified record:* events on knowledge-base/pages. Truto doesn't check a signature on Confluence webhooks, so there is no secret to set.
- Install the Knowledge Base Unified API in the environment. Truto turns Confluence events into
record:*events only through it; without it, events are dropped. - Subscribe a Truto webhook to
record:createdandrecord:updated, orall. See Creating a webhook. - Register one Confluence webhook per event, with the event name in the URL's
typeparameter:
https://api.truto.one/integrated-account-webhook/<integrated_account_id>?type=page_created
https://api.truto.one/integrated-account-webhook/<integrated_account_id>?type=page_updated| Confluence event | Truto event |
|---|---|
page_created |
record:created on knowledge-base/pages |
page_updated |
record:updated on knowledge-base/pages |