Sending · POST
sendFileByUpload
Upload a file from your computer or server and send it in one request (multipart form data).
Endpoint
POST https://flowapi.pro/waInstance{idInstance}/sendFileByUpload/{apiTokenInstance}Request body (multipart/form-data, plus a file field)
{
"chatId": "972501234567@c.us",
"caption": ""
}Example
curl -X POST "https://flowapi.pro/waInstance{idInstance}/sendFileByUpload/{apiTokenInstance}" \
-F "chatId=972501234567@c.us" \
-F "caption=" \
-F "file=@./photo.jpg"Response
{
"idMessage": "3EB0C1A7F2D4E8B91C"
}Notes
- For large files, call the direct API address instead of flowapi.pro to avoid upload size limits.
More sending methods
Try it on your own number
7 days free, no credit card. Then $10 per number per month.