Get group info
Retrieve metadata about a WhatsApp group including subject, description, participants, and settings.
Not available on Coexistence numbers. Requires a Cloud API-only number.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Group ID
Query Parameters
WhatsApp account ID
Response Body
application/json
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.whatsapp.getWhatsAppGroupChat({ path: { groupId: 'group_abc123', }, query: { accountId: 'account_abc123', },});console.log(data);{ "success": true, "group": { "id": "string", "subject": "string", "description": "string", "joinApprovalMode": "string", "participants": [ { "user": "string", "admin": "string" } ], "participantCount": 0, "createdAt": 0, "isSuspended": true }}Create group
Create a new WhatsApp group chat. Returns the group ID and optionally an invite link. Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
Update group settings
Update the subject, description, or join approval mode of a WhatsApp group. Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.