Infomaniak Kchat icon

Infomaniak Kchat

Interact with Infomaniak Kchat API

Actions173

Posts → Get Posts For A Channel

AI-generated

Summary

Fetch kChat channel posts with pagination, time-based and ID-based filtering, and deletion status control.

Inputs

  • authentication — Authentication method, defaults to OAuth2; API Key is alternative.
  • teamName (required) — Your kChat team name (the subdomain in https://.kchat.infomaniak.com)
  • path_channel_id (required) — The channel ID to get the posts for
  • limit — Maximum number of posts to return (1-500). Shown when returnAll is false.
  • queryParameters — Optional collection: page, per_page, query_since (unix ms), query_before, query_after, query_include_deleted (admin only).
  • returnAll — When true, retrieves all posts across all pages. When false, the limit parameter controls returned count.
  • returnFullResponse — When true, returns the full API response body instead of extracted item arrays.

Output shape

Array of post objects matching the channel's post structure; if returnFullResponse is true, the full API response object.

Execution uses generic Infomaniak kChat helpers (infomaniakApiRequest, infomaniakApiRequestAllPages) for API calls. Post retrieval supports pagination, time-based filtering via Unix milliseconds, and ID-based ordering. Deleted post inclusion requires system admin permissions.

Links

Discussion