Home File

Upload Home File To Folder

POST

Uploads a file to a specific folder on your Home Files page.

ProjectManager allows you to store Files connected to other elements of your Workspace such as a Project, a Task, or Home. Files are maintained separately based on the location where the file was stored.

You can organize your files in the Home Files and Project Files pages by adding folders.

When you upload a File, please allow a few moments for the File to be processed and verified. ProjectManager may reject File uploads that contain problems such as malware. Once a File has completed the upload the process, you may retrieve it using the DownloadFile API.

This API returns a JSON response indicating success or failure.

Path parameters

folderIdstringRequired
The reference to the sub folder to put the file into

Request

This endpoint expects a multipart form containing an optional file.
fileoptional file

Response

This endpoint returns an object
error
objectOptional
If the API call failed, this will contain information about the error that occurred.
success
booleanOptional
True if the API call succeeded; false otherwise.
hasError
booleanOptional
True if the API call failed.
statusCode
enumOptional
The HTTP code of the response.
data
objectOptional
Represents a file in project manager
POST
$curl -X POST /api/data/home/folders/%3AfolderId/files \
> -H "x-integration-name: string" \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: multipart/form-data" \
> -d '{}'
Response
1{
2 "error": {
3 "technicalError": "string",
4 "additionalErrors": [
5 "string"
6 ],
7 "message": "string"
8 },
9 "success": true,
10 "hasError": true,
11 "statusCode": "Continue",
12 "data": {
13 "id": "string",
14 "projectId": "string",
15 "taskId": "string",
16 "ownerId": "string",
17 "createdDate": "2023-01-01T00:00:00Z",
18 "folderId": "string",
19 "fileType": "string",
20 "fileTypeLabel": "string",
21 "size": 0,
22 "downloadPath": "string",
23 "deleted": true,
24 "type": "string",
25 "name": "string",
26 "entityOwnerId": "string"
27 }
28}