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 at one of the person's campuses while multi-campus is on, within the file categories the caller may use; business files require Limited Write Contributions or Full Write Accounting; batch and transaction_file files require Limited Read Contributions; bank_reconciliation files require Bank Reconciliations, and Full Read Accounting at every campus while multi-campus is on (at every campus of the reconciliation's bank account's organization while multi-org is on); journal_entry files require Full Read Accounting; safeguard files require Read Safeguards; group files require being an administrator or member of the group; sermon files of a published sermon require no permission beyond a valid API key, and an unpublished sermon's files require Full Write Sermons, at one of the sermon's campuses while multi-campus is on; 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