Smileline
ReferenceWidgetWidgetKeyMessagesMessageidAttachmentsIndex

Download an attachment from the visitor's own thread

Streams one attachment's bytes privately (no-store). The message must belong to this visitor's webchat endpoint — no other channel and no other visitor. Images, video and audio are served inline; every other type is forced to a download. A single `Range: bytes=` request answers 206 with Content-Range (416 past the end), so audio and video can seek.

Loading the API reference…