Newer Version Available
List of Groups
- Resource
-
1/chatter/groups/1/connect/communities/communityId/chatter/groups/ - Available version
- 23.0
- Requires Chatter
- Yes
- HTTP methods
- GET, HEAD, POST
- POST available in 29.0
- Request parameters for GET
-
Parameter Name Type Description Available archiveStatus String Returns the list of groups filtered by the archive status you specify: - All—All groups, including groups that are archived and groups that aren’t archived.
- Archived—Groups that are archived.
- NotArchived—Groups that aren’t archived.
The default value is NotArchived.
29.0 page Integer An integer specifying a page of items. The default value is 0, which returns the first page. 23.0 pageSize Integer Specifies the number of items per page. Valid values are from 1 through 250. The default value is 25. 23.0 q String Specifies the string to search. For more information about wildcards, see Wildcards. 23.0 - Request body for POST
-
- Root XML Tag
-
1<group> - JSON
-
1{ 2 "announcement" : "0D5D0000000K4XT", 3 "canHaveChatterGuests" : "true", 4 "description" : "This group is building a powerful API.", 5 "information" : { 6 "text" : "Read this section before you post to the group.", 7 "title" : "Information" 8 }, 9 "isArchived" : "false", 10 "isAutoArchiveDisabled" : "false", 11 "name" : "Chatter API", 12 "owner" : "00590000000DmPw", 13 "visibility" : "PublicAccess" 14} - Properties
-
Name Type Description Available Version announcement String An announcement ID. An announcement displays in a designated location in the Salesforce UI until 11:59 p.m. on its expiration date, unless it’s deleted or replaced by another announcement.
31.0 canHaveChatterGuests Boolean true if this group allows Chatter customers, false otherwise. After this property is set to true, it cannot be set to false. 29.0 description String The “Description” section of the group 29.0 information Group Information Input The “Information” section of the groupIf the group is private, the “Information” section is visible only to members. The “Description” section is visible to everyone. 28.0 isArchived Boolean true if the group is archived, false otherwise. Defaults to false. 29.0 isAutoArchiveDisabled Boolean true if automatic archiving is turned off for the group, false otherwise. Defaults to false. 29.0 isBroadcast Boolean true if only group owners and managers can create posts in the group, false otherwise. Defaults to false. 36.0 name String The name of the group 29.0 owner String The ID of the group owner. This property is available for PATCH requests only. 29.0 visibility String Group visibility type. One of the following values: - PrivateAccess—Only members of the group can see posts to this group.
- PublicAccess—All users within the Experience Cloud site can see posts to this group.
- Unlisted—Reserved for future use.
29.0
- Request parameters for POST
-
Parameter Name Type Description Required or Optional Available canHaveChatterGuests Boolean true if this group allows Chatter customers, false otherwise. After this property is set to true, it cannot be set to false. Optional 29.0 description String The “Description” section of the group Optional 29.0 informationText String The text in the “Information” section of the group Optional 29.0 informationTitle String The title of the “Information” section of the group Optional 29.0 name String The name of the group Required 29.0 visibility String Group visibility type. One of the following: - PrivateAccess—Only members of the group can see posts to this group.
- PublicAccess—All users within the Experience Cloud site can see posts to this group.
- Unlisted—Reserved for future use.
Required 29.0 - Response body for GET
- Group Page
- Response body for POST
- Group DetailGroup Detail
- Example for creating a public group using the request body
-
1{ 2 "name" : "Chatter API", 3 "visibility" : "PublicAccess" 4} - Example for creating a public group using parameters
-
1/services/data/v60.0/chatter/groups?name=Chatter+API&visibility=PublicAccess