Actions56
- Message Actions
- Group Actions
- Chat Actions
- Profile Actions
- Event Actions
- Integration Actions
Chat → Get Media Base64
AI-generatedSummary
Get Media Base64
Inputs
- instanceName (required) — Enter the instance name
- messageId (required) — ID of the message containing the media content
- convertToMp4 (required) — Whether to convert the video to MP4 format
- apiKey — Optional: Override API Key using webhook JSON data
Output shape
Base64-encoded media content of the message
Returns the media data as a Base64 string; if convertToMp4 is true, video media is converted to MP4 before encoding.
Examples
Example 1: Retrieve a JPEG image from a WhatsApp message
Set instanceName to your Wave instance, messageId to the target message ID, leave convertToMp4 false (image), and optionally provide an apiKey override.