To upload a file via Bubble API, you can leverage a POST request to your app's https:/[your app domain]
/fileupload/ endpoint.
To upload a single file using the Bubble API, you'll want to send one file as Base64 encoded and format the parameter as a JSON Object, along with a file name.
Here's an example of this request body:
"file": { "filename": "String", "contents": "Base64-encoded binary data"}
If you're sending multiple files, you can use URLs stored in a list:
"files": ["https://i.pcmag.com/imagery/articles/00Cx7vFIetxCuKxQeqPf8mi-23.fit_lim.size_1600x900.v1643131202.jpg", "https://help.rapid7.com/insightidr/content/resources/images/json/nested-json.png"]