whatsapp
List active groups
List active WhatsApp group chats for a business phone number. These are actual WhatsApp group conversations on the platform.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Query Parameters
accountIdstring
WhatsApp social account ID
limit?integer
Max groups to return
Default
25Range
value <= 1024after?string
Pagination cursor
Response Body
application/json
application/json
curl -X GET "https://zernio.com/api/v1/whatsapp/wa-groups?accountId=string"{
"groups": [
{
"id": "string",
"subject": "string",
"createdAt": "string"
}
],
"paging": {
"cursors": {
"after": "string",
"before": "string"
}
}
}{
"error": "Unauthorized"
}Delete group DELETE
**Deprecated.** Use contact tags via `PATCH /v1/contacts/{id}` instead. Delete a contact group. This removes the group from all contacts but does not delete the contacts themselves.
Create group POST
Create a new WhatsApp group chat. Returns the group ID and optionally an invite link.