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.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
401Authentication is required, or the Ocs-Api-Key header is missing or invalid.
