insights

Get a list of the top channels for a team.

Get a list of the top public and private channels (the user is a member of) for a given team.

Permissions

Must have view_team permission for the team.

get/api/v4/teams/{team_id}/top/channels

Path parameters

team_idstring required

Team GUID

Query parameters

time_rangestring required

Time range can be "today", "7_day", or "28_day".

  • today: channels with posts on the current day.
  • 7_day: channels with posts in the last 7 days.
  • 28_day: channels with posts in the last 28 days.
pageinteger

The page to select.

per_pageinteger

The number of items per page, up to a maximum of 200.

Response

Top channels retrieved successfully.

has_nextboolean

Indicates if there is another page of channels that can be fetched.

Changes

No recorded changes to this endpoint across all 1 revision of this API.