Skip to main content

Download attachment bytes

GET 

/attachments/:id/download

Streams the file bytes for the attachment back to the caller. Requires scope finance.attachments — the same Bearer JWT as the listing endpoint. Content-Type reflects the stored MIME; Content-Disposition is inline for PDF / images and attachment for other types. No caching — Cache-Control: private, no-store.

Request​

Responses​

File bytes (binary stream). See Content-Type and Content-Disposition headers.