Send geographic location to a contact or group
| Property | Type | Required | Description |
|---|---|---|---|
sessionId | string | ✅ Yes | Authenticated session ID that will send the location |
jid | string | ✅ Yes | Recipient identifier (WhatsApp JID). Format: [email protected] for contacts or [email protected] for groups |
location | object | ✅ Yes | Object containing the location information |
location.latitude | number | ✅ Yes | Location latitude (example: -23.5505) |
location.longitude | number | ✅ Yes | Location longitude (example: -46.6333) |
location.name | string | ❌ No | Location name or description (example: Avenida Paulista, São Paulo) |
200 - Location sent successfully400 - Invalid parameters401 - Unauthorized session404 - Session not foundYour Wappfy API key (get it at dash.wappfy.com.br)
Chat ID (WhatsApp JID)
Location latitude
-23.5505
Location longitude
-46.6333
Location name or description
"Paulista Avenue, São Paulo"
Session name (instanceName)
"my-session"
Message ID you want to reply to
null
The response is of type object.