channels
Get a list of all channels
Permissions
manage_system
get/api/v4/channels
Query parameters
not_associated_to_groupstring
A group id to exclude channels that are associated with that group via GroupChannel records. This can also be left blank with not_associated_to_group=.
pageinteger
The page to select.
per_pageinteger
The number of channels per page.
exclude_default_channelsboolean
Whether to exclude default channels (ex Town Square, Off-Topic) from the results.
include_deletedboolean
Include channels that have been archived. This correlates to the DeleteAt flag being set in the database.
include_total_countboolean
Appends a total count of returned channels inside the response object - ex: { "channels": [], "total_count" : 0 }.
exclude_policy_constrainedboolean
If set to true, channels which are part of a data retention policy will be excluded. The sysconsole_read_compliance permission is required to use this parameter.
Response
Channel list retrieval successful