Bitbucket API get zip with access token

Hi,

I would like to get a ZIP file from my repo with curl.
I’m trying with a repository access token but I can’t figure out how to do it.

https://bitbucket.org/{username}/{repo}/get/tag.zip
The file is accessible via logged in browser.

Any suggestions?