QuePasa API (WhatsApp) icon

QuePasa API (WhatsApp)

Interact with QuePasa WhatsApp API

Media → Download as Base64

AI-generated

Summary

Download media content from a WhatsApp message identified by its Message ID and return it as a Base64-encoded data URI string.

Inputs

  • Message ID (required) — ID of the message containing the media to download

Output shape

a JSON object containing the message ID, the media MIME type, and a Base64 encoded data URI string of the media

The output includes the fields 'messageId', 'mimeType', and 'base64'. The 'base64' field is a string prefixed with the media MIME type in data URI format.

Links

Discussion