List Channels
GET
Retrieve all channels in the workspace that the API key has access to.
Loading code example
Loading code example
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
visibility"organization" | "team" | "private"
Filter by visibility level.
Allowed values:
"organization" | "team" | "private"limitintegerdefault: 20
Number of channels to return per page.
Required range:
x >= 1, x <= 100Default:
20cursorstring
Cursor for pagination.
Response
application/json
List of channels
dataarray<object>data.idstringUnique channel identifier.
data.namestringDisplay name of the channel.
data.slugstringURL-friendly identifier.
data.descriptionstringShort summary of the channel.
data.visibility"organization" | "team" | "private"Who can see this channel.
Allowed values:
"organization" | "team" | "private"data.subscriber_countintegerNumber of subscribers.
data.post_countintegerTotal posts in the channel.
data.is_defaultbooleanWhether new members are auto-subscribed.
data.is_archivedbooleanWhether the channel is archived.
data.created_atstring<date-time>data.updated_atstring<date-time>next_cursorstringhas_moreboolean