Share geographic locations with users to help them find your store, delivery points, or event venues.
Send a Location
const message = await zavu.messages.send({
to: "+14155551234",
channel: "whatsapp",
messageType: "location",
content: {
latitude: 37.7749,
longitude: -122.4194,
locationName: "Zavu HQ",
locationAddress: "123 Market Street, San Francisco, CA"
}
});
Specifications
| Property | Requirement |
|---|
| latitude | Required, -90 to 90 |
| longitude | Required, -180 to 180 |
| locationName | Optional, name displayed to user |
| locationAddress | Optional, full address |
Include both locationName and locationAddress for the best user experience. Users can tap the location to open it in their maps app.
Use Cases
- Store locations
- Delivery drop-off points
- Event venues
- Meeting locations
- Service center addresses