📤 Chatting

post/api/sendLocation

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/sendLocation
  • Auth: API key in header X-Api-Key

Request body

chatIdstring required
idstring

Pre-generated message id

latitudenumber required
longitudenumber required
titlestring required
reply_tostring

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

sessionstring required

Example request

{
  "chatId": "11111111111@c.us",
  "id": "BBBBBBBBBBBBBBBBB",
  "latitude": 38.8937255,
  "longitude": -77.0969763,
  "title": "Our office"
}

Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.