Groups

Explore all operations and guides for Groups.

Groups Overview

Learn how to manage WhatsApp groups, participants, and settings using Wawp.

Groups Endpoints

22 Endpoints
GET
/v2/groups

Get All List groups

Retrieve a list of all groups the instance is a member of.

POST
/v2/groups/create

Create group

Create a new WhatsApp group with specified name and participants.

GETPOST
/v2/groups/join

Join group / Get join info

Use GET to fetch information about a group before joining, or POST to join it. Accepts both direct invite codes and full WhatsApp group links.

GET
/v2/groups/count

Get the number of groups

Get the total number of groups the instance is a member of.

GET
/v2/groups/{id}

Get the group

Retrieve detailed information about a specific group.

POST
/v2/groups/{id}/leave

Leave the group

Leave a specific group.

GET
/v2/groups/{id}/picture

Get group picture

Retrieve the current profile picture of the group.

PUT
/v2/groups/{id}/picture

Set group picture

Update the group profile picture.

DELETE
/v2/groups/{id}/picture

Delete group picture

Remove the group profile picture.

PUT
/v2/groups/{id}/description

Updates the group description

Update the description text for the group.

PUT
/v2/groups/{id}/subject

Updates the group subject

Update the group subject (name).

GET
/v2/groups/{id}/settings/security/info-admin-only

Get "info admin only" settings

Check if only admins can update group info.

PUT
/v2/groups/{id}/settings/security/info-admin-only

Updates "info admin only" settings

Set whether only admins can update group info.

GET
/v2/groups/{id}/settings/security/messages-admin-only

Get settings - who can send messages

Check if only admins can send messages to the group.

PUT
/v2/groups/{id}/settings/security/messages-admin-only

Set messages admin only

Set whether only admins can send messages to the group.

GET
/v2/groups/{id}/invite-code

Get the invite code for the group

Get the current invite code for the group.

POST
/v2/groups/{id}/invite-code/revoke

Invalidates the current group invite code and generates a new one

Revoke the current invite code and generate a new one.

GET
/v2/groups/{id}/participants

Get participants

Retrieve a list of all participants in the group.

POST
/v2/groups/{id}/participants/add

Add participants

Add one or more participants to the group.

POST
/v2/groups/{id}/participants/remove

Remove participants

Remove one or more participants from the group.

POST
/v2/groups/{id}/admin/promote

Promote participants to admin users

Promote one or more participants to group admins.

POST
/v2/groups/{id}/admin/demote

Demotes participants to regular users

Demote one or more admins to regular participants.