Coba request langsung di API Playground.
Kirim media dari URL
Endpoint:media_url, lalu memprosesnya sebagai pesan media.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Kirim gambar, video, dokumen, atau media lain lewat URL atau upload file.
POST /v1/devices/{deviceID}/messages/media
curl -X POST "https://api.wator.id/v1/devices/123/messages/media" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "628123456789@s.whatsapp.net",
"media_url": "https://example.com/invoice.pdf",
"caption": "Invoice Anda",
"mime_type": "application/pdf",
"priority": "normal"
}'
media_url, lalu memprosesnya sebagai pesan media.
POST /v1/devices/{deviceID}/messages/upload
curl -X POST "https://api.wator.id/v1/devices/123/messages/upload" \
-H "X-API-Key: YOUR_API_KEY" \
-F "to=628123456789@s.whatsapp.net" \
-F "caption=Katalog terbaru" \
-F "priority=normal" \
-F "file=@catalog.pdf"
Was this page helpful?