List active groups
List active WhatsApp group chats for a business phone number. These are actual WhatsApp group conversations on the platform. 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
Query Parameters
WhatsApp social account ID
Max groups to return
25value <= 1024Pagination cursor
Response 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.listWhatsAppGroupChats({ query: { accountId: 'account_abc123', },});console.log(data);{
"groups": [
{
"id": "string",
"subject": "string",
"createdAt": "string"
}
],
"paging": {
"cursors": {
"after": "string",
"before": "string"
}
}
}{
"error": "Unauthorized"
}Stop sharing a tracking tag with an ad account DELETE
`adAccountId` may be passed as a query parameter (recommended) or as a JSON body field for clients that can send DELETE bodies. Meta only (platform `metaads`); other platforms return 405.
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.