Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

API requests returning a 403 error...(this one has a twist)

Steve Suranie June 2, 2023

My company is in the process of an M&A and I am trying to access the acquired company's Confluence instance through the API. I have access to the site, in fact, I am the site administrator...


I can do all the stuff not working below on the parent company site. 

And I can plug a API query using the merged company's Atlassian URL into the browser and get results... returns all the site spaces. 

I made a token specifically for queries from the merged company, set it to base64encoded using my email:token format and pass it in the header as Authorization: Basic 64encoded-string

If I try to access using cURL or Python I get the same 'no soup for you' error: 


  "message": "Current user not permitted to use Confluence",

  "statusCode": 403


My cURL code: 

curl -D \

   -X GET \

   -H "Authorization: Basic a3RjQGthcmdvLmNvbTpldVFvbXhwd3RtaGpxxxxxxxxxxxxxx \

   -H "Content-Type: application/json" \

   ""| jq '.' -S

With Python I am using the Atlassian module. So initialize a Confluence class instance: 

commConfluence = Confluence(

and then I call it like: 

dictPage = commConfluence.get_page_by_id(strId, expand="", status=None, version=None)

Again, I can get this to work on the parent company Atlassian address but not the merged company. Am I missing something here? 


1 answer

1 accepted

0 votes
Answer accepted
Alex _ Trello
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 5, 2023

Hey @Steve Suranie - it looks like you've raised this under the Trello product forums, not the Confluence product forums. Can you raise this under Confluence at

Better yet, if you need assistance with the API, the Developer Community may be better suited to you. You can chat to the Confluence Developer Community at

Steve Suranie June 6, 2023

Done, not sure how I ended up here. 

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events