Skip to main content
Send a message with a Send location button. When the contact taps it, WhatsApp opens the location picker and their answer arrives back in the conversation as a regular inbound location message. Use this instead of asking for an address in free text: you get exact coordinates rather than a string you have to geocode and correct.

Send a Location Request

The prompt goes in text. There is no content object — WhatsApp owns the button, so there is nothing to configure.

Receiving the Answer

The reply is not a new message type. It arrives as a standard message.inbound webhook with messageType: "location", and content.replyToMessageId set to the ID of the request you sent. That is how you correlate the two.
name and address are optional — the contact only sends them if they pick a saved place instead of dropping a pin. Always read latitude and longitude; treat the other two as a bonus.
Store the ID returned when you send the request, then match it against content.replyToMessageId on the inbound event:

Specifications

Like every non-template message, a location request needs an open 24-hour conversation window. Outside the window, open the conversation with a template first.

Use Cases

  • Confirming a delivery address before dispatch
  • Sending a technician to a customer’s site
  • Finding the nearest branch or pickup point
  • Roadside assistance and field service
  • On-site check-ins