flow api
Sending · POST

uploadFile

Upload a file once and get a URL you can reuse with sendFileByUrl.

Endpoint

POST https://flowapi.pro/waInstance{idInstance}/uploadFile/{apiTokenInstance}

Example

curl -X POST "https://flowapi.pro/waInstance{idInstance}/uploadFile/{apiTokenInstance}" \
  -H "Content-Type: application/pdf" \
  --data-binary @./report.pdf

Response

{
  "urlFile": "https://…/uploads/1101000001/report.pdf"
}
Green API compatible. uploadFile uses the same name, request body and response as Green API, so existing code works after you change the host to flowapi.pro. Errors: 401 wrong instance or token, 402 trial ended or number not covered by your plan, 400 with a message for anything else.

More sending methods

Try it on your own number

7 days free, no credit card. Then $10 per number per month.

Start free trial