GREEN-API for WhatsApp icon

GREEN-API for WhatsApp

Send and receive WhatsApp messages using Green-API.

Sending → Send Message

AI-generated

Summary

Sends a WhatsApp message to the specified chat ID, optionally replying to another message and simulating typing before sending.

Inputs

  • chatId (required) — WhatsApp chat ID (e.g., 79000000000@c.us) to send the message to.
  • message (required) — Text content of the message to send.
  • quotedMessageId — ID of a message to quote/reply to. Leave empty for a regular message.
  • typingTime — Typing delay in milliseconds before sending. Defaults to 0.

Output shape

object

Contains the response from the Green‑API sendMessage endpoint, typically with fields such as idMessage, status, and other metadata.

Examples

Example 1: Send a simple message

Set Chat ID and Message; leave other fields blank.

Example 2: Reply to a previous message

Set Chat ID, Message, and Quoted Message ID.

Links

Discussion