Download the file with the specified file ID

get/documents/{objectTypeName}/{objectId}/files/{fileId}/content
Internal-Use Only

Downloads the file with the specified ID from the object that is specified in the path.

Request Samples

1

Response Samples

1No example avaliable

Path Parameters

NameTypeRequiredDescription
fileId
string
true

The ID of the file.

objectId
string
true

The ID of the object.

objectTypeName
string
true

The name of the object type to which the object belongs.

Query Parameters

NameTypeRequiredDescription
changeContentDisposition
boolean
false

A true value sets an 'inline' value in the Content-Disposition header. A false value sets an 'attachment' value in the Content-Disposition header.

Default:
false

Header Parameters

NameTypeRequiredDescription
ifRange
string
false

Sets the end of the range of the file that is downloaded.

Default:
If-Range
range
string
false

Sets the range of the file that is downloaded.

Default:
Range

Responses

StatusMeaningDescription
200OKThe request succeeded. The file with the specified file ID was returned.HeadersSchema
400Bad RequestThe file location is not valid.Schema
404Not FoundThe object does not exist, the user does not have the correct permissions to view the object, or the file association is a link to an external file. External files cannot be downloaded via this endpoint. Schema