cURL
curl --request GET \ --url https://api.z-api.io/instances/{instanceId}/token/{token}/communities-metadata/{communityId} \ --header 'Client-Token: <api-key>'
{ "name": "<string>", "id": "<string>", "description": "<string>", "subGroups": [ { "name": "<string>", "phone": "<string>", "isGroupAnnouncement": true } ] }
Returns community metadata with name, description and groups
Show Properties
{ "name": "My first Community", "id": "98372465382764532938", "description": "A community description", "subGroups": [ { "name": "My first Community", "phone": "342532456234453-group", "isGroupAnnouncement": true }, { "name": "Another group", "phone": "1203634230225498-group", "isGroupAnnouncement": false } ] }