flow api
Sending · POST

sendLocation

Send a map location pin with an optional place name and address.

Endpoint

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

Request body

{
  "chatId": "972501234567@c.us",
  "nameLocation": "Tel Aviv",
  "address": "Rothschild 1",
  "latitude": 32.0853,
  "longitude": 34.7818
}

Example

curl -X POST "https://flowapi.pro/waInstance{idInstance}/sendLocation/{apiTokenInstance}" \
  -H "Content-Type: application/json" \
  -d '{"chatId":"972501234567@c.us","nameLocation":"Tel Aviv","address":"Rothschild 1","latitude":32.0853,"longitude":34.7818}'

Response

{
  "idMessage": "3EB0C1A7F2D4E8B91C"
}
Green API compatible. sendLocation 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