๐ V2 is here! Upgrade to our new API with queued requests for better reliability and performance. V1 will be deprecated on February 1, 2026. Learn about V2 โ
cURL
curl --request POST \ --url https://app.hypersender.com/api/whatsapp/v1/{instance}/send-voice \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "chatId": "[email protected]", "url": "<string>", "file": "<string>", "caption": "<string>", "reply_to": "<string>" } '
{ "key": { "remoteJid": "<string>", "fromMe": true, "id": "<string>" }, "message": { "audioMessage": { "url": "<string>", "mimetype": "<string>", "fileSha256": "<string>", "fileLength": "<string>", "seconds": 123, "ptt": true, "mediaKey": "<string>", "fileEncSha256": "<string>", "directPath": "<string>", "mediaKeyTimestamp": "<string>", "waveform": "<string>" } }, "messageTimestamp": "<string>", "status": "<string>" }
Send voice messages to WhatsApp users for more engaging and personal communication.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"application/json"
"{{ instance_id }}"
Require to use multipart/form-data
multipart/form-data
Contact number - see chatId docs
"[email protected]"
url to send (required without file)
file to send (required without url)
caption for the file
reply to message id
Successful response
Show child attributes