cURL
Messages
Send Voice
Send voice messages and audio clips to WhatsApp users for personal and dynamic communication experiences.
POST
cURL
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Contact ID.
Required string length:
10 - 50Pattern:
^[0-9]+@[cs]\.us$Example:
"xxx@c.us"
Audio URL ( can be .opus or .mp3 )
Maximum string length:
2048Pattern:
^https?://.*\.(opus|mp3|wav|ogg|aac|m4a)$Example:
"https://github.com/CrunchzApp/asset-example/raw/main/examples/julie-voice.opus"
Message ID to reply to (optional)
Required string length:
1 - 100Pattern:
^[A-Za-z0-9_-]+$Example:
"message_id_here"