insights

Get a list of the top threads for a team.

Get a list of the top threads from 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/threads

Path parameters

team_idstring required

Team GUID

Query parameters

time_rangestring required

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

  • today: threads with activity on the current day.
  • 7_day: threads with activity in the last 7 days.
  • 28_day: threads with activity 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 threads retrieved successfully.

has_nextboolean

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

Changes

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