OpenWA icon

OpenWA

Interact with OpenWA WhatsApp API Gateway

Actions164

Message → Get Media

AI-generated

Summary

Retrieves the media bytes stored for a WhatsApp message in the selected session and chat, then places them in the output binary field.

Inputs

  • Session Name or ID (required) — Session to use; select it from the list or provide an ID with an expression.
  • Chat Name or ID (required) — Chat containing the message. The picker lists up to 1,000 chats; use an expression for another chat ID.
  • Message ID (required) — Full serialized ID of the message, as returned by a send operation or delivered by the Trigger.
  • Put Output in Field (required) — Binary field name for the media output; defaults to data.

Output shape

A single item with the media as binary data in the configured field.

The response is raw bytes. A 404 can mean the message is missing, has no media, media download was disabled or exceeded the storage cap, or the media was sent by URL and its bytes were not stored. Media sent from a binary field or base64 can be retrieved.

Links

Discussion