Audio Messages
Send WhatsApp audio messages: MP3, OGG or M4A up to 16MB. Voice notes, podcasts and transcribed messages delivered in conversations.
Send audio files for voice announcements, podcasts, or audio instructions.
Send an Audio Message
const message = await zavu.messages.send({
to: "+14155551234",
channel: "whatsapp",
messageType: "audio",
content: {
mediaUrl: "https://example.com/announcement.mp3"
}
});
Specifications
| Property | Requirement |
|---|---|
| Formats | AAC, MP3, MP4, AMR, OGG |
| Max size | 16 MB |
| Caption | Not supported |
URL Requirements
Your audio URL must:
- Be publicly accessible (no authentication)
- Use HTTPS
- Return the correct
Content-Typeheader - Be available for at least 24 hours
Use Cases
- Voice announcements
- Audio instructions
- Podcast episodes
- Voice notes
- Music samples