function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rick MacGuiganRick MacGuigan 

REST query for chatter group

I would like to query the chatter REST API to get the chatter group a person belongs to. How can I query the chatter REST API for chatter groups that a user belongs to where the JSON contains  "myRole" = "StandardMember?" Need to then pass that SalesForce chatter group ID into a subsequent  GET command: /services/data/v39.0/chatter/feeds/record/<SF Group ID>/feed-elements
Fabio FabianoFabio Fabiano
How about 
/chatter/users/userId/groups - The groups the specified user is a member of.

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