How to download attachments using oauth token

I’m trying to download the content of attachments on Confluence Cloud using the download link ( fetched from an earlier call to get the attachment infomation )

The result is a 401 “Token is missing required scopes: confluence:atlassian-external”

I’m using OAuth tokens here - any idea how to get this working? All the examples I can find are using basic auth, is this the only supported mechanism?


Paul Woods