Messages

Send a live location update

Sends a live (moving) location point to a WhatsApp contact or group through WUTS, optionally including accuracy, speed, heading, sequence number, time offset, caption, and a JPEG thumbnail.

POST
/send/live-location

Sends a live (moving) location point to a WhatsApp contact or group through WUTS, optionally including accuracy, speed, heading, sequence number, time offset, caption, and a JPEG thumbnail.

Authorization

bearerAuth
AuthorizationBearer <token>

Per-user API token (UUID v4) sent as Authorization: Bearer <token>. Identifies the tenant and user.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/send/live-location" \  -H "Content-Type: application/json" \  -d '{    "to": "5511999999999",    "latitude": -23.55052,    "longitude": -46.633308,    "accuracy_in_meters": 12,    "speed_in_mps": 1.4,    "degrees_clockwise_from_magnetic_north": 90,    "caption": "On my way",    "sequence_number": 1,    "time_offset": 0,    "duration_in_seconds": 900  }'
{  "success": true,  "message_id": "3EB0X9F8E7D6C5B4A3",  "timestamp": "2026-06-15T12:00:00Z",  "message": "Live location sent successfully"}
{  "error": "WhatsApp not connected"}
{  "success": false,  "error": "validation failed",  "error_code": "VALIDATION_ERROR",  "timestamp": "2026-06-15T12:00:00Z"}
{  "error": "Failed to send live location: timeout"}