After a file has been uploaded to an upload URL generated from the endpoint, this endpoint can be used to create a file task from the uploaded file by providing the upload id.
Authentication
AuthorizationBearerSend your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.
Path parameters
taskIdstringRequiredThe id of the task to attach the file to.
Request body Required
The model describing the uploaded file metadata.
application/json
uploadIdstringRequired1 The id of the temporary container that the file will be uploaded to.
fileNamestringRequired1 The name of the file that will be uploaded.
descriptionstring or nullOptionalThe description of the file.
Responses
200 OK
application/json
namestring or nullOptionalThe user-specified name of the file.
descriptionstring or nullOptionalThe description of the file.
idstringOptionalThe id of the file info.
entityIdstring or nullOptionalDeprecatedDeprecated. The id of the linked entity derived from entity specific owner ids.
projectIdstring or nullOptionalprojectTemplateIdstring or nullOptionalcompanyIdstring or nullOptionaltaskIdstring or nullOptionaltaskTemplateIdstring or nullOptionaluserIdstring or nullOptionaldocumentIdstring or nullOptionalfileNamestring or nullOptionalThe name of the file.
entityTypestring or nullOptionalThe name of the linked entity type.
mimeTypestring or nullOptionalThe MIME type of the file.
createdOnstringOptionalThe date this file was created.
createdBystringOptionalThe id of the user who created this file.
updatedOnstringOptionalThe date this file was last modified.
updatedBystringOptionalThe id of the user who last modified this file.
fileVersionsarray of object or nullOptionalList of all versions.
Show 10 properties
idstringOptionalThe id of the file version.
fileInfoIdstringOptionalThe id of the file this version belongs to.
versionnumberOptionalThe version of the file.
sizeintegerOptionalThe size of the file, in bytes.
widthnumber or nullOptionalThe width if this is an image file.
heightnumber or nullOptionalThe height if this is an image file.
createdOnstringOptionalThe date this file version was created.
createdBystringOptionalThe id of the user who created this file version.
updatedOnstringOptionalThe date this file version was last modified.
updatedBystringOptionalThe id of the user who last modified this file version.
isCommentFilebooleanOptionalWhether the file is related to a comment.
externalProviderstring or nullOptionalThe external provider for the file. Like 'google' or 'onedrive'.
externalFileUrlstring or nullOptionalThe file url of the external provider.
isHiddenForConnectUsersbooleanOptionalWhether the file is hidden for connect users.
404 Not Found
application/json
codestringRequired1 The error code.
descriptionstringRequired1 The description of the error.
linkstringRequired1 The link to the API documentation page.
detailsarray of string or nullOptionalA list of details describing the error.
validationErrorsarray of object or nullOptionalIf a validation error occurred, this contains the validation errors for each property.
Show 2 properties
propertystring or nullOptionalThe name of the property that failed validation.
messagestring or nullOptionalThe reason why this property failed validation.
traceIdstring or nullOptionalThe request trace id for tracking the request.