Upload Public File
Management API - Storage
Upload Public File
API endpoint for uploading public files. Uploaded files are public and accessible by anyone. This endpoint requires authentication and enforces a hard limit of 5 MB for all uploads. It accepts a JSON body with fileName, fileType, workspaceId, and optionally allowedFileExtensions to restrict file types. On success, it returns a signed URL for uploading the file to S3.
POST
Upload Public File
Documentation Index
Fetch the complete documentation index at: https://formbricks.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Body
application/json
The name of the file to be uploaded.
The MIME type of the file.
The ID of the workspace.
Optional. List of allowed file extensions.
Available options:
heic, png, jpeg, jpg, webp, ico, pdf, eml, doc, docx, xls, xlsx, ppt, pptx, txt, csv, mp4, mov, avi, mkv, webm, mp3, zip, rar, 7z, tar Response
OK - Returns the signed URL, presigned fields, updated file name, and file URL.