GREEN-API for WhatsApp icon

GREEN-API for WhatsApp

Send and receive WhatsApp messages using Green-API.

Group → addGroupParticipant

AI-generated

Summary

Add a participant to a specified WhatsApp group.

Inputs

  • groupId (required) — The ID of the group to which the participant will be added, formatted as '12345678901234567890@g.us'.
  • participantChatId (required) — The chat ID of the participant to be added, formatted as '79000000000@c.us'.

Output shape

no body — success/failure only

The operation does not return any data; it only indicates success or failure.

Examples

Example 1: Add a new participant to a group.

Use groupId as '12345678901234567890@g.us' and participantChatId as '79000000000@c.us'.

Discussion