# Upload file Upload a file to LawVu. The body of the post should be the contents of the file. Endpoint: POST /v1/files/{targetType}/{targetId} Version: 1.0 ## Path parameters: - `targetType` (string, required) The target entity type in LawVuOptions:MatterMilestoneTaskOrganisationContractFileInvoiceBatchKnowledgeArticleFolderFolderTemplateKnowledgeLibraryInboundEmailUserMessageThreadTimelineEntryMatterStatusContractStatusMessageComment Enum: "Matter", "Milestone", "Task", "Organisation", "Contract", "File", "InvoiceBatch", "KnowledgeArticle", "Folder", "FolderTemplate", "KnowledgeLibrary", "InboundEmail", "User", "MessageThread", "TimelineEntry", "MatterStatus", "ContractStatus", "Message", "Comment" - `targetId` (integer, required) The target entity in LawVu ## Request fields (application/json-patch+json): - `folderId` (integer,null) Id of the folder for the file upload - `isBrowsable` (boolean) File is browseable in the files collection - `fileData` (string,null) The upload file details