Deprecation Notice

The method groups.getMembers is deprecated. Use channels.listMembers instead. 

Description

This method retrieves public profiles of users belonging to this group.

Parameters

Name
Type
Required
Parameter Description
tokenStringYesAuthentication token for the user
groupIdStringYes

Identifier of the group for which the membership information was requested

Response

A list of PublicProfile objects.

[{
    "id": "u:cfc76545-3400-4864-892a-513a9f4ae409",
    "firstName": "Nicole",
    "lastName": "Sullivan"
},{
    "id": "u:d08c8f64-1a64-4cd9-a563-df5079794aa7",
    "firstName": "Bob",
    "lastName": "Hartnett",
},{
...
}]

Errors

Error CodeHTTP StatusDescriptionAdditional Parameters
UnknownGroup400The group provided in the groupId field can't be located