Using Scoped API Token How Can I download Confluence Attachment

Hi Team,

How can I download Confluence attachment using scoped api token. using this API : https://api.atlassian.com/ex/confluence/cff85b26-0984-4952-b252-f54f66534fc3/wiki/api/v2/pages/93454337/attachments

I am able to get attachment in a page, but not able to download attachment asking for login.

Here is the response of above API

{
“results”: [
{
“downloadLink”: “/download/attachments/93454337/projectKeyPermission.csv?version=1&modificationDate=1765450254759&cacheVersion=1&api=v2”,
“createdAt”: “2025-12-11T10:50:54.759Z”,
“mediaTypeDescription”: null,
“webuiLink”: “/pages/viewpageattachments.action?pageId=93454337&preview=%2F93454337%2F296648706%2FprojectKeyPermission.csv”,
“comment”: “”,
“version”: {
“number”: 1,
“message”: “”,
“minorEdit”: true,
“authorId”: “5b7256f1c83aae05531cf874”,
“createdAt”: “2025-12-11T10:50:54.759Z”
},
“id”: “att296648706”,
“mediaType”: “text/csv”,
“fileId”: “936fe769-2344-4ff0-a05e-4d9993f34087”,
“pageId”: “93454337”,
“status”: “current”,
“title”: “projectKeyPermission.csv”,
“fileSize”: 370,
“_links”: {
“download”: “/download/attachments/93454337/projectKeyPermission.csv?version=1&modificationDate=1765450254759&cacheVersion=1&api=v2”,
“webui”: “/pages/viewpageattachments.action?pageId=93454337&preview=%2F93454337%2F296648706%2FprojectKeyPermission.csv”
}
}
],
“_links”: {
“base”: “https://abc.atlassian.net/wiki”
}
}