Posting a file to a form

Hello,
in the beginning thanks for an awesome CMS!

I was wondering is there a way I can use the addAsset API to save files to my form submission.

My use case is a form with an upload CV field. I want to be able to view/download the uploaded file from the submitted form.

Thanks.

Check Add Images to Collections via API?

I actually did but I was trying to make the CV field in the collection of type File & and make it directly viewable / downloadable.

But I guess this was too much, I ended up referencing the asset link as a Text.

Thanks for the immediate response :slight_smile: