Upload File to Workspace
POST/api/v1/workspaces/{workspaceId}/files/upload
Upload a file directly to a workspace. Supports multipart form data with optional folder targeting. Requires EDITOR or higher workspace role.
Headers
AuthorizationstringRequired
Bearer token for authentication
Content-TypestringRequired
Must be multipart/form-data
Path Parameters
workspaceIdstringRequired
The unique identifier of the workspace
Body
filefileRequired
The file to upload. Maximum size is 100MB.
folderIdstringOptional
Target folder ID within the workspace. If not provided, file is uploaded to workspace root.
POST/api/v1/workspaces/{workspaceId}/files/upload
Response