insights

Get a list of the top channels for a user.

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

Permissions

Must be logged in as the user.

get/api/v4/users/me/top/channels

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.

team_idstring

Team ID will scope the response to a given team.

Permissions

Must have view_team permission for the team.

Response

Top channels retrieved successfully.

has_nextboolean

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

Changes