Deprecation Notice

The method groups.getInfo is deprecated. Use channels.getInfo instead.

Description

This method retrieves information related to a group.

Parameters

NameTypeRequiredDescription
tokenStringYesAuthentication token for the user.
groupIdStringYes

Identifier of the group for which information was requested

Response

A single Group object.

{
    "id": "g:f71eec8b-b94a-45af-a698-cc139b3d48b1",
    "name": "<group name>", 
    "memberCount": 15,
    "profileImage": "https://av.flock.co/9e6d31314638145778a3f51e-full"
}

Errors

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

2 Comments

  1. What if the group exist but the requestor is not authorized to access it?

    1. I think the UnknownGroup error should suffice, unless there is a specific reason to give a "not authorized" or similar error.