Messages
Send audio
Send audio messages via WhatsApp
POST
Overview
Method for sending audio messages. You can send via URL or Base64. The audio is sent as a voice message on WhatsApp.The response structure is identical to Z-API. Your existing code that processes these returns will continue working without changes.
File size limits and supported formats follow WhatsApp policies. See the official WhatsApp documentation for details.
Authorizations
Secret Key generated in the Hub Message Security panel
Body
application/json
Recipient phone number (country code + area code + number)
Example:
"5511999999999"
Audio URL or Base64 data
Send as view-once message
Delay in seconds before sending (1-15)
Required range:
1 <= x <= 15Seconds to display "Recording audio..." status (1-15)
Required range:
1 <= x <= 15