The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

What kind of headers and auth details should be given to access confluence APIs ?

Jeevan R
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 6, 2024

Can anyone please help on What kind of headers and auth details should be given to access confluence APIs ?

GET /rest/api/content

POST /rest/api/content

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Thiago P _Atlassian Support_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 30, 2025

Hey there @Jeevan R ,

When using Confluence Server and Data Center instances, you can use the Basic authentication by passing your credentials (username and password) in the request.

Here's an example:

curl -u admin:admin http://localhost:8080/confluence/rest/api/content?limit=2

It is also possible to use Personal Access Tokens for integrating scripts and external applications.

For Confluence Cloud, use API Tokens  via the Admin Hub.

Hope this helps! =]

TAGS
AUG Leaders

Atlassian Community Events