Skip to main content

Groups

Manage WhatsApp groups through the Wappfy API. You can create groups, manage participants, handle invite links, and more. All group endpoints are scoped to a specific instance:

Create a Group

Create a new WhatsApp group with initial participants.
Response:

List Groups

Retrieve all groups the instance is a member of.
Response:

Get Group Info

Fetch detailed information about a specific group.
Response:

Update a Group

Update the group name or description. You must be a group admin to perform this action.
Only group admins can update the group name and description. If the instance is not an admin, this will return a 403 error.

Leave a Group

Remove the instance from a group.
After leaving a group, you will need an invite link or another admin to add you back.

Participants

List Participants

Get all participants of a group.
Response:

Add Participants

Add one or more participants to a group. You must be a group admin.

Remove Participants

Remove one or more participants from a group. You must be a group admin.

Invite Codes

Get Invite Code

Generate or retrieve the group’s invite link. You must be a group admin.
Response:

Join via Invite Code

Join a group using an invite code.
Pass only the code portion, not the full URL. For https://chat.whatsapp.com/AbCdEfGhIjKlMn, pass AbCdEfGhIjKlMn.

Sending Messages to Groups

To send a message to a group, use the standard send message endpoint with the group’s chat ID:
Group chat IDs always end with @g.us.

Endpoint Reference


Error Handling