Access page data through API token

Abhi
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!
January 21, 2025

 

Hi community, 

I want to access confluence page data without using cookies or session token as they expire during a certain amount of time.

Is there any provision that we can use API token? Currently, it shows JavaScript is disabled when I run through Postman using API token. But the curl from an actual site which consists of JESSIONID, session token renders correctly

1 answer

1 vote
Ajay _view26_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 21, 2025

Hi @Abhi 

Welcome to the Atlassian Community! 

Did you check out the REST APIs for Confluence? You should be able to access the page data programatically using the API token  - https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-id-get

Abhi
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!
January 22, 2025

Hi @Ajay _view26_ thanks for the reply.

I am having one more query. We can create external links for our pages right. These external links are publicly visible for everyone. Can we access that data through postman how i can achieve this without any authentication. Currently it shows loader. 

Ajay _view26_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 22, 2025

Hi @Abhi ,

I dont think there is any REST API available withoutout using auth. You might have to parse the public link content in my opinion. You could try posting your query here -https://community.developer.atlassian.com/

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events