Video
Learn the specifics of how to send messages with a video on WhatsApp.
Send messages with a video to your customers. You can also send messages in the form of a video and captions together. Video captions can be up to 4096 characters long.
The following video types are supported:
- MP4
- 3GPP
Only H.264 video codec and AAC audio codec are supported. Only videos with a single audio stream are supported.
Video sizes can be up to 16MB.
ℹ️ Do you want to send a video as a media message template? Check how to integrate video in your media message template here.
How to send a video
<div class="geshifilter"><pre class="php geshifilter-php">curl –XPOST https<span class="sy0">:</span><span class="co1">//api.tyntec.com/conversations/v3/messages\</span>
<span class="sy0">-</span>H <span class="st_h">'Content-Type: application/json'</span> \
<span class="sy0">-</span>H <span class="st_h">'apikey: <API KEY>'</span> \
<span class="sy0">-</span>d <span class="st_h">'{
{
"from" : "{{whatsAppBusinessNumber}}",
"to" : "{{receiverPhoneNumber}}",
"channel" : "whatsapp",
"content" : {
"contentType" : "video",
"video" : {
"url": "http://techslides.com/demos/sample-videos/small.mp4",
"caption" : "An optional caption"
}
}
}</span></pre></div>