Download file

Download the contents of the given file. The response body is the raw file; the Content-Type is derived from the file extension and the original file name is returned in the Content-Disposition header. The required permission depends on the file's link type: person files require Read Files; business files require Limited Write Contributions or Full Write Accounting; batch files require Limited Read Contributions; bank_reconciliation files require Full Read Accounting; group files require being an administrator or member of the group; other link types follow the permissions of the record the file is attached to.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
≥ 1

The id of the file to retrieve

Responses

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/octet-stream