cURL
curl --request POST \ --url https://api.flowmod.ai/message/sendLocation/{instanceName} \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data ' { "number": "5511999999999", "latitude": -23.5505, "longitude": -46.6333, "name": "São Paulo", "address": "São Paulo, Brazil" } '
{ "status": 201, "error": false, "response": { "key": { "id": "<string>", "fromMe": true, "remoteJid": "<string>" }, "message": {}, "messageTimestamp": 123, "status": "PENDING", "pushName": "<string>" } }
Send a location message with coordinates and optional name/address
Organization-specific API key for Evolution API access
"5511999999999"
Latitude coordinate
-23.5505
Longitude coordinate
-46.6333
Location name
"São Paulo"
Full address
"São Paulo, Brazil"
Location message sent successfully
201
false
Show child attributes
Unique message identifier
Whether message was sent by the instance
WhatsApp JID of recipient/group
Message content object
Unix timestamp of message
Message delivery status
PENDING
SENT
RECEIVED
READ
Display name of sender