Skip to main content
POST

Overview

When a file with the same name already exists, this endpoint suggests an alternative filename by appending a counter (e.g., “file.txt” becomes “file (1).txt”).

Request Body

string
required
Original filename that needs an alternative
integer
Parent folder ID where the file will be uploaded. Use null for root.
integer
Workspace ID

Response

string
Suggested alternative filename with counter
Use this in conjunction with /uploads/validate to handle duplicate files gracefully.