Skip to main content
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

PropertyRequirement
FormatsAAC, MP3, MP4, AMR, OGG
Max size16 MB
CaptionNot supported
Audio messages do not support captions. If you need to add context, send a text message before or after the audio.

URL Requirements

Your audio URL must:
  • Be publicly accessible (no authentication)
  • Use HTTPS
  • Return the correct Content-Type header
  • Be available for at least 24 hours

Use Cases

  • Voice announcements
  • Audio instructions
  • Podcast episodes
  • Voice notes
  • Music samples