Skip to main content
The group management endpoint allows you to perform various WhatsApp group operations including creating groups, managing participants, and updating group settings.

Key Operations:

  • Create new groups with specified participants
  • Update group details (name, description, picture)
  • Manage participants (add, remove, promote/demote admins)
  • Handle group invites and messaging permissions

Example Request

Request Body

string
required
The operation to perform. Valid values:
  • create
  • update_name
  • update_description
  • update_picture
  • add_participants
  • remove_participants
  • promote_admin
  • demote_admin
  • join
  • leave
  • update_settings
string
required
The phone number initiating the action (must start with ’+’)
string
The group chat ID. Required for all actions except ‘create’

Action-Specific Fields

Required fields for action: "create":
  • title (string): Group name
  • participants (array): Phone numbers to add
  • initial_message (string, optional): First message to send
Fields for update actions:
  • name (string): New group name (update_name)
  • description (string): New description (update_description)
  • image_url (string): New profile picture URL (update_picture)
Required for participant management actions:
  • participants (array): Phone numbers to modify For actions: add_participants, remove_participants, promote_admin, demote_admin
Required for action: "join_group":
  • invite_code (string): Group invite code
  • thread_id (string): Direct group ID (if already have access)
Required for update_settings:
  • setting (string): One of:
    • announcement: Only admins can send messages in the group
    • not_announcement: All participants can send messages in the group
    • locked: Only admins can modify group settings (display picture, description, etc)
    • unlocked: All participants can modify group settings

Example Requests