accounts

Download Document File

Changed on

Downloads the underlying document file. Note that this endpoint is implemented using a redirect which should be followed by the client for downloading directly from file storage. Clients that cannot follow a redirect can make the request with ?redirect=false and manually open the URL in download_url to trigger the download.

get/documents/{document_id}/file

Request

  • Base URL
    https://api.engine.usesophic.com
  • Auth
    HTTP bearer

Path parameters

document_idstring required

Query parameters

redirectboolean

Response

OK

unknown required

Changes