Skip to main content

Overview

The channel query is designed to fetch details of a specific channel by its ID. The user must have access to the channel (either it’s a public channel in their team, or they are a member of the private channel).

Arguments

id
ID!
required
The unique identifier of the channel to fetch.

Schema

Fields available to the Channel query

Usage Example

Error Codes

List of possible error codes that may be returned by the channel query. Full list of error codes can be found here.

The channel ID you are trying to query does not exist or you do not have access to it.

Additional Resources

Channels

Query list of channels

Channel Schema

Schema for Channel