Send Voice message

How to Send Voice Messages via WhatsApp API?

You can Send a ppt audio recording to the phone number or group, But WhatsApp is sensitive to this extension, you need to be in OGG format and the codec should be the opus.

How to get exactly the correct codec format?

1 - Start by sending your voice message on WhatsApp from your phone.

2 - Now, fetch the voice message's link via /messages/list.

3 - With your voice message file ID in hand, you can now send it using the /messages/voice method.

Note, you may be interested in this article: How to generate a waveform for a voice message

Last updated

Was this helpful?