v1

latestOpenAPI 3.1.02026-07-14330101.9 KB

🎬 Send Video

The Send Video endpoint allows for sending video content directly to WhatsApp users. Whether it’s product demos, customer support videos, tutorials, or event coverage, this feature lets businesses and developers share rich video content with their users. By supporting a variety of video formats, the API allows for seamless sharing of short clips or longer video presentations, perfect for marketing campaigns, customer service, or entertainment-based applications.

post/send-message/video

Request body

contact_idstring required

The contact id

videoUrlstring required

The video url ( the video must be .mp4 extension )

captionstring

The caption of the message

Response

200

successboolean
messagestring

Example response

{
  "success": true,
  "message": "OK",
  "data": {
    "id": "3EB0021D130BF6C496E8E8",
    "status": "PENDING",
    "message": {
      "url": "https://mmg.whatsapp.net/v/t62.7161-24/19919298_1223811102270448_608855079195554450_n.enc?ccb=11-4&oh=01_Q5AaIKIS8A5l1F4clP3r63a29SB2-rZywq2a9zWz-0NtPfo1&oe=6706BFD9&_nc_sid=5e03e0&mms3=true",
      "mimetype": "video/mp4",
      "fileSha256": "zaPId9Asd1vz57UpzEifDAeQhD+KMgCedL2L6MV/yuA=",
      "fileLength": "20132",
      "mediaKey": "gyjvWk8qVYNpWTXNdOr2LmjYFgA3KP6RlzC2Kqnc4uw=",
      "caption": "Check this out bro!",
      "fileEncSha256": "VDzF+/c5HOIiBjmfcl+0FOWQc8CZz7sdcwK932RCABw=",
      "directPath": "/v/t62.7161-24/19919298_1223811102270448_608855079195554450_n.enc?ccb=11-4&oh=01_Q5AaIKIS8A5l1F4clP3r63a29SB2-rZywq2a9zWz-0NtPfo1&oe=6706BFD9&_nc_sid=5e03e0",
      "mediaKeyTimestamp": "1725909436",
      "jpegThumbnail": "/9j/4AAQSkZJRgABAgAAAQABAAD//gAQTGF2YzU4LjkxLjEwMAD/2wBDAAgEBAQEBAUFBQUFBQYGBgYGBgYGBgYGBgYHBwcICAgHBwcGBgcHCAgICAkJCQgICAgJCQoKCgwMCwsODg4RERT/xABXAAEBAQEAAAAAAAAAAAAAAAAAAQQHAQEBAAAAAAAAAAAAAAAAAAAAARABAQEBAQEAAAAAAAAAAAAAAgEAIRFBEQEAAwEAAAAAAAAAAAAAAAAAAQJREf/AABEIABIAIAMBIgACEQADEQD/2gAMAwEAAhEDEQA/AOE5mpSDLPEUUfZFPTfZxSy9+WWX7r22yvbbKZqkm011JJLknVfbwySd+SST5pnbbJ22yy5maIZmYP/Z"
    },
    "timestamp": "1725909436"
  }
}