Download Message Media

View All WhatsApp Messaging API APIs →

Download and decrypt the media (image, video, audio, or document) attached to a message and return it base64-encoded. Provide the sessionId, chatJid, and messageId (from chat history or the inbox). The referenced message must be present in the in-memory cache and contain media, otherwise the request fails.

API Features

Decrypted download Fetches and decrypts the attachment so you receive usable file bytes, not an encrypted blob
Base64 payload Returns the media as base64 for easy storage, forwarding, or re-serving
Any media type Works for images, video, audio, and document attachments referenced by a cached message

Live API Demo

GET /api/project/whatsapp-messaging/download-media

API Response (JSON)

{}
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

View Subscription Plans →