# Upload file Add or update a file in a matter. \ \ The body of the request must be content-type 'multipart/form-data' and contain the file data. Endpoint: POST /v1/matters/{matterId}/files Version: 1.0 ## Path parameters: - `matterId` (integer, required) The id of the matter ## Query parameters: - `comments` (string) Comments to be added to the file - `parentFileId` (integer) Creates a new version for the specified parent file id - `folderId` (integer) The id of the folder to upload the file within - `conflictResolution` (string) Defines behaviour for when a file conflict is foundOptions:ReplaceKeepBothSaveVersionSkip Enum: "Replace", "KeepBoth", "SaveVersion", "Skip" ## Request fields (multipart/form-data): - `file` (string)