Add a group / Exclude a group from the community
Last updated
Last updated
To connect a group to a community, you will need to know the Community ID, as well as the ID of the group you want to connect.
You can get the community ID using endpoint GET https://gate.whapi.cloud/communities
:
To get the group identifier, use endpoint GET https://gate.whapi.cloud/groups
:
To add a group to the community, use endpoint
PUT https://gate.whapi.cloud/communities/{CommunityID}/{GroupID}
:
To exclude a group from the community, you need endpoint
DELETE https://gate.whapi.cloud/communities/{CommunityID}/{GroupID}
:
To get a list of groups already connected to the community use the βGet community subgroupsβ endpoint: