Actions61
- Instância Actions
- Mensagem Actions
- Grupo Actions
- Perfil Actions
- Privacidade Actions
- Utilidades Actions
- SMS Actions
- Central de Ligações Actions
Mensagem → Enviar Localização
AI-generatedSummary
Send a location message via the PAPI WhatsApp API by specifying the WhatsApp instance ID, recipient number or group JID, and geographic coordinates with optional location name and address.
Inputs
- ID da Instância (required) — ID da instância WhatsApp used to send the message.
- Número/JID (required) — Phone number with country code or group JID of the message recipient.
- Latitude (required) — Latitude of the location to send.
- Longitude (required) — Longitude of the location to send.
- Nome do Local — Optional name of the location.
- Endereço — Optional address of the location.
Output shape
a single JSON object representing the API response from sending the location message
The output includes the response from the PAPI WhatsApp API call confirming the send-location request or error details if it fails.
Examples
Example 1: Send location with mandatory and optional fields
Specify instanceId, jid, latitude, longitude, and optionally locationName and address to send a location message to the target via WhatsApp.
