Allow Base64 File Uploads via API

Request would enable me to use the API to upload a file in base64 format

So instead of how the docs show it here Softr Database API – Softr Help Docs

Where I have to give it a url to the file I could I instead use base64

One example is the OpenAi API that shows both options

Current behavior:

When using the Softr Database API to create or update a record with a file field, the API requires a public URL pointing to the file (see docs). https://platform.openai.com/docs/guides/images-vision#analyze-images

Problem:

In many automated workflows (for example, in n8n or custom AI generation pipelines), images or documents are dynamically generated and not yet stored at a public URL. Currently, we have to first upload these files to another service (e.g. S3, Supabase Storage, or Google Drive) just to obtain a public link that Softr will accept. This adds unnecessary steps, latency, and external dependencies.

Proposed solution:

Support base64-encoded file uploads in the API request body—similar to how the OpenAI Images API allows either URLs or base64 data.

Example use case:

An n8n workflow generates a blog post image using OpenAI or Replicate. The resulting image (base64) could be sent directly to Softr to populate the file or image field in the “blog_posts” table—without having to host it elsewhere first.

Example desired behavior:

{

“image”: {

"filename": "header.png",

"content_type": "image/png",

"data_base64": "iVBORw0KGgoAAAANSUhEUgAA..."

}

}

This would simplify integrations, make the API more flexible for automation builders, and remove the need for temporary public storage.

Thanks!

1 Like

+1