Table of contents

Atlassian Confluence, otherwise known as Confluence, is a popular collaboration and documentation platform that teams use to create, organize, and share information.
To help you create and update information in Confluence from other systems or extract information from the application and use it in your other systems and/or product, you can connect to the platformâs API endpoints.
The first step in building any Confluence integration is creating API tokens. Weâll help you do just that below.
Since Confluence is an Atlassian product, youâll actually need to generate API tokens in Atlassian.
The first step in doing so is logging into the application here.
â

Related: A guide to integrating with knowledge base systems
Once youâre logged in, youâll land on Atlassianâs homepage by default. Select âAccount settingsâ under the âYour appsâ section.Â

Youâre now on the âProfile and visibilityâ tab. Hover to the âSecurityâ tab.

Under âAPI tokens,â you should see an option to create API tokens. Go ahead and click on this.

API tokens can be used to access a wide range of sensitive information in Confluence, such as product roadmaps, sales slide decks, and even employeesâ personally identifiable information (PII), like their home addresses.
Given the stakes involved, Atlassian takes an extra precaution to ensure that those who create API tokens are authorized to do so by automatically verifying their identities.Â
Atlassian will send you an 8-digit verification code via email, which youâll need to enter into the verification screen below to proceed.Â

You now have two options: You can create an API token with full access (matching your user permissions), or you can create an API token with scopes, which lets you put additional limits on the data thatâs available through the token.

Assuming you decide to create a full access token, youâd go on to give it a name as well as assign it an expiration date before selecting âCreate.â

From there, your token will be automatically generated. You can simply copy it and store it in a safe location to prevent malicious actors from accessing and using it.

Youâll also see the token generated in your API tokens page. You can review its high level information (i.e., name, created and expiration dates, and when it was last accessed), and you can go on to revoke it whenever youâd like with the click of a button.Â

Before integrating with Confluenceâs API, itâs worth considering other items:
Confluence offers a freemium pricing model with 4 plans: âFreeâ, âStandardâ, âPremiumâ, and âEnterprise.âÂ

As you move up these plans, youâll get access to more pages, spaces, automations, admin controls (like role-based access), and better support. Youâll even have a higher uptime SLA with their enterprise plan compared to any other plan (e.g., 99.95% compared to 99.9% in their Premium plan).
Learn more about Confluenceâs pricing.
Confluence uses two rate limit windows: A âburstâ window, which limits the amount of requests that can be made every 10 seconds, and a âquotaâ window, which limits the number of requests that can occur every hour.
Confluence doesnât share many details beyond this, but as you make API requests youâll learn how many you can make from their response headers.Â
More specifically, Confluence will return numbers in the <code class="blog_inline-code">X-RateLimit-Remaining</code> and <code class="blog_inline-code">X-RateLimit-Reset</code> to help you understand how many API requests you can make within a burst or quota window. You can use this information to make future requests successfully.
Learn more about Confluenceâs approach to enforcing rate limits.Â
Confluence uses standard API response codes, so youâll likely run into the following error codes over time:
The process of integrating Confluence with your product, along with other knowledge base systems (e.g., Notion), can take your engineers hundreds of hours, and countless more time for ongoing maintenance.
To help you add secure and reliable knowledge base integrations to your product quickly and successfully, you can leverage Mergeâs Knowledge Base Unified API.
Learn more about the API, and Mergeâs platform more broadly, by scheduling a demo with one of our integration experts!