Send Rich Media (Image / Video / Audio / Voice / Document / Sticker)
View All WhatsApp Messaging API APIs →Send a media message from a connected session. Send a JSON body with the recipient number as to, the media type as type (image, video, audio, voice, document, or sticker — voice means a PTT voice note), and the base64-encoded file content as data. document requires a fileName; caption adds a caption; mimeType overrides the inferred type; seconds sets audio/video duration. to must be a JSON number. Returns the upstream message id.
API Features
Six media types Send images, video, audio, PTT voice notes, documents, and stickers from one endpoint
Base64 upload POST the file as base64 in the request — no separate hosting step required
Captions & metadata Attach a caption, set a file name for documents, and control mime type and duration
Live API Demo
🔒 Sign in to try it live
Log in to call this API with your own API key. New accounts get 100 free credits — no card required.
Log in / Sign upNo active API key found. Create one in your Dashboard, then reload this page. Dashboard →
POST
/api/project/whatsapp-messaging/send-media API Response (JSON)
{} Query Result
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Use Cases
- Send invoices, receipts, or PDF statements as documents
- Push product images or promo videos in a campaign
- Deliver voice-note alerts or audio messages from a bot