---
title: "Get a list of all channels"
method: GET
path: "/api/v4/channels"
tags: ["channels"]
---

# Get a list of all channels

`GET /api/v4/channels`

##### Permissions
`manage_system`

## Query parameters

- `not_associated_to_group` string
- `page` integer
- `per_page` integer
- `exclude_default_channels` boolean
- `include_deleted` boolean
- `include_total_count` boolean
- `exclude_policy_constrained` boolean

## Response `200`

Channel list retrieval successful

- 38cb7293ChannelWithTeamData[]
  - `id` string
  - `create_at` integer — The time in milliseconds a channel was created
  - `update_at` integer — The time in milliseconds a channel was last updated
  - `delete_at` integer — The time in milliseconds a channel was deleted
  - `team_id` string
  - `type` string
  - `display_name` string
  - `name` string
  - `header` string
  - `purpose` string
  - `last_post_at` integer — The time in milliseconds of the last post of a channel
  - `total_msg_count` integer
  - `creator_id` string
  - `team_display_name` string — The display name of the team to which this channel belongs.
  - `team_name` string — The name of the team to which this channel belongs.
  - `team_update_at` integer — The time at which the team to which this channel belongs was last updated.
  - `policy_id` string — The data retention policy to which this team has been assigned. If no such policy exists, or the caller does not have the `sysconsole_read_compliance_data_retention` permission, this field will be null.

## Other responses

- `400` — Invalid or missing parameters in URL or request body
- `401` — No access token provided
- `404` — Resource not found

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
