WA-AKG icon

WA-AKG

Interact with WA-AKG WhatsApp Gateway API

Message → Send Location

AI-generated

Summary

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"}

Links

Discussion