Grops¶
Retrieve a list of all WhatsApp groups that the connected WhatsApp account is currently a part of. The response includes group ID, name, participants, creation time, and owner.
API Endpoint¶
Header¶
Response:¶
{
"status": true,
"total": 3,
"groups": [
{
"group_id": "12XXXXXXXXXXXXX@g.us",
"name": "12XXXXXXXXXXXXXX",
"unreadCount": 1,
"messageCount": 0
},
{
"group_id": "12XXXXXXXXXXXXX@g.us",
"name": "12XXXXXXXXXXXXXX",
"unreadCount": 1,
"messageCount": 0
},
{
"group_id": "12XXXXXXXXXXXXX@g.us",
"name": "12XXXXXXXXXXXXXX",
"unreadCount": 1,
"messageCount": 0
}
]
}
💡 Tip: Keep your Device Key secure. Never share it publicly.