WA-AKG icon

WA-AKG

Interact with WA-AKG WhatsApp Gateway API

Media → Get File

AI-generated

Summary

Retrieve a stored media file by filename.

Inputs

  • mediaFilename (required) — The stored media filename to retrieve (e.g. "session1-ABCDEF123.jpg")

Output shape

binary file

Returns the raw file bytes of the requested media; may be an empty response if the file does not exist.

Examples

Example 1: Download a media file from the WA‑AKG storage

Node: WA-AKG, Resource: Media, Operation: Get File, Input: mediaFilename = "session1-ABCDEF123.jpg"

Example 2: Fetch a previously uploaded image for later use

Node: WA-AKG, Resource: Media, Operation: Get File, Input: mediaFilename = "image123.png"

Example 3: Retrieve a video file to forward in a workflow

Node: WA-AKG, Resource: Media, Operation: Get File, Input: mediaFilename = "video456.mp4"

Links

Discussion