---
title: "Send a location message"
method: POST
path: "/v1/message/sendLocation/{instance}"
tags: ["Message"]
---

# Send a location message

`POST /v1/message/sendLocation/{instance}`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/v1/message/sendLocation/{instance}`
- Auth: API key in header `apikey`

Sends a geographic location to a WhatsApp number

## Path parameters

- `instance` string, required

## Request body

- DtoSendLocationRequest
  - `address` string
  - `delay` integer
  - `latitude` number, required
  - `longitude` number, required
  - `mentioned` string[]
  - `mentionsEveryOne` boolean
  - `name` string
  - `number` string, required
  - `quoted` DtoMessageRequestQuoted
    - `key` DtoQuotedKey
      - `fromMe` boolean
      - `id` string
      - `participant` string
      - `remoteJid` string
    - `message` DtoQuotedMessage
      - `conversation` string

## Response `200`

OK

- DtoSendLocationResponse
  - `instanceId` string
  - `key` DtoMessageResponseKey
    - `fromMe` boolean
    - `id` string
    - `remoteJid` string
  - `messageTimestamp` integer
  - `messageType` string
  - `status` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `422`: Unprocessable Entity
- `500`: Internal Server Error

## Changes

- **2026-07-18** `f812473c5a89`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/verbeux-ai/apis/whatsmiau-api/changes/v1/message/sendLocation/:instance/post.md)

---

[API](https://skmtc.dev/verbeux-ai/apis/whatsmiau-api.md) - [All operations](https://skmtc.dev/verbeux-ai/apis/whatsmiau-api/llms.txt) - [OpenAPI document](https://skmtc.dev/verbeux-ai/apis/whatsmiau-api/revisions/b425ec589eb0?raw)
