Get group data
POST
/waInstance{{idInstance}}/getGroupData/{{apiTokenInstance}}Documentation GetGroupData
Request
Body Params application/json
groupId
string
required
Example
{
"groupId": "79001234567-1587570015@g.us"
}
Request samples
Responses
getGroupData(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
groupId
string
required
owner
string
required
subject
string
required
creation
integer
required
participants
array [object {3}]
required
id
string
required
isAdmin
boolean
required
isSuperAdmin
boolean
required
subjectTime
integer
required
subjectOwner
string
required
groupInviteLink
string
required
ExamplegetGroupData
{
"groupId": "11001234567-1587570015@g.us",
"owner": "11001234567@c.us",
"subject": "Green API Group",
"creation": 1587570015,
"participants": [
{
"id": "11001234567@c.us",
"isAdmin": true,
"isSuperAdmin": true
},
{
"id": "79001234568@c.us",
"isAdmin": true,
"isSuperAdmin": false
},
{
"id": "79001234569@c.us",
"isAdmin": false,
"isSuperAdmin": false
}
],
"subjectTime": 1587737715,
"subjectOwner": "11001234567@c.us",
"groupInviteLink": "https://chat.whatsapp.com/xxxxxxxxxxxxxxxxxxxxxx"
}
Last modified: 19 days ago