Skip to main content

Get groups

GET 

/getGroups

Returns groups the current user belongs to. Like getFriends, this endpoint is filter-driven — the default returns an empty array. BuddyPress, PeepSo, and other group plugins hook into the better_messages_get_groups filter to provide group data.

Responses

Groups list (empty array by default, populated by integration plugins)