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

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! =]

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events