file: required, a public http(s) URL, max 200 characters. Allowedmessage: optional caption, max 1000 characters.to: like send-text — phone, WhatsApp ID, or username.curl --location '/api/whatsapp/send-media' \
--header 'Content-Type: application/json' \
--data '{
"authkey": "{{authkey}}",
"appkey": "{{appkey}}",
"to": "966501234567",
"message": "Your invoice is attached",
"file": "https://example.com/invoice.pdf"
}'{
"success": true,
"data": {
"message_id": 12346,
"channel": "whatsapp",
"from": "966500000000",
"to": "966501234567"
}
}