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 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
Query Parameters
WhatsApp account ID
Max groups to return
value <= 102425Pagination cursor
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.listWhatsAppGroupChats({ query: { accountId: 'account_abc123', },});console.log(data);{ "groups": [ { "id": "string", "subject": "string", "createdAt": "string" } ], "paging": { "cursors": { "after": "string", "before": "string" } }}Delete business username
Release the currently claimed WhatsApp Business username from the account. After deletion the username becomes available for other accounts to claim.
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.