Commands › Groups
group_info
A group's profile
Usage
curl -X POST "https://api.lifebots.cloud/api/bot.html" \
-H "Content-Type: application/json" \
-d '{
"action": "group_info",
"apikey": "YOUR_API_KEY",
"botname": "Joe Resident",
"secret": "bot-secret-123",
"groupuuid": "b3f87fed-0470-4a7e-b035-100000000000",
"dataType": "json"
}' Every request also needs apikey, botname and secret — see Authentication.
Parameters
| Name | Required | Description |
|---|---|---|
groupuuidUUID | yes | Group UUID, or the exact name of a group the bot is in. Also accepted as: group, groupId, groupName |
Example response
{
"result": "OK",
"name": "My Group",
"uuid": "b3f87fed-0470-4a7e-b035-100000000000",
"charter": "Welcome!",
"members": 120,
"member_title": "Member",
"insignia": "c1d2e3f4-0000-4000-8000-000000000004",
"founder": "a2e76fcd-9360-4f6d-a924-000000000000",
"fee": 0,
"open": false,
"mature": false
} With dataType=json. A failure has result: "FAIL" and the reason in resulttext — see Responses & errors.