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

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/

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events