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

Parameters

Name
Type
Required
Parameter Description
tokenStringYesAuthentication token for the user
channelIdStringYes

Identifier of the channel for which the membership information was requested

showPublicProfileBooleanYesIf true, populate the public profile for each ChannelMember returned.

Response

A list of ChannelMember objects.

[
  {
    "userId": "u:xxxxxxx",
    "affiliation": "member",
    "publicProfile": {
      "id": "u:xxxxxxx",,
      "firstName": "Nicole",
      "lastName": "Sullivan",
      "profileImage": "https://i.flockusercontent.com/xxxxxx"
    }
  },
  {
    "userId": "u:yyyyyyy",
    "affiliation": "moderator",
    "publicProfile": {
      "id": "u:yyyyyyy",
      "firstName": "Bob",
      "lastName": "Hartnett",
      "profileImage": "https://i.flockusercontent.com/yyyyyy"
    }
  },
]

Errors

Error CodeHTTP StatusDescriptionAdditional Parameters
UnknownChannel400The group provided in the channelId field can't be located