Infomaniak Kchat icon

Infomaniak Kchat

Interact with Infomaniak Kchat API

Actions173

Channels → Get Channels For User

AI-generated

Summary

Fetch channels for a specific user within an Infomaniak kChat team.

Inputs

  • teamName (required) — Your kChat team name (the subdomain in https://.kchat.infomaniak.com)
  • path_user_id (required) — User GUID
  • path_team_id (required) — Team GUID
  • authentication — Authentication method to use for the API request. Defaults to OAuth2 if not specified. Options: OAuth2, API Key.
  • query_include_deleted — Defines if deleted channels should be returned or not. Defaults to false.
  • query_last_delete_at — Filters the deleted channels by this time in epoch format. Does not have any effect if include_deleted is set to false. Defaults to 0.
  • returnFullResponse — Return the full API response instead of parsed items. Defaults to false.

Output shape

An array of channel objects matching the specified user and team, optionally filtered by deletion status. When returnFullResponse is true, the complete API response payload is returned.

The operation is read-only and does not modify any state on the Infomaniak kChat service.

Examples

Example 1: Retrieve all active channels for a user in a team using OAuth2.

authentication=OAuth2, query_include_deleted=false

Example 2: Retrieve deleted channels for a user, filtered by a specific deletion timestamp.

query_include_deleted=true, query_last_delete_at=1700000000

Links

Discussion