Skip to main content

How to Request Location on WhatsApp API

Learn how to use location request messages on the WhatsApp Business Platform

Updated over 3 weeks ago

WhatsApp now supports Location Request Messages. Location request messages display body text and a send location button. When a WhatsApp user taps the button, a location sharing screen appears which the user can then use to share their location.
​

How to use them in Spur

  1. Create a New Workflow

  2. Add a new "message" step

  3. Select the "Request Location" message type

  4. Hit save

Now when a user shares their location, in response you will get the latitude and longitude of the user via the two variables.

Latitude : {{inputLocation.latitude}}
Longitude : {{inputLocation.longitude}}
Did this answer your question?