Messages

Send Video Message

Send a video with an optional caption.

Home/Docs/Send Video Message

Endpoint

Send a video with an optional caption.

Request
POST /sendVideo

Authentication

Every request must include a Bearer token in the Authorization header. Missing or invalid API keys return 401 Unauthorized.

Header
Authorization: Bearer YOUR_API_KEY

Request Body

FieldTypeRequiredDescription
sessionstringYesSession ID
tostringYesRecipient phone number
urlstringNo*Publicly accessible video URL
datastringNo*Base64-encoded video data
captionstringNoCaption text

Response

FieldTypeDescription
idstringUnique message identifier
tostringRecipient phone number or group JID
contentstringMessage content, media reference, or caption
typestringMessage type: text, image, video, document, or ptt
timestampstringISO 8601 timestamp of when the message was sent
statusstringDelivery status such as sent, delivered, or read
fromMebooleanTrue when sent by the current session
senderstringSender phone number
recipientstringRecipient identifier

Examples

cURL
curl -X POST "https://api.example.com/sendVideo" \
  -H "Authorization: Bearer YOUR_API_KEY"
Response
{
  "id": "msg_127",
  "to": "+1234567890",
  "content": "video.mp4",
  "type": "video",
  "timestamp": "2026-04-15T10:00:00.000Z",
  "status": "sent",
  "fromMe": true,
  "sender": "+1234567890",
  "recipient": "+1234567890"
}

Notes

  • Either url or data must be provided.