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 along with its byte size. Provide the sessionId, chatJid, and messageId (from chat history). The referenced message must 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 + size Returns the media as base64 with its byte size for easy storage or forwarding
Any media type Works for images, video, audio, and document attachments referenced by a message

Live API Demo

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 →