Get group info
Retrieve metadata about a WhatsApp group including subject, description, participants, and settings. Not available on [Coexistence](/platforms/whatsapp#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Group ID
Query Parameters
WhatsApp social account ID
Response Body
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
}
}{
"error": "Unauthorized"
}{
"error": "Not found"
}Create group POST
Create a new WhatsApp group chat. Returns the group ID and optionally an invite link. Not available on [Coexistence](/platforms/whatsapp#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
Update group settings POST
Update the subject, description, or join approval mode of a WhatsApp group. Not available on [Coexistence](/platforms/whatsapp#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.