---
title: "LocationMessage"
description: "A map pin. Requires an active chat window."
---

> Documentation Index
> Fetch the complete documentation index at: https://zacx.io/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Zacx Public API

A map pin. Requires an active chat window.

## Fields

- `LocationMessage.wabaNumber` (string, required) — Your WhatsApp API number to send from, with country code.
  - example `"919705182126"`
- `LocationMessage.recipient` (object, required)
  - `LocationMessage.recipient.phoneNumber` (string, required) — The contact's phone number, with country code.
    - example `"919999999999"`
  - `LocationMessage.recipient.name` (string, optional) — Optional display name, saved to the contact if it is new.
    - example `"Raj S"`
  - `LocationMessage.recipient.email` (string, optional) — Optional email, saved to the contact if it is new.
    - format `email`
- `LocationMessage.type` (unknown, required)
- `LocationMessage.latitude` (number, required)
  - example `37.7749`
- `LocationMessage.longitude` (number, required)
  - example `-122.4194`
- `LocationMessage.name` (string, optional) — Label shown above the address.
  - example `"San Francisco"`
- `LocationMessage.address` (string, optional)
  - example `"California, USA"`


Source: https://zacx.io/api/schemas/LocationMessage/index.md
