v1

latestOpenAPI 3.1.02026-07-14330101.9 KB

๐Ÿ“ Send Location

With this endpoint, users can share their current geographic location with another WhatsApp user. This feature is highly valuable in scenarios such as delivery tracking, ridesharing services, or simply providing location-based information. By integrating the Send Location feature, businesses can enhance their services by offering location transparency, improving logistical efficiency, and boosting customer trust.

post/send-message/location

Request body

contact_idstring required

The contact id

latitudestring required

Latitude of the location

longitudestring required

Longitude of the location

titlestring required

The title of the location

Response

200

successboolean
messagestring

Example response

{
  "success": true,
  "message": "OK",
  "data": {
    "id": "3EB07D28A186902B891205",
    "status": "PENDING",
    "message": {
      "degreesLatitude": 38.8937255,
      "degreesLongitude": -77.0969763
    },
    "timestamp": "1725815506"
  }
}