cURL
curl --request GET \ --url https://api.flowmod.ai/group/fetchAllGroups/{instanceName} \ --header 'apikey: <api-key>'
{ "status": 200, "error": false, "response": [ { "id": "120363000000000000@g.us", "subject": "My New Group", "size": 3, "owner": "5511999999999@s.whatsapp.net", "participants": [ { "id": "5511999999999@s.whatsapp.net", "admin": "superadmin" } ] } ] }
Get all WhatsApp groups for this instance with optional participant details
Organization-specific API key for Evolution API access
Include participant details in response
Groups retrieved successfully
200
false
Show child attributes
WhatsApp group ID
"120363000000000000@g.us"
Group name/subject
"My New Group"
Number of participants
3
Group owner JID
"5511999999999@s.whatsapp.net"
Group participants (if getParticipants=true)
Admin role in group
superadmin
admin