Wacap icon

Wacap

Interact with WhatsApp using Wacap Docker API

Message → Send Location

AI-generated

Summary

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.

Discussion