cURL
Messages
Send Location
Share geographic location coordinates with WhatsApp users for delivery tracking, navigation, and location-based services.
POST
cURL
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Contact ID.
Required string length:
10 - 50Pattern:
^[0-9]+@[cs]\.us$Example:
"xxx@c.us"
Latitude of the location..
Pattern:
^-?([0-8]?[0-9]|90)(\.[0-9]{1,10})?$Example:
"38.8937255"
Longitude of the location.
Pattern:
^-?(1[0-7][0-9]|[0-9]?[0-9]|180)(\.[0-9]{1,10})?$Example:
"-77.0969763"
Title of the location.
Required string length:
1 - 100Example:
"Our office"
Message ID to reply to (optional)
Required string length:
1 - 100Pattern:
^[A-Za-z0-9_-]+$Example:
"message_id_here"