Group Controller
Fetch All Groups
Início
Instances
Settings
Send Message
Chat Controller
Profile Settings
Group Controller
- POSTCreate Group
- POSTUpdate Group Picture
- POSTUpdate Group Subject
- POSTUpdate Group Description
- GETFetch Invite Code
- POSTRevoke Invite Code
- POSTSend Group Invite
- GETFind Group by Invite Code
- GETFind Group by JID
- GETFetch All Groups
- GETFind Group Members
- POSTUpdate Group Members
- POSTUpdate Group Setting
- POSTToggle Ephemeral
- DELLeave Group
Typebot
OpenAI
Evolution Bot
Dify
Flowise
Chatwoot
Websocket
RabbitMQ
Group Controller
Fetch All Groups
GET
/
group
/
fetchAllGroups
/
{instance}
curl --request GET \
--url https://{server-url}/group/fetchAllGroups/{instance} \
--header 'apikey: <api-key>'
[
{
"id": "120363295648424210@g.us",
"subject": "Example Group",
"subjectOwner": "553198296801@s.whatsapp.net",
"subjectTime": 1714769954,
"pictureUrl": null,
"size": 1,
"creation": 1714769954,
"owner": "553198296801@s.whatsapp.net",
"desc": "optional",
"descId": "BAE57E16498982ED",
"restrict": false,
"announce": false
}
]
Authorizations
Your authorization key header
Path Parameters
ID of the instance to connect
Query Parameters
Whether to get the group members or not
Response
200 - application/json
Ok
Array of objects representing WhatsApp group details.
curl --request GET \
--url https://{server-url}/group/fetchAllGroups/{instance} \
--header 'apikey: <api-key>'
[
{
"id": "120363295648424210@g.us",
"subject": "Example Group",
"subjectOwner": "553198296801@s.whatsapp.net",
"subjectTime": 1714769954,
"pictureUrl": null,
"size": 1,
"creation": 1714769954,
"owner": "553198296801@s.whatsapp.net",
"desc": "optional",
"descId": "BAE57E16498982ED",
"restrict": false,
"announce": false
}
]