Actions98
- Auto Reply Actions
- Chat Actions
- Contact Actions
- Group Actions
- Label Actions
- Message Actions
- Media Actions
- Notification Actions
- Profile Actions
- Scheduler Actions
- Session Actions
- Status Update Actions
- System Actions
- User Actions
- Webhook Actions
Message → Send Location
AI-generatedSummary
Send a geographic location to a WhatsApp recipient
Inputs
- sessionId (required) — The Session ID to use for this request
- jid (required) — WhatsApp JID of the recipient (e.g., 628xxx@s.whatsapp.net for a user, xxxxx@g.us for a group)
- latitude (required) — Latitude coordinate (e.g. -6.2088)
- longitude (required) — Longitude coordinate (e.g. 106.8456)
- additionalFields — Additional fields for the request (e.g., locationName, address, etc.)
Output shape
a single message object containing the sent location details
The response includes the WhatsApp message ID and status; errors are thrown and not wrapped in an envelope
Examples
Example 1: Send store location to a contact
sessionId=mySession, jid=6281234567@s.whatsapp.net, latitude=-6.2088, longitude=106.8456, additionalFields={"locationName":"Starbucks","address":"Jln. Sudirman No 1"}