Send audio message (voice note) to a contact or group
| Property | Type | Required | Description |
|---|---|---|---|
sessionId | string | ✅ Yes | Authenticated session ID that will send the audio |
jid | string | ✅ Yes | Recipient identifier (WhatsApp JID). Format: [email protected] for contacts or [email protected] for groups |
audio | object | ✅ Yes | Object containing the audio data |
audio.content | string | ✅ Yes | Audio content encoded in base64 |
audio.mimetype | string | ❌ No | Audio MIME type (e.g., audio/ogg, audio/mpeg, audio/mp4). If not specified, will be detected automatically |
200 - Audio sent successfully400 - Invalid parameters or audio corrupted401 - Unauthorized session404 - Session not found413 - Audio too largeYour Wappfy API key (get it at dash.wappfy.com.br)
Chat ID (WhatsApp JID)
Audio/voice file (remote URL or base64 data)
Session name (instanceName)
"my-session"
Message ID you want to reply to
null
The response is of type object.