Actions20
- Message Actions
- Presence Actions
- Session Actions
- Group Actions
- Contact Actions
Message → Send Location
AI-generatedSummary
Send a location via WhatsApp using the Wacap Docker API.
Inputs
- sessionId (required) — Session ID/name
- to (required) — Phone number (without + or spaces) or group ID
- latitude (required) — Location latitude
- longitude (required) — Location longitude
- locationName — Name of the location
- address — Address of the location
Output shape
JSON
Returns the Wacap API response as JSON.
Examples
Example 1: Send a location to a phone number
Provide sessionId, a valid phone number for to, and latitude/longitude coordinates. Optionally set locationName and address.