Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Curl REST API - {"message":"Current user not permitted to use Confluence","statusCode":403}


Hello Experts,

I am recently exploring confluence REST APIs. I was trying examples at

So I created a my free sample Space & Confluence Page at Atlassian cloud

When I tried using curl GET example I am getting 

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

I referred all the examples & Suggestions given at below links but couldn't able to figure out the issue. If you could help me out in understanding and showing me the direction that would be great.

Error step:

C:\Users\sent>curl -D- --ssl-no-revoke -u <userid>:<Api token> -X GET -H "Content-Type: application/json"<pageno>
HTTP/1.1 403 Forbidden
Server: AtlassianProxy/
vary: Accept-Encoding
cache-control: no-cache, no-store, must-revalidate
Content-Type: application/json
Strict-Transport-Security: max-age=315360000; includeSubDomains; preload
Date: Thu, 27 Jan 2022 20:28:40 GMT
ATL-TraceId: 08513d1914924ded
expires: Thu, 01 Jan 1970 00:00:00 GMT
X-XSS-Protection: 1; mode=block
Transfer-Encoding: chunked
x-envoy-upstream-service-time: 42
X-Content-Type-Options: nosniff
Expect-CT: report-uri="", enforce, max-age=86400
Connection: Keep-Alive

{"message":"Current user not permitted to use Confluence","statusCode":403}

2 answers

Hi @Senthil Prasanth

I just faced the same problem, after digging a little bit in the suggested examples by @Pramodh M I found the solution that worked for me.

What you need to do is essentially just add an `Authorization` header with the following format:

`Authorization: Basic <base64 encoded token>`


Where the `<base64 encoded token>` should be generated by encoding the following string:

`` => Base64 encoding => `eW91cl9lbWFpbEBkb21haW4uY29tOnlvdXJfdXNlcl9hcGlfdG9rZW4=`

(Atlassian recommends this site for the encoding


Keep in mind, at first I could not make it work too, but then I remembered that my email was changed so I had to generate a new encoded token, following which the API call worked.


Hope this helps!


Art Linkov

0 votes
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 27, 2022

Hi @Senthil Prasanth 

Did you create a token from here

And can you navigate to Confluence UI?

Let me know


Hello @Pramodh M 

Yes, I created a API token at

  • I could able to login to my Confluence UI and I can able to navigate to Confluence UI
  • Even I can able to get the required content from browser ( Chrome & Edge )<pageno>
  • But when I use a Curl (or) Python script to GET the same content, I get the following error.

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

Thanks in Advance.

Hello Experts,

Could you please assist us here.

Thanks in Advance;

I just found it here. I also encountered a similar problem. The difference is that I can upload successfully using curl, but I try to send about 800m files in GitHub action (I'm waiting for pipeline to update some features to switch to bitbucket)

`{"message":"Current user not permitted to use Confluence","statusCode":403}`

Any suggestions?

Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 01, 2022

Hi @Senthil Prasanth @Peng Xi 

Please follow the format here to successfully call the API

Hello @Pramodh M 

Thanks for your reply. But I am still facing the same error.

I am following the same procedure as you pointed out. Any help is much appreciated here


Senthil Prasanth K 

@Senthil Prasanth make sure you don't forget to replace the "" in the url variable with your actual domain... may not be the issue you are having, but i totally missed it

url = "{id}/child"

Like Chip Morton likes this

Same problem here, no solution.
I am doing REST calls every day as part of my job.

But I can't make it work with Atlassian :-(

Do I have to enable the API access on my Spaces?

Where do you control if the "Basic User" is allowed to access the requested page via API? Or is a user per sé allowed to access pages via API if he has a token?


GET https://<MyDomain>

Authorization: Basic {{Atlassian.Basic}}
Content-Type: application/json
HTTP/1.1 403 Forbidden 
{ "message": "Current user not permitted to use Confluence",
"statusCode": 403 }
Like # people like this

I got same issue after successfully using the "create page" V2 API's: the code i was referencing (chatgpt!) was adding authorization header with "Bearer [auth string]" in my create attachment code, rather than "Basic [auth string]" like I had been using with the other API's.... Good news is im no longer getting this error: bad news im now getting "no multipart boundary" error but I think after I whip chatGPT a few times it will work :D

...and yeah, the auth string = Base64(USERNAME + ":" + APITOKEN) where username = your email address and apitoken = from Atlassian site

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!
Jul 26, 2023

Same issue here. I have created a page and now I can't add tags cause of permissions apparently...

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events