v1
latestOpenAPI 3.0.22026-08-045831103.6 KBMessages
Send audio message
Send an audio message via WhatsApp Official. The audio URL is sent directly to the Meta API. No caption support for audio messages. Set "voice" to true to deliver the file as a WhatsApp voice note (PTT) instead of a regular audio attachment; for PTT the file must be .ogg encoded with the OPUS codec (Meta validates and rejects other formats). Returns immediately with QUEUED status.
post/v2/messages/audio
Headers
api-tokenstring required
API Token
Request body
Example request
{
"channel_account_id": "550e8400-e29b-41d4-a716-446655440001",
"contact_id": "550e8400-e29b-41d4-a716-446655440002",
"url": "https://example.com/audio.ogg",
"voice": true,
"chat_id": "550e8400-e29b-41d4-a716-446655440003"
}Response
Audio message queued for sending
Example response
{
"status": 200,
"data": {
"success": true,
"message_id": "550e8400-e29b-41d4-a716-446655440099",
"chat_id": "550e8400-e29b-41d4-a716-446655440003",
"status": "QUEUED"
}
}