Infomaniak Kchat icon

Infomaniak Kchat

Interact with Infomaniak Kchat API

Actions173

Insights → Get A List Of The Top Channels For A Team.

AI-generated

Summary

Retrieve top-ranked channels for a kChat team within a specified time range, with optional pagination and authentication choices.

Inputs

  • authentication — Choose OAuth2 or API Key authentication method for Infomaniak kChat API access.
  • teamName (required) — Your kChat team name (the subdomain in https://.kchat.infomaniak.com).
  • path_team_id (required) — Team GUID identifier for the target team.
  • query_time_range (required) — Time range for filtering channel activity: 'today', '7_day', or '28_day'.
  • queryParameters — Optional pagination and filtering parameters for the request.
  • returnAll — If true, returns all available results across pages (default: true).
  • returnFullResponse — If true, returns the complete API response body instead of normalized items (default: false).

Output shape

An array of top channel objects ranked by activity within the selected time range, each containing channel metadata (e.g., ID, name, post count). Pagination applied per query_per_page limit (max 200).

When returnAll is false and pagination parameters are omitted, defaults to first page up to 50 items. API key auth uses query string; OAuth2 uses bearer token header.

Examples

Example 1: Get top channels for team 'myteam' over last 7 days, page 1, 20 per page.

authentication: oauth2; teamName: myteam; path_team_id: ; query_time_range: 7_day; queryParameters: { query_page: 1, query_per_page: 20 }; returnAll: false; returnFullResponse: false

Links

Discussion