Infomaniak Kchat icon

Infomaniak Kchat

Interact with Infomaniak Kchat API

Actions173

Insights → Get A List Of The Top Reactions For A User.

AI-generated

Summary

Fetch top reactions for a user within a selected time range for a kChat team.

Inputs

  • authentication — Connection method for the Infomaniak kChat API.
  • teamName (required) — Your kChat team name (the subdomain in https://.kchat.infomaniak.com)
  • query_time_range (required) — Time range: today, 7_day, or 28_day.
  • queryParameters — Optional pagination and team scoping parameters.
  • queryParameters.query_page — The page to select.
  • queryParameters.query_per_page — The number of items per page, up to a maximum of 200.
  • queryParameters.query_team_id — Team ID will scope the response to a given team and exclude direct and group messages. Must have view_team permission for the team.
  • returnAll — Return all available items. When false, results are limited by the limit parameter.
  • limit — Maximum number of items to return. Only applied when returnAll is false. Min 1, max 500.
  • returnFullResponse — Return the full API response body if true.

Output shape

A list of top reaction objects for the specified user, paginated according to query parameters. If returnAll is false, returns up to limit items.

When returnAll is true (default), all available items across pages are returned. The API request is handled via infomaniakApiRequestAllPages using the authenticated team context.

Examples

Example 1: Get top reactions for a user in the last 7 days

authentication: oauth2, teamName: my-team, query_time_range: 7_day, queryParameters: { query_per_page: 20 }, returnAll: true

Links

Discussion