GREEN-API for WhatsApp icon

GREEN-API for WhatsApp

Send and receive WhatsApp messages using Green-API.

Group → Set Group Admin

AI-generated

Summary

Promotes the specified WhatsApp participant to group admin by sending a POST request to Green-API for each input item.

Inputs

  • Group ID (required) — The group chat ID, for example 12345678901234567890@g.us.
  • Participant Chat ID (required) — The participant’s chat ID, for example 79000000000@c.us.

Output shape

A list of items, one per input item, each containing the Green-API response in json.

Each item retains its input pairing. If Continue On Fail is enabled, failed items return an error field in json; otherwise, request errors are raised.

Links

Discussion