Actions53
- Channel Actions
- Direct Message Actions
- Message Actions
- User Actions
Channel → Get
AI-generatedSummary
Retrieve information about a channel
Inputs
- channelType — Whether to target a public channel or a private group
- identifyBy — How to specify the channel (by room ID or by room name)
- roomIdGet (required) — The room ID when identifying the channel by ID
- roomNameGet (required) — The room name when identifying the channel by name
Output shape
a single channel record
Contains fields such as id, name, type, and other metadata returned by Rocket.Chat
Examples
Example 1: Get a public channel by its name
resource=Channel, operation=Get, identifyBy=roomName, roomNameGet=General, channelType=channel
Example 2: Get a private group by its ID
resource=Channel, operation=Get, identifyBy=roomId, roomIdGet=C12345, channelType=group