Update group settings
Update the subject, description, or join approval mode of a WhatsApp group.
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
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
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.updateWhatsAppGroupChat({ path: { groupId: 'group_abc123', }, query: { accountId: 'account_abc123', }, body: { subject: 'string', description: 'Hello, world!', joinApprovalMode: 'approval_required', },});console.log(data);{ "success": true, "message": "string"}Get group info
Retrieve metadata about a WhatsApp group including subject, description, participants, and settings. Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
Delete group
Delete a WhatsApp group and remove all participants. Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.