Stream attachment
GET/v1/attachment/:attachment_token/stream
Stream an attachment file from S3 directly to the response. Suitable for embedding in iframes, browser PDF viewers, or any case where you want incremental delivery instead of a buffered download.
Access control: identical to /attachment/{attachment_token}.
Request
Responses
- 200
- 400
- 401
- 404
- 500
File streamed (inline)
Response Headers
Content-Type
Content-Disposition
Always inline
Invalid or missing attachment_token
Unauthorized
Attachment not found
S3 or database error