--- title: "Get Channel Roles" slug: "get-channel-roles" updated: 2026-09-03T14:50:33Z published: 2026-09-03T14:50:33Z canonical: "developer.rocket.chat/get-channel-roles" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://developer.rocket.chat/llms.txt > Use this file to discover all available pages before exploring further. # Get Channel Roles Get/api/v1/channels.roles Lists all user's roles in the channel. ### Changelog | Version | Description | | --- | --- | | 0.65.0 | Added | Query parametersroomIdstring The room ID. It is required if the `roomName` is not provided. Exampledlpfuijw7ej roomNamestring The room name. It is required if the `roomId` is not provided. Examplegeneral Responses200 OK Success ```json { "roles": [ { "_id": "rGNoXwYuZshq9FENQ", "rid": "WDuJLFkjwk6L7LdFC", "u": { "_id": "rbAXPnMktTFbNpwtJ", "username": "roxie" }, "roles": [ "owner" ] }, { "_id": "64ef8a982c26843a68c1f7ae", "rid": "WDuJLFkjwk6L7LdFC", "u": { "_id": "5fRTXMt7DMJbpPJfh", "username": "test.test", "name": "Testtest" }, "roles": [ "leader" ] } ], "success": true } ``` Expand Allobject roles Array of object object _idstring ridstring uobject _idstring usernamestring namestring roles Array of string string successboolean 401 Unauthorized Authorization Error ```json { "status": "error", "message": "You must be logged in to do this." } ``` object statusstring messagestring