$vzaps->groups() for WhatsApp group operations on an instance.
Common fields on all calls:
| Field | Type | Required | Description |
|---|---|---|---|
instanceId | string | Yes | Instance ID. |
instanceToken | string | Yes | Instance token. |
groupId in the payload.
groups()->list($request)
Lists groups with pagination.
{ code, success, data.groups[] } with pagination when applicable.
groups()->get($request)
Gets group metadata.
{ code, success, data } with group metadata (jid, name, topic, participants, etc.).
groups()->inviteLink($request)
Gets or resets the invite link.
{ code, success, data.invite_link }.
With reset:
groups()->setPhoto($request)
Changes group photo. Accepts a public URL or base64 data URL.
{ code, success, data.details } confirming the change.
groups()->setName($request)
Changes group name.
{ code, success, data.details } confirming the change.
groups()->setDescription($request)
Changes group description.
{ code, success, data.details } confirming the change.
groups()->setSettings($request)
Changes group settings.
{ code, success, data.details } confirming the change.
groups()->create($request)
Creates a group with participants.
{ code, success, data } with created group fields.
groups()->addAdmin($request)
Promotes participants to admin.
{ code, success, data.details } confirming the change.
groups()->removeAdmin($request)
Removes admins from the group.
{ code, success, data.details } confirming the change.
