Baileys Instance icon

Baileys Instance

Use the wa-instance API built on Baileys 7

Group → Get

AI-generated

Summary

Retrieve detailed information about a specific WhatsApp group using its Group JID.

Inputs

  • Group JID (required) — The JID (Jabber ID) string uniquely identifying the WhatsApp group to fetch.

Output shape

a single record containing the group's snapshot details

The operation returns JSON with the state and metadata of the specified group. The result corresponds to a snapshot of the group identified by the provided Group JID. If the group JID is invalid or the group does not exist, the operation may throw an error.

Examples

Example 1: Get details of a WhatsApp group

Set the resource to 'Group', operation to 'Get', and provide the Group JID whose details you want to retrieve. The output will be a JSON representing the group's data snapshot.

Links

Discussion