GREEN-API for WhatsApp icon

GREEN-API for WhatsApp

Send and receive WhatsApp messages using Green-API.

Sending → Send Interactive Buttons Reply

AI-generated

Summary

Sends an interactive buttons reply message to a WhatsApp chat, optionally replying to a quoted message, with header, body, footer, and custom buttons.

Inputs

  • chatId (required) — The WhatsApp chat ID (e.g., 79000000000@c.us).
  • body (required) — The main text of the message. Emojis are supported.
  • buttons (required) — A collection of buttons, each defined by the text to display on the button.
  • quotedMessageId — Optional ID of a message to quote/reply to.
  • header — Optional header text displayed above the body.
  • footer — Optional footer text displayed below the body.

Output shape

object

Returns the raw response from the Green-API sendInteractiveButtonsReply endpoint, typically containing status and message IDs.

Links

Discussion