GET
Get Community
Get community metadata by community_id.
API endpoint
https://waclient.com/api/get_communityExample:
curl -X GET \
'https://waclient.com/api/get_community' \
-G \
--data-urlencode '[email protected]' \
--data-urlencode 'instance_id=6A4B02A1XXXX' \
--data-urlencode 'access_token=EMCUH3NQQK8YXXXX'Response
{
"status": "success",
"message": "Success",
"data": {
"id": "[email protected]",
"subject": "My Community",
"size": 5
}
}| Parameter | Description |
|---|---|
| community_id | Community JID or ID |
| instance_id | Your instance ID |
| access_token | Your access token |