GREEN-API for WhatsApp icon

GREEN-API for WhatsApp

Send and receive WhatsApp messages using Green-API.

Sending → Send Interactive Buttons

AI-generated

Summary

Send an interactive buttons message (with optional header/footer, required body, and up to three buttons of type URL, call, or copy) to a WhatsApp chat using the Green-API.

Inputs

  • main (required) — Input data to process

Output shape

jsonArray

Each item contains the API response from Green-API under the json field, or an error if continueOnFail is enabled.

Examples

Example 1: Send a simple interactive message with two URL buttons

chatId: 79000000000@c.us; body: Choose an option; buttons: [{type: buttonUrl, buttonText: 'Visit site', url: 'https://example.com'}, {type: buttonUrl, buttonText: 'Learn more', url: 'https://example.com/learn'}]

Links

Discussion