Groups
Get All Groups
GET
/api/v1/group/listList the groups this number is in.
Parameters
No parameters.
Code Examples
cURL
curl -X GET "https://orvachat.com/api/v1/group/list" \
-H "Authorization: Bearer YOUR_API_KEY"Response Example
200 OK
{
"code": 200,
"data": {
"Groups": [
{
"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
}