Skip to main content

View Attachment Inline

GET 

/api/vendor-credits/:vendorCredit/attachments/:attachment/view

Stream the attachment file inline (Content-Disposition: inline) for in-browser preview of PDFs and images. The response is the binary file content — not JSON. Returns 404 if the attachment does not belong to the vendor credit or the file is missing from storage.

Required scope: accounting:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Request

Responses

Successful response