Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Introducing admin key support for REST APIs

Hello Atlassian Admins,

We are excited to share that Confluence Cloud has now added support for the admin key feature across all our REST APIs for Confluence Cloud Premium and Enterprise customers!

 

Why?

The admin key feature was originally implemented as a UI-based feature, allowing customers who are organization or site admin users to temporarily bypass all content or space-level permissions within their sites and access restricted content.

Since this feature was introduced, Confluence Cloud has received numerous feature requests to extend its functionality to our public REST APIs so that customers could implement custom solutions to programmatically access restricted content within their instances.

 

How can I programmatically grant my user an admin key?

We have now introduced a new V2 REST API that allows organization or site admins in Confluence Cloud Premium and Enterprise instances to retrieve, enable, and disable admin keys for their users.

More information about this API can be found on our public developer documentation site: The Confluence Cloud REST API.

 

How can I execute subsequent REST API calls using my admin key?

Organization or site admin users can make subsequent calls to any of our existing REST APIs using their admin keys by simply adding the following HTTP header to their requests:

HTTP Header Name: Atl-Confluence-With-Admin-Key

HTTP Header Value: true

 

What's not changing?

As observed in the UI, the new V2 REST API and HTTP header described above is only available to organization or site admin users within Confluence Cloud Premium and Enterprise instances.

Additionally, all actions performed in the UI relating to admin keys that are recorded in the audit logs today will continue to be recorded for these programmatic flows. More information about what actions are recorded in our audit logs can be found here: Bypass page restrictions with admin key | Confluence Cloud | Atlassian Support.

 

Let us know what you think of these changes in the comments below!

- Spurthi & the Confluence Permissions team

4 comments

Dirk Ronsmans
Community Champion
April 11, 2025

Awesome!

could have used this one a few times in the past so happy it made it through development!

Like • Spurthi Kulkarni likes this
ahmet_kilic_catworkx_com April 14, 2025

Removed one more showstopper

i.e. Opened up  a door for most of creative sollutions

 

Big thanks!

Antoine _Klee Group_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 14, 2025

Hi, thanks for this feature that sound amazing!

I did not manage to make it work though. I could create the admin key using the proper endpoint The Confluence Cloud REST API (btw the example is wrong, as it is supposed to create a 145 mins long lasting key but they are in reality limited to 60 mins).

Though, header Atl-Confluence-With-Admin-Key: true sadly do not work  for subsequent requests.

Is this really implemented?

Best.

Like • Samuel Segaud likes this
Nick Wade -Opus Guard-
Atlassian Partner
April 14, 2025

Thank you for listening and working towards this solution. Governance and compliance solutions really need access to Restricted content and Admin permissions haven't been cutting it in Confluence Cloud. We're looking forward to wrapping compliance protections around more Atlassian Cloud customers' content now! 

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events