where to find username for the API authentication in Python

Behnam Mashari
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!
May 18, 2023

It seems that the only supported way of authentication to start using Confluence API in Python is inputting the username. However. I can not find where my username is stored and did not find previous discussions on this helpful. Please show me a way to find my username to start working with Confluence API in Python if this is supported in the free cloud confluence version. 

Thanks 

1 answer

0 votes
Nicolas Brunson May 19, 2023

Hi Behnam and welcome to the Atlassian Community.

The REST API authorizes using your Atlassian account's email address and an API token. So you just need to enter your email address as the username, since you have already created a personal access token.

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

Khanh Quach
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!
April 28, 2024

Hi,

Is there another method of authentication for REST API if my organization doesn't allow / block the use of token?

 

Thanks,

Ken

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events