Actions75
- Channel Actions
- Chat Actions
- Client Actions
- Contact Actions
- Group Chat Actions
- Message Actions
- Session Actions
Message → Download Media
AI-generatedSummary
Download media attached to a WhatsApp message.
Inputs
- sessionId (required) — Session identifier. Select from the list or use an expression. Falls back to credentials default if empty.
- chatId (required) — The chat ID that contains the message
- messageId (required) — Unique WhatsApp identifier for the message
Output shape
binary media data (raw file bytes) returned as a file content or base64-encoded payload
The operation returns the downloaded media file; no pagination or metadata envelope is provided. If the message has no media, the API may return an error.
Examples
Example 1: Download the attachment from a given message
sessionId from credentials, chatId = $json.chatId, messageId = $json.messageId