Send a static location
Sends a pinned geographic location to a WhatsApp contact or group through WUTS. Latitude and longitude are required; an optional name, address, URL, comment, and JPEG thumbnail (base64 or remote URL) can be attached.
Sends a pinned geographic location to a WhatsApp contact or group through WUTS. Latitude and longitude are required; an optional name, address, URL, comment, and JPEG thumbnail (base64 or remote URL) can be attached.
Authorization
bearerAuth 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/location" \ -H "Content-Type: application/json" \ -d '{ "to": "5511999999999", "latitude": -23.55052, "longitude": -46.633308, "name": "Praca da Se", "address": "Praca da Se, Se, Sao Paulo - SP", "url": "https://maps.example.com/?q=-23.55052,-46.633308", "comment": "Meet me here at noon" }'{ "success": true, "message_id": "3EB0X1A2B3C4D5E6F7", "timestamp": "2026-06-15T12:00:00Z", "message": "Location sent successfully"}{ "error": "Invalid recipient JID: invalid number"}{ "success": false, "error": "validation failed", "error_code": "VALIDATION_ERROR", "timestamp": "2026-06-15T12:00:00Z"}{ "error": "Failed to send location: timeout"}Send a live location update POST
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.
Send a poll message POST
Sends a WhatsApp poll with a question and between 2 and 12 options through the authenticated WUTS device session. When allow_multiple_answers is true, recipients may select every option; otherwise the poll is single-choice. WUTS generates the poll message secret automatically.