Download a document
Authentication
Path parameters
Response
200 OK
The file itself, streamed with the content type the source issued it under. Content-Disposition carries the original filename.
200 OK
The file itself, streamed with the content type the source issued it under. Content-Disposition carries the original filename.
Download one document, as the source issued it.
The raw file, streamed with its own content type and its original filename in Content-Disposition. The attachment_id comes from the document list or from the attachments of any result that carries documents.
These are the originals — signed and stamped by the administration or the institution that issued them. That is what makes them usable in a file that has to stand up to an audit, and what a re-typed figure can never be.
A document lives exactly as long as its execution. Deleting the execution removes every file under it, permanently — store what you need to keep before you purge.
Server to server only. This call is authorised with your application secret: it belongs in your backend, never in a browser, a mobile app or anything your customer can read.