GET
Get Group
Returns metadata and participants for a single group.
API endpoint
https://waclient.com/api/get_groupExample:
curl -X GET \
'https://waclient.com/api/get_group' \
-G \
--data-urlencode '[email protected]' \
--data-urlencode 'instance_id=6A4B02A1XXXX' \
--data-urlencode 'access_token=EMCUH3NQQK8YXXXX'Response
{
"status": "success",
"message": "Success",
"data": {
"id": "[email protected]",
"name": "Test",
"description": "",
"size": 3,
"owner": null,
"creation": 1749578596,
"restrict": false,
"announce": false,
"participants": [
{
"id": "[email protected]",
"admin": null
},
{
"id": "[email protected]",
"admin": "superadmin"
}
]
}
}| Parameter | Description |
|---|---|
| group_id | Group JID, e.g. [email protected] or numeric id |
| instance_id | Your instance ID |
| access_token | Your access token |