App Logo
web.whatsapp.com

WhatsApp — Download media

Automatically download media on web.whatsapp.com. Download the media of a WhatsApp message (image, document, audio/voice) by chat name + message id (the `id` from get_conversation / search_messages), returned as base64 plus filename, mimeType and size. Documents come back byte-for-byte under the filename WhatsApp saves them as. Images are WhatsApp's displayed rendition, which may be smaller than a large original, so imageWidth/Height are reported. Video, sticker, GIF and location messages are not supported and are refused with their actual kind named; check a message's `media` field from get_conversation if unsure.

Input

id required

WhatsApp message id - the data-id from send_media's messageId, or from get_conversation/search_messages. The message must be an image or a document/audio (voice note) message: video, sticker, GIF and location messages carry no supported file and are refused with their actual kind named. Check the message's `media` field from get_conversation first if you are unsure.

name required

Exact chat/contact/group name containing the message (the name field from get_inbox).

Output

size required

Byte size of the returned media.

base64 required
filename required
mimeType required
kind optional
imageWidth optional

Natural width of the rendition returned. For a large photo WhatsApp's inline blob can be smaller than the original upload.

imageHeight optional

FAQ

Download the media of a WhatsApp message (image, document, audio/voice) by chat name + message id (the `id` from get_conversation / search_messages), returned as base64 plus filename, mimeType and size. Documents come back byte-for-byte under the filename WhatsApp saves them as. Images are WhatsApp's displayed rendition, which may be smaller than a large original, so imageWidth/Height are reported. Video, sticker, GIF and location messages are not supported and are refused with their actual kind named; check a message's `media` field from get_conversation if unsure.
Ask an AI agent connected to Reduck to run reduck/web.whatsapp.com/download_media, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/web.whatsapp.com/download_media
You do not need one. "WhatsApp — Download media" drives the real web.whatsapp.com pages in a browser, so it works whether or not web.whatsapp.com offers an API for this.
Required: name, id.
It returns kind, size, base64, filename, mimeType, imageWidth, imageHeight.
Yes. It acts as you on web.whatsapp.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the web.whatsapp.com cookies saved by the Reduck extension.
It only reads. It looks things up on web.whatsapp.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/web.whatsapp.com/download_media, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/web.whatsapp.com/download_media
It is part of Reduck's official curated catalogue.

Start building not clicking