Add participants
Add participants to a WhatsApp group. Maximum 8 participants per request. 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
Phone numbers in E.164 format (max 8)
items <= 8Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.whatsapp.addWhatsAppGroupParticipants({ path: { groupId: 'group_abc123', }, query: { accountId: 'account_abc123', }, body: { phoneNumbers: [ 'string', ], },});console.log(data);{
"success": true,
"message": "string"
}{
"error": "Unauthorized"
}Delete group DELETE
Delete a WhatsApp group and remove all participants. Not available on [Coexistence](/platforms/whatsapp#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
Remove participants DELETE
Remove participants from a WhatsApp group. Not available on [Coexistence](/platforms/whatsapp#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.