Logo
Salesforce Developers API Documentation

Group Membership Requests—Private

PATCH {{_endpoint}}/services/data/v{{version}}/chatter/group-membership-requests/:CHATTER_GROUP_REQUEST_ID?status=Accepted&responseMessage=Welcome to the group!

Update the status of a request by a user to join a private group or get information about a request to join a private group.

https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_group_membership_requests.htm?search_text=group-membership-requests

 

Body PARAM

Key Datatype Required Description 
status
string
responseMessage
string



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "createdDate": "2023-11-22T11:46:32.000Z", "id": "0I5...", "lastUpdateDate": "2023-11-22T11:50:19.000Z", "requestedGroup": { "id": "0F9...", "url": "/services/data/v58.0/chatter/groups/0F9..." }, "responseMessage": null, "status": "Accepted", "url": "/services/data/v58.0/chatter/group-membership-requests/0I5...", "user": { "additionalLabel": null, "communityNickname": "User1700653511864742682", "companyName": null, "displayName": "User Sample", "firstName": "User", "id": "005...", "isActive": true, "isInThisCommunity": true, "lastName": "Sample", "motif": { "color": "1B96FF", "largeIconUrl": "/img/icon/profile64.png", "mediumIconUrl": "/img/icon/profile32.png", "smallIconUrl": "/img/icon/profile16.png", "svgIconUrl": null }, "mySubscription": null, "name": "User Sample", "outOfOffice": { "message": "" }, "photo": { "fullEmailPhotoUrl": "https://<my_domain>/img/userprofile/default_profile_200_v2.png?fromEmail=1", "largePhotoUrl": "https://<my_domain>/profilephoto/005/F", "mediumPhotoUrl": "https://<my_domain>/profilephoto/005/M", "photoVersionId": null, "smallPhotoUrl": "https://<my_domain>/profilephoto/005/T", "standardEmailPhotoUrl": "https://<my_domain>/img/userprofile/default_profile_45_v2.png?fromEmail=1", "url": "/services/data/v58.0/connect/user-profiles/005.../photo" }, "reputation": null, "title": null, "type": "User", "url": "/services/data/v58.0/chatter/users/005...", "userType": "Internal" } }

Curl
curl -X PATCH '/services/data/v61.0/chatter/group-membership-requests/:CHATTER_GROUP_REQUEST_ID?status=Accepted&responseMessage=Welcome to the group!?status=Accepted&responseMessage=Welcome to the group!'

ENDPOINTS