Send video to a contact or group
| Property | Type | Required | Description |
|---|---|---|---|
sessionId | string | ✅ Yes | Authenticated session ID that will send the video |
jid | string | ✅ Yes | Recipient identifier (WhatsApp JID). Format: [email protected] for contacts or [email protected] for groups |
video | object | ✅ Yes | Object containing the video data |
video.content | string | ✅ Yes | Video content encoded in base64 |
video.mimetype | string | ❌ No | Video MIME type (e.g., video/mp4, video/avi). If not specified, will be detected automatically |
video.filename | string | ❌ No | Video file name |
caption | string | ❌ No | Caption/text accompanying the video |
200 - Video sent successfully400 - Invalid parameters or video corrupted401 - Unauthorized session404 - Session not found413 - Video too largeYour Wappfy API key (get it at dash.wappfy.com.br)
Chat ID (WhatsApp JID)
Video file (remote URL or base64 data)
Session name (instanceName)
"my-session"
Message ID you want to reply to
null
Send as video note
false
Caption/text that accompanies the video