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
🔒 Sign in to try it live
Log in to call this API with your own API key. New accounts get 1000 free credits — no card required.
Log in / Sign upNo active API key found. Create one in your Dashboard, then reload this page.Dashboard →
API Response (JSON)
{} Query Result
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Use Cases
- Archive inbound attachments to object storage or a CRM record
- Process received images/documents in an automation pipeline
- Re-serve media in a custom support or messaging UI