Download the detached file with the specified file ID

get/files/{fileId}/content
Internal-Use Only

Downloads the file with the specified ID, for a file that is not attached to an object. Use the /documents/{objectTypeName}/{objectId}/files/{fileId}/content endpoint for a file that ißs attached to an object.

Request Samples

1

Response Samples

1No example avaliable

Path Parameters

NameTypeRequiredDescription
fileId
string
true

The ID of the file.

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 request failed because the file ID could not be parsed correctly. The file ID must be a UUID.Schema
403ForbiddenThe request failed. The object does not exist, the user does not have the correct permissions to view the object, or the file is attached to an object. Schema