What It Can Do
See Tools and Required Scopes below for the full list of tools behind these capabilities.
Connecting
1
Register an OAuth app
Go to the Atlassian Developer Console and select Create → OAuth 2.0 integration. Give the app a name, for example “Airia Confluence,” and save.
2
Add the callback URL
Select Authorization in the left sidebar, then click Add next to OAuth 2.0 (3LO). Add the following callback URL and save:
3
Add API permissions
Select Permissions in the left sidebar, click Add next to the Confluence API, and enable every scope listed under Tools and Required Scopes below. The Granting All Scopes section has both scope lists ready to paste in.
4
Copy your credentials
Select Settings and copy the Client ID and Secret.
5
Find your Cloud ID
Your Cloud ID is a UUID Airia uses to reach your specific Confluence site. Visit the following URL, replacing
{your-site} with your Atlassian domain, and copy the cloudId value from the response:6
Add it to Airia
Add Confluence Cloud (OAuth) as a server on a Gateway or Deployment, then enter your Client ID, Client Secret, and Cloud ID.
The OAuth Scopes field in Airia is optional. Leave it blank to request the standard scopes above, or fill it in to request a different set. If you customize it, make sure to include
offline_access so your connection can refresh automatically.Tools and Required Scopes
Every tool below needs a specific Confluence scope before it will work. Tool names are what an agent actually calls, the same names you’d see in an agent’s tool call log.Atlassian scopes come in two flavors. Classic scopes are broad and recommended, granting one alone is enough for every tool that lists one. Granular scopes are narrower and only needed if you’re building an OAuth app without classic scopes, in which case a tool needs every listed granular scope granted together. Most of Confluence’s newer page, space, comment, and attachment-reading tools run on Confluence’s v2 API, which has no classic scope equivalent at all, so those always need their granular scope regardless of which approach you use.
Pages
Content Body
Spaces
Comments
Attachments
Labels
Templates
Tasks
Content Properties
Restrictions
Users
Granting All Scopes
If you’d rather not cross-reference the table above tool by tool, enable every scope below in the Atlassian console and every tool becomes available at once. Classic scopesTogether, these two lists cover every tool in the reference above. The Classic list covers every tool that lists a Classic option, and the Granular list adds the scopes Confluence’s newer v2 API tools need, since most of them, mainly page, space, comment, and attachment-reading tools, have no Classic equivalent at all.
Troubleshooting
Sign-in fails or a consent screen shows an error
Sign-in fails or a consent screen shows an error
Double check the callback URL on your OAuth app is exactly
https://auth.airia.ai/OAuth/callback, and that your Cloud ID is correct. A wrong Cloud ID connects successfully but every tool call fails, since Airia is pointed at a site that doesn’t match the app’s authorization.A specific tool fails even though the connection works
A specific tool fails even though the connection works
Check the Tools and Required Scopes table above for the exact scope that tool needs, add it to your app registration, and reconnect.
The connection stops working after about an hour
The connection stops working after about an hour
This happens when
offline_access wasn’t included in the granted scopes, so Airia has no way to refresh the session. If you customized the OAuth Scopes field in Airia, add offline_access back in and reconnect.Learn More
- Confluence Cloud REST API v2
- Confluence Cloud scopes for OAuth 2.0
- Atlassian Developer Console
- OAuth 2.0 for Atlassian apps
Confluence Cloud (API Token)
It exposes the exact same tools as Confluence Cloud (OAuth) above, using a different way of authenticating: every request runs as whichever Atlassian account owns the token, so there’s no OAuth app, no Cloud ID, and no scopes to grant. The token has full access to whatever that account can already do in Confluence.1
Create an API token
Go to your Atlassian API token settings and create a new token. Copy it, along with the email address of the Atlassian account it belongs to.
2
Base64 encode your credential
Combine your email and token as
{your email}:{your API token}, then Base64 encode the whole string. On macOS or Linux, you can run:3
Add it to Airia
Add Confluence Cloud (API Token) as a server on a Gateway or Deployment, then enter the encoded string as the credential, along with your Atlassian domain, the part before
.atlassian.net in your site’s URL.The credential Airia needs is the Base64 encoding of
email:apitoken, not the API token by itself. This method authenticates every request with a single token rather than individual user sign-in, so it’s best suited to simpler or single-account setups.Related Resources
Jira Cloud
Connect Jira issues, boards, and sprints the same way
Tenant vs. Personal Level App Credentials
Decide whether your OAuth app registration is shared or personal
Supported Credential Types
See how each authentication method works across servers
Server Management
Approve which MCP servers your organization can use
