CommunityGroups
Create CommunityGroup
Create a new CommunityGroup record.
POST
Create CommunityGroup
A CommunityGroup is a named subset of customers used to control who can see and contribute to conversations on the Discussion Board. Groups are created by admins and can be assigned to
Groups can also be auto-generated by the system: if a
CommunityThread conversations to restrict or open participation.
Each group has an access level (GroupAccess) that determines visibility:
| Value | Meaning |
|---|---|
Restricted (1) | All customers can see the group’s conversations but only members can post |
Public (2) | Any customer with access to Discussion Boards can see and post |
Private (3) | Only group members can see or post in the group’s conversations |
Team has HasCommunityGroup = true, a group is created and its GUID stored in TeamGuid; if a Course has HasCommunityGroup = true, a group is created and its GUID stored in CourseGuid.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the CommunityGroup-Create role.Enums
eCommunityThreadVisibility — GroupAccess values
eCommunityThreadVisibility — GroupAccess values
| Value | Name |
|---|---|
| 1 | Restricted |
| 2 | Public |
| 3 | Private |
Request Body
Required Fields
ID of the location this group belongs to.
ID of the user account designated as the group administrator.
Display name of the group.
Access level controlling who can see and post in this group’s conversations: Restricted (1) = all customers can see but only members post; Public (2) = all customers can see and post; Private (3) = members only.
Optional Fields
Short description of the group’s purpose shown to customers.
IDs of customers who are members of this group.
GUID of the Team this group was created for. Set when the group was auto-generated because
Team.HasCommunityGroup is true.GUID of the Course this group was created for. Set when the group was auto-generated because
Course.HasCommunityGroup is true.Code Examples
Response
200
HTTP status code.
200 on success.A human-readable message confirming the creation.
Contains the
Id of the newly created record.true if the communitygroup was created successfully.null on success.Example Response
400
A summary of the validation error(s), in the format
PropertyName: error message.null on validation failure.Array of validation errors.
false when the request fails validation.Example Response
Create CommunityGroup