Hi Florian
You can upload a File (and set the permissions) using the CMS Files API.
Once you’ve upload the file you can the associate the file to your deal (using the File ID returned from the CMS Files API) with the Create Engagement API.
Have fun
Mike