POST
/
api
/
sendLocation
cURL
curl --request POST \
  --url https://api.wappfy.com.br/api/sendLocation \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "chatId": "11111111111@c.us",
  "latitude": 38.8937255,
  "longitude": -77.0969763,
  "title": "Our office",
  "reply_to": null,
  "session": "session"
}'
{}

Authorizations

apikey
string
header
required

Apikey

Body

application/json
chatId
string
required
Example:

"11111111111@c.us"

latitude
number
required
Example:

38.8937255

longitude
number
required
Example:

-77.0969763

title
string
required
Example:

"Our office"

session
string
required

O nome da sessão (instanceName)

Example:

"session"

reply_to
string

The ID of the message to reply to - false_11111111111@c.us_AAAAAAAAAAAAAAAAAAAA

Example:

null

Response

201 - application/json

The response is of type object.