# Location messages

To send a location message to a user use the location object, which contains the following fields:

| Field       | Remarks                         |
| ----------- | ------------------------------- |
| Latitude    | The latitude in degrees         |
| Longitude   | The longitude in degrees        |
| SearchQuery | The address to display          |
| Label       | The label to display at the pin |

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/509711b-WhatsApp_Location.jpg",
        "",
        "Location message"
      ],
      "align": "center",
      "sizing": "500px",
      "caption": "Location message"
    }
  ]
}
[/block]

In the example below, we send a location message.

```json
{
    "messages": {
        "msg": [
            {
                "body": {
                    "type": "auto",
                    "content": "Fallback Text"
                },
                "to": [
                    {
                        "number": "00316012345678"
                    }
                ],
                "from": "00316098765432",
                "allowedChannels": ["WhatsApp"],
                "richContent": {
                    "conversation": [
                        {
                            "location": {
                                "latitude": "51.603802",
                                "longitude": "4.770821",
                                "label": "CM HQ",
                                "searchQuery": "Konijnenberg 30"
                            }
                        }
                    ]
                }
            }
        ]
    }
}
```