This endpoint allows users to list groups based on their permissions.
Access levels:
The has_role filter can be combined with user_id to return only groups where the specified user has a particular role (e.g. owner). It has no effect without user_id.
Supports pagination and search functionality.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Filter by group category: 'company', 'private', or 'custom' (team).
company, custom, private Company ID to filter groups (only for Admin/Sys Admin/Account Manager)
Filter groups by the role the user (specified via user_id) has in them. Has no effect without user_id.
member, owner Page number (default: 1)
Items per page (default: 20, max: 100)
Filter by group name (case-insensitive)
User ID to filter groups