Request test
Phone with international format e.g. +1408XXXXXXX , or chatID for contact or group
Request URL
https://api.ultramsg.com/{{instance_id}}/messages/voice
Request body
token *Required
to *Required

Phone number with international format e.g. +14155552671
or
chatID for contact or group e.g [email protected] or [email protected]

audio *Required

HTTP link audio or base64-encoded file in opus codec More info.

Max file size : 16MB .

Max Base64 length : 10,000,000 More info

example links :

https://file-example.s3-accelerate.amazonaws.com/voice/oog_example.ogg


								
Request samples
Note : don't forget to URL encode your query params like base64 or utf-8
WhatsApp Chat WhatsApp Chat Hello, how can I help you ?