Получить информацию о группе
POST
/waInstance{{idInstance}}/getGroupData/{{apiTokenInstance}}Документация 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": "79001234567-1581234048@g.us",
"owner": "79001234567@c.us",
"subject": "Green API Group",
"creation": 1587570015,
"participants": [
{
"id": "79001234567@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": "79001234567@c.us",
"groupInviteLink": "https://chat.whatsapp.com/xxxxxxxxxxxxxxxxxxxxxx"
}
Last modified: a month ago