Infomaniak Kchat icon

Infomaniak Kchat

Interact with Infomaniak Kchat API

Actions173

Webhooks → Update An Outgoing Webhook

AI-generated

Summary

Updates an outgoing webhook in an Infomaniak kChat team.

Inputs

  • authentication — Authentication method for the Infomaniak API. Choose 'OAuth2' or 'API Key'. Defaults to 'OAuth2'.
  • teamName (required) — Your kChat team name (the subdomain in https://.kchat.infomaniak.com).
  • path_hook_id (required) — Outgoing webhook GUID passed in the request path.
  • body_id (required) — Outgoing webhook GUID included in the request body.
  • body_channel_id (required) — The ID of a public channel or private group that receives the webhook payloads.
  • body_display_name (required) — The display name for this webhook.
  • body_description (required) — The description for this webhook.
  • returnFullResponse — If true, the full API response is returned; otherwise only a confirmation is provided.

Output shape

Confirmation of the updated webhook, or the full API response depending on the returnFullResponse setting.

The operation sends an API request to Infomaniak to modify the specified outgoing webhook configuration.

Examples

Example 1: Update an outgoing webhook using an API key.

Set authentication to 'API Key', provide the team name, path_hook_id, body_channel_id, body_display_name, and body_description. Set returnFullResponse to false (default).

Links

Discussion