User Groups
- Resource
-
/chatter/users/userId/groups
/connect/communities/communityId/chatter/users/userId/groups
- Available since version
- 23.0
- Requires Chatter
- Yes
- HTTP methods
- GET, HEAD
- Request parameters
-
Parameter Name Type Description Required or Optional Available Version page Token A generated token that indicates the view of feed items. Page tokens are returned as part of the response body, in one of the URL parameters, such as nextPageURL. Optional 23.0 pageSize Integer Specifies the number of items per page. Valid values are between 1 and 250. If you don’t specify a size, the default is 25. Optional 23.0 q String Specifies the string to search. The search string must contain at least two characters, not including wildcards. See Wildcards. Optional 30.0 - Response body
- In version 45.0 and later, the response body is User Group Detail Collection.
- In version 44.0 and earlier, the response body is User Group Page.
- Example
- This GET request returns information about all groups the context user is a member of
whose names or descriptions contain the letters co.
/chatter/users/me/groups?q=co