v4

OpenAPI 3.1.02026-08-012402353.8 MB

Get File Contents

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

Path parameters

file_idstring required

The identifier of the File.

Response

Binary File