Get Media
wa_get_mediaFetch the attachment (image/video/audio/document/sticker) a received WhatsApp message carried, as base64. Use the message_id from wa_list_messages. 'refused' means no retrievable media for that id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | the account that received the message, from wa_list_accounts | |
| message_id | Yes | the WhatsApp message id whose attachment to fetch, from wa_list_messages |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mime | No | ||
| status | Yes | ok (media returned) or refused | |
| refusal | No | ||
| media_base64 | No | base64 of the attachment, present when status is ok |