> For the complete documentation index, see [llms.txt](https://support.whapi.cloud/help-desk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.whapi.cloud/help-desk/sending/overview-of-other-methods-for-sending/send-voice-message.md).

# Send Voice message

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**.&#x20;

{% hint style="success" %}
Our API has an automatic video and audio converter for the necessary codecs compatible with WhatsApp.&#x20;
{% endhint %}

### 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](https://whapi.readme.io/reference/getmessages).

3 - With your voice message file ID in hand, you can now send it using the [/messages/voice](https://whapi.readme.io/reference/sendmessagevoice) method.

{% embed url="<https://whapi.readme.io/reference/sendmessagevoice>" %}

Note, you may be interested in this article: [How to generate a waveform for a voice message](/help-desk/sending/overview-of-other-methods-for-sending/how-to-generate-a-waveform-for-a-voice-message.md)
