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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how can i get attachement(img) with oauth token? Edited

Hi. I'm trying to get image from confluence contents.


I made some app and i using oauth2.0 for user auth.


So.. i want  take attachement(img) like this url.



curl --location --request GET ' ' \
--header 'Authorization: Bearer somethingoauthtoken'


but i got response 

Encountered a 401 - Unauthorized error while loading this page.


what scope should i set?


i already set scopes

'read:confluence-space.summary read:confluence-content.all read:confluence-content.summary read:confluence-props'


or isn't it possible get image with oauth bearer token?

1 answer

1 accepted

0 votes
Answer accepted

Hello @GeunCheol Yeom,

Welcome to Atlassian Community. It's nice to meet you.

First, I recommend you review the following Atlassian Developer articles if you have not already.

This Community is more for end-users, so if you still encounter any problems, I recommend raising this topic with our Atlassian Developer Community. They are better suited to assist with these types of questions. 

Thanks again, and take care!


ahh thanks alot. I'll re ask about it

Like Shannon Spaniol likes this

You're welcome! I hope it helps. smile

Take care,


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

👁‍🗨 Confluence Team planning dashboard_Atlympics 🌈

Hi Atlassian's, How is your journey with #Atlympics 2021 so far....excited! Me too, same excitement. Here's my typical team planning and vision dashboard which I used to share to my management and ...

46 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you