--- url: https://developer-portal.gainsight.com/docs/api/operations/groups/getGroup.md --- # Get Group Detail (Discovery) Groups Group detail -- name, description, visibility, member/moderator counts. With no userId any group is returned (admin / trusted-integration view); with a userId, a hidden group the user is not a member of returns 404. ## Endpoint ``` GET https://api2-eu-west-1.insided.com/groups/groups/{groupId} ``` **Required scope:** `read` ### Parameters | Name | In | Type | Required | Description | |------|----|------|----------|-------------| | `groupId` | path | integer | Yes | — | | `userId` | query | integer | No | Scope visibility to this user; a hidden group they are not a member of returns 404. | ### Responses | Status | Description | |--------|-------------| | 200 | Group detail | | 400 | Invalid userId | | 401 | Unauthorized | | 404 | Group not found (or hidden from the subject) | | 500 | Server error |