Upload Public File
API endpoint for uploading public files. Uploaded files are public and accessible by anyone. This endpoint requires authentication. It accepts a JSON body with fileName, fileType, environmentId, and optionally allowedFileExtensions to restrict file types. On success, it returns a signed URL for uploading the file to S3 along with a local upload URL.
POST
Headers
Body
application/json
Response
200
application/json
OK - Returns the signed URL, updated file name, and file URL.
The response is of type object
.