Send private file through API connector

So I hope this will help you guys.
So this is the only way I found (after a looot of time on this issue…)to send a private file through an API.
I generated a token in the Settings/API section.
Then before to use the encoded in base 64 function on the file you need to add the token into the file url by adding: /?api_token=xxxx
with “xxxx” the api token generated previously.
Here screenshots:
image
image
In the delimiter i add a “space”