Groups
Get Group Info
GET
/api/v1/group/infoGet a group's details and participants.
Parameters
- groupJIDstringin queryRequired
The group id, ending in @g.us.
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| groupJID | string | query | Yes | The group id, ending in @g.us. |
Code Examples
cURL
curl -X GET "https://orvachat.com/api/v1/group/info?groupJID=120363012345678901%40g.us" \
-H "Authorization: Bearer YOUR_API_KEY"Response Example
200 OK
{
"code": 200,
"data": {
"AnnounceVersionID": "1650572126123738",
"DisappearingTimer": 0,
"GroupCreated": "2022-04-21T17:15:26-03:00",
"IsAnnounce": false,
"IsEphemeral": false,
"IsLocked": false,
"JID": "[email protected]",
"Name": "Super Group",
"NameSetAt": "2022-04-21T17:15:26-03:00",
"NameSetBy": "[email protected]",
"OwnerJID": "[email protected]",
"ParticipantVersionID": "1650234126145738",
"Participants": [
{
"IsAdmin": true,
"IsSuperAdmin": true,
"JID": "[email protected]"
},
{
"IsAdmin": false,
"IsSuperAdmin": false,
"JID": "[email protected]"
}
],
"Topic": "",
"TopicID": "",
"TopicSetAt": "0001-01-01T00:00:00Z",
"TopicSetBy": ""
},
"success": true
}