Upload Private File
Client API - File Upload
Upload Private File
API endpoint for uploading private files. Uploaded files are kept private so that only users with access to the specified Workspace can retrieve them. The endpoint validates the survey ID, file name, and file type from the request body, and returns a signed URL for S3 uploads along with a local upload URL. Note - Environments are deprecated. Use Workspace/workspaceId terminology.
POST
Upload Private 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.
Path Parameters
The ID of the Workspace. Deprecated alias environmentId.
Body
application/json
Response
OK - Returns the signed URL, presigned fields, updated file name, and file URL.