Get Group Moderators

Lists all group moderators.

HTTP MethodURLRequires Auth

GET

/api/v1/groups.moderators

Query Parameters

KeyExample ValueDescription

roomId*

ByehQjC44FwMeiLbX

The group ID. The parameter is required if roomName is not provided.

roomName*

testGroup

The group name. The parameter is required if roomId is not provided.

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
     -H "X-User-Id: aobEdbYhXfu5hkeqG" \
     http://localhost:3000/api/v1/groups.moderators?roomId=ByehQjC44FwMeiLbX

Example Response

{
    "moderators": [
        {
            "_id": "rocket.cat",
            "username": "rocket.cat",
            "name": Rocket.Cat
        }
    ],
    "success": true
}

Change Log

VersionDescription

0.70.0

Added

Last updated

Rocket.Chat versions receive support for six months after release.