v6

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0161197504.7 KB
accounts

Download Document File

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

Path parameters

document_idstring required

Query parameters

redirectboolean

Response

OK

{"stackTrail":"paths:/documents/{document_id}/file:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}