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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

1 answer

Please explain how you attempted to download this attachment.

  • In a browser, in the same session as your Confluence Cloud instance?
  • Programmatically with curl or something similar?

What are the steps to reproduce your situation?

@David Simpson _David Simpson Apps_ 
I want to do it programmatically , I tried to hit this API/request from the postman with Oauth 2.0 3LO access token.

Step 1: 

I hit this API :{cloudId}/rest/api/content/{pageId}?expand=children.comment,children.attachment

received `downloadUrl` : `download/attachments/684556356/Screen%20Shot%202019-10-11%20at%203.19.28%20PM.png?version=1&modificationDate=157787674135&cacheVersion=1&api=v2`

and tried hitting this received url with postman using Oauth 2.0 access token

I just want to know the API for downloading attachments using API and Oauth2.0 3LO access token.

@David Simpson _David Simpson Apps_ 

I tried doing it using API (using Postman)
to reproduce follow these steps
1. Get attachments for given page id
API that I used: `{cloudId}/rest/api/content/{pageId}?expand=children.comment,children.attachment`

2. received download url in API response as : `download/attachments/684556356/Screen%20Shot%202019-10-11%20at%203.19.28%20PM.png?version=1&modificationDate=157787674135&cacheVersion=1&api=v2`

Tried to this with Oauth 2.0 3LO access token.
but received 401
what would be the base Url 
I tried using :{cloudId}/rest/api/

I tried hitting this request on postman with Oauth 2.0 3LO access token
1. sent API request for get page attachment
2. received download url in response 
3. tried to hit this using Oauth 2.0 access token 

@Anuja Deshpande did you find any solution for that?

Suggest an answer

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

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

113 views 0 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