GREEN-API for WhatsApp icon

GREEN-API for WhatsApp

Send and receive WhatsApp messages using Green-API.

Group → updateGroupName

AI-generated

Summary

Update a group's name in WhatsApp based on the provided group ID and name.

Inputs

  • groupId (required) — The unique identifier of the group to update (e.g., '12345678901234567890@g.us').
  • groupName (required) — The new name to assign to the group.
  • participantChatId (required) — The chat ID of a participant in the group, used for validation.

Output shape

no body — success/failure only

Ensure the groupId and participantChatId correspond to a valid group and participant.

Examples

Example 1: Change the group name of an existing WhatsApp group

Add the group ID, desired new group name, and participant chat ID to the workflow.

Discussion