Skip to main content

How do I upload files via the Bubble API?

Sofia Maconi avatar
Written by Sofia Maconi
Updated yesterday

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": { "name": "String", "contents": "Base64-encoded binary data"}

Did this answer your question?
CoAlias Logo Powered by CoAlias