Skip to main content
POST
/
send-location
Send Location
curl --request POST \
  --url https://app.wachat.net/api/v1/send-location \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "instanceName": "<string>",
  "number": "<string>",
  "latitude": 123,
  "longitude": 123,
  "name": "<string>",
  "address": "<string>"
}
'

Authorizations

Authorization
string
header
required

Provide your Wachat API Key as a Bearer token.

Body

application/json
instanceName
string
required
number
string
required
latitude
number
required
longitude
number
required
name
string

Location name.

address
string

Location address.

Response

200

Location sent successfully