Get Team Channels
GET
/teams/{teamId}/channelsRequest
Path Params
teamId
string
required
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
channels
array[object (Channel) {14}]
required
id
string
required
Unique identifier for the channel
type
string
required
Type of the channel
teamId
string
required
ID of the team to which the channel belongs
name
string
required
Name of the channel
>= 1 characters<= 20 characters
description
string | null
optional
Description of the channel. Can be null
if no description is provided
createdBy
string
required
ID of the user who created the channel
parentId
string | null
optional
ID of the parent channel if it's a subchannel. Can be null
if not applicable
participants
array[string] | null
optional
If the channel is a voice channel, it must return the participants of the voice channel
priority
number
required
Priority of the channel, indicating its position or importance
nsfw
boolean
required
Indicates whether the channel is NSFW (Not Safe For Work)
region
string | null
optional
Region of voice channel
createdAt
string <date-time>
required
Timestamp of when the channel was created
permissions
object
required
Permissions for the channel, containing roles and their associated permissions
additionalData
object | null
optional
Additional data
Example
Not configured
Last modified: 10 days ago