Location Request

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.

Sending Location Request

To send a message, use the request URL and the following body parameters.

Request Example

{
    "to_contact": "+918080808080",
    "type": "interactive",
    "interactive": {
        "type": "location_request_message",
        "body": {
            "text": "Thanks for your order.\nPlease Send your location to proceed."
        },
        "action": {
            "name": "send_location"
        }
    }
}

Last updated