Logo
Salesforce Developers API Documentation

List of Groups - POST

POST {{_endpoint}}/services/data/v{{version}}/chatter/groups?name=New Chatter Group (Private Access)&visibility=PrivateAccess&description=Created via API&information=Private Information&isArchived=false&isAutoArchiveDisabled=false&isBroadcast=false&canHaveChatterGuests =true

A list of all the groups in the organization. Get information about groups or create a group.

https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_groups_ListOfGroups.htm

 

Body PARAM

Key Datatype Required Description 
name
string
visibility
string PrivateAccess—Only members of the group can see posts to this group. PublicAccess—All users within the community can see posts to this group. Unlisted—Reserved for future use.
description
string
information
string If the group is private, the “Information” section is visible only to members.
isArchived
boolean
isAutoArchiveDisabled
boolean true if automatic archiving is turned off for the group, false otherwise. Defaults to false. If true, if there are no posts or comments for 90 days the group is archived.
isBroadcast
boolean true if only group owners and managers can create posts in the group, false otherwise.
Curl
curl -X POST '/services/data/v61.0/chatter/groups?name=New Chatter Group (Private Access)&visibility=PrivateAccess&description=Created via API&information=Private Information&isArchived=false&isAutoArchiveDisabled=false&isBroadcast=false&canHaveChatterGuests =true?name=New Chatter Group (Private Access)&visibility=PrivateAccess&description=Created via API&information=Private Information&isArchived=false&isAutoArchiveDisabled=false&isBroadcast=false&canHaveChatterGuests =true'

ENDPOINTS