To download the attachments I tried calling the following APIs but all of the endpoints returns 401 Unauthorized
Request #1:
GET https://{domain}/wiki/download/attachments/{page_id}/{file_name}?api=v2
Request #2:
GET https://api.atlassian.com/ex/confluence/{cloud_id}/wiki/download/attachments/{page_id}/{file_name}?api=v2
Request #3:
GET https://api.atlassian.com/ex/confluence/{cloud_id}/wiki/download/attachments/{page_id}/{file_name}?api=v2&download=true
I have looked into this community post about download attachments with 3LO app but still couldn’t figure out a way to download these attachments from the confluence page.
and I am damn sure i have given all the necessary scopes permisiion and also my access token is correct since it is able to correctly hit other api endpoints