List Groups
GET /api/groups
- Auth: Bearer Device Key
Request
curl https://app.rapiwa.com/api/groups \
-H "Authorization: Bearer YOUR_DEVICE_KEY"
Response
{
"status": true,
"total": 3,
"groups": [
{ "group_id": "120363000000000000@g.us", "name": "Launch Team", "unreadCount": 1, "messageCount": 0 }
]
}
Tips
Note the top-level status field here (not success) — a compatibility quirk preserved from the legacy API.