Store files in file manager via api

Hi,
need to store files like .pdf and .doc and we want to use the internal file manager.

How it’s possible to insert file into bubble file manager via api?

Any help is appreciated.

Hey @tools18 :wave:

I think you can create a workflow API and use this to accept a file in a post call and upload the file.

However, there is no action to upload a file directly, so probably, you should have a data type with a file field in it and create an instance of this.
image

And you can return the URL or something (or nothing) as result:
image