Get File contents

Changed on

Download the contents of a File. Responds with a 307 redirect whose Location header points at a short-lived, pre-signed URL. Our SDKs follow the redirect and return the File's contents; if you call the API directly, follow the redirect to download it. The pre-signed URL serves the File with a Content-Type matching its mime and a Content-Disposition header set to its filename. It expires in 10 minutes. To share a File with someone who doesn't have access to your API key, create a File Link.

get/files/{file_id}/contents

Request

  • Base URL
    https://api.increase.com
  • URL
    https://api.increase.com/files/{file_id}/contents
  • Auth
    HTTP bearer

Path parameters

file_idstring required

The identifier of the File.

Response

Binary File

Changes