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 |
---|---|---|---|
token | String | Yes | Authentication token for the user |
groupId | String | Yes | 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 Code | HTTP Status | Description | Additional Parameters |
---|---|---|---|
UnknownGroup | 400 | The group provided in the groupId field can't be located |