GREEN-API for WhatsApp icon

GREEN-API for WhatsApp

Send and receive WhatsApp messages using Green-API.

Sending → Send Location

AI-generated

Summary

Send a location message to a WhatsApp chat via Green API.

Inputs

  • chatId (required) — The WhatsApp chat ID (e.g., 79000000000@c.us).
  • latitude (required) — Latitude of the location.
  • longitude (required) — Longitude of the location.
  • quotedMessageId — ID of a message to quote or reply to.
  • nameLocation — Name of the location (e.g., Office).
  • address — Address of the location (e.g., 123456, Astana).

Output shape

object

The response from the Green API sendLocation endpoint, typically containing message IDs and status.

Links

Discussion