Group Members
POST {{_endpoint}}/services/data/v{{version}}/chatter/groups/:GROUP_ID/members?userId=<USER1_ID>
Members of a specified group. Get the members and add a member to a group. To add a member, the context user must be the group owner or moderator.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
userId | string |
RESPONSES
status: Created
{"id":"0FB...","lastFeedAccessDate":null,"role":"StandardMember","url":"/services/data/v58.0/chatter/group-memberships/0FB...","user":{"additionalLabel":null,"communityNickname":"integration1.4407085834085586E12","companyName":"Salesforce","displayName":"Integration User","firstName":"Integration","id":"005...","isActive":true,"isInThisCommunity":true,"lastName":"User","motif":{"color":"1B96FF","largeIconUrl":"/img/icon/profile64.png","mediumIconUrl":"/img/icon/profile32.png","smallIconUrl":"/img/icon/profile16.png","svgIconUrl":null},"mySubscription":null,"name":"Integration User","outOfOffice":{"message":""},"photo":{"fullEmailPhotoUrl":"https://\u003cmy_domain\u003e/img/userprofile/default_profile_200_v2.png?fromEmail=1","largePhotoUrl":"https://\u003cmy_domain\u003e/profilephoto/005/F","mediumPhotoUrl":"https://\u003cmy_domain\u003e/profilephoto/005/M","photoVersionId":null,"smallPhotoUrl":"https://\u003cmy_domain\u003e/profilephoto/005/T","standardEmailPhotoUrl":"https://\u003cmy_domain\u003e/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"}}