Group Members—Private

Request membership in a private group or get the status of requests to a join a private group.

To request membership in a public group, use the Group Members resource.

Note

Resource
/chatter/groups/groupId/members/requests
/connect/communities/communityId/chatter/groups/groupId/members/requests
Available since version
27.0
Requires Chatter
Yes
HTTP methods
GET, HEAD, and POST
Request parameter for GET
Parameter Name Type Description Available Since
status String Optional. If you include this parameter, results are filtered to include those that match the specified status. Valid values:
  • Accepted
  • Declined
  • Pending
27.0
Response body for GET or HEAD
Group Membership Request Collection
Example for getting the requests to join that have been accepted
/chatter/groups/0F9D00000000izfKAA/members/requests?status=Accepted
Response body for POST
Group Membership Request
This table lists HTTP response code descriptions that are unique to this resource. For descriptions of other HTTP response codes, see Status Codes and Error Responses.
HTTP Response Code Description
201 One of the following:
  • Success
  • User already has a membership request for this group
204 User is already a member of this group.
403 One of the following:
  • Group is private: INSUFFICIENT_ACCESS_OR_READONLY
  • User is an external user: INSUFFICIENT_ACCESS
Example for requesting membership in a private group
Specify the ID (0F9D00000000lpK) of the group.
/chatter/groups/0F9D00000000lpK/members/requests