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: 

How do i format my PAT call to access Confluence from a script?

Evan Duchesne
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 19, 2024

I am writing a script to, when run, go to a confluence link and download the content of that page. I am struggling with how to format the calling/use of the PAT in my code to gain access to confluence. Can you help me format correctly?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Shawn Doyle - ReleaseTEAM
Community Champion
June 19, 2024

The docs for the REST API can be found here: 

https://developer.atlassian.com/cloud/confluence/rest/v2/intro/#auth

There are examples of how to use the API in different programming languages. 

For setting up authentication:

https://developer.atlassian.com/cloud/confluence/basic-auth-for-rest-apis/

TAGS
AUG Leaders

Atlassian Community Events