Download the detached file with the specified file ID
get/files/{fileId}/content
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.
Name | Type | Required | Description |
---|---|---|---|
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 |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. The file with the specified file ID was returned. | Headers | Schema |
400 | Bad Request | The request failed because the file ID could not be parsed correctly. The file ID must be a UUID. | Schema | |
403 | Forbidden | The 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 |