Infomaniak Kchat icon

Infomaniak Kchat

Interact with Infomaniak Kchat API

Actions173

Users → Autocomplete Users

AI-generated

Summary

Autocomplete kChat users by username, nickname, first name, or last name

Inputs

  • authentication — Authentication method to use for the Infomaniak kChat API request. Defaults to OAuth2 if not specified. Select 'OAuth2' or 'API Key'.
  • teamName (required) — Your kChat team name (the subdomain in https://.kchat.infomaniak.com). This is a required parameter.
  • query_name (required) — Username, nickname, first name, or last name to search against when autocompleting users.
  • queryParameters — Optional additional query parameters to refine the autocomplete results.
  • returnFullResponse — If true, returns the full API response. If false (default), returns a simplified list of matching users.

Output shape

object

When returnFullResponse is false (default), the operation returns a simplified array of user objects matching the query_name. When true, it returns the complete API response payload as received from Infomaniak. The query_limit parameter (default 100 if omitted) caps the number of users returned per subresult.

Examples

Example 1: Basic user autocomplete using OAuth2

authentication: OAuth2, teamName: my-team, query_name: john

Links

Discussion