---
title: "Send an location to an WhatsApp User"
method: POST
path: "/rest/sendMessage/{instance_key}/location"
tags: ["SendMessageController"]
---

# Send an location to an WhatsApp User

`POST /rest/sendMessage/{instance_key}/location`

## Path parameters

- `instance_key` string, required

## Request body

- object
  - `messageData` LocationMessage
    - `to` string
    - `address` string
    - `caption` string
    - `latitude` number
    - `longitude` number
    - `url` string

## Response `200`

Success

---

[API](https://skmtc.net/megaapi/apis/documentation-megaapi.md) · [All operations](https://skmtc.net/megaapi/apis/documentation-megaapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/megaapi/documentation-megaapi/versions/09ca1205343e/schema)
