WapiZap Message icon

WapiZap Message

Send WhatsApp messages - Text, images, videos, audio, documents, and more

Send Location

AI-generated

Summary

Send a WhatsApp location message from a specified WapiZap instance to a phone number.

Inputs

  • apiVersion — WhatsApp API version to use (v2 or v1). Defaults to v2.
  • instanceName (required) — Name of the WapiZap instance that will send the message.
  • to (required) — Recipient phone number in international format (e.g., 5511999998888).
  • latitude (required) — Latitude coordinate of the location to send.
  • longitude (required) — Longitude coordinate of the location to send.
  • locationName — Optional name of the location (e.g., 'Central Park').
  • address — Optional full address of the location.
  • additionalOptions — Optional collection of extra settings; includes 'delay' (ms) and 'fileName' (unused for location).

Output shape

array

Returns an array containing the API response for each processed item, typically including message metadata such as message ID and status.

Examples

Example 1: Send a location to a customer

Set instanceName to 'my-instance', to to the customer's number, latitude and longitude to the venue coordinates, and optionally fill locationName and address.

Discussion