Skip to main content

Stream Stock Take Attachment File

GET 

/api/stock-takes/:stockTake/documents/:document/file

Streams the attachment's file inline. The response is the raw file, not JSON — Content-Type reflects the stored file's own type (e.g. image/jpeg, application/pdf, text/html).

Required scope: inventory:read

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

Returns 404 if the document is not attached to the given stock take, or if the stored file is missing.

Authentication: Requires Bearer token.

Requires scope: inventory:read

Request

Responses

Successful response