Download a message’s stored media
GET/api/sessions/:sessionId/messages/:chatId/:messageId/media
Download a message’s stored media
Request
Responses
- 200
- 404
The media bytes — the archived file when one exists, else the inline copy stored on the message row (which is how media sent by this account is served) — as an attachment.
No stored media for this message — it carries no media, media download was disabled or the payload was over the cap when it was stored (size-only marker), it was a URL-based API send (those bytes are never stored), or the message is not in this gateway’s history.