ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions117

Webhooks → Update A Webhook

AI-generated

Summary

Update a specific webhook for a given ChatWoot account by providing its account ID and webhook ID, optionally modifying the webhook's URL and event subscriptions.

Inputs

  • Account Id (required) — The numeric ID of the ChatWoot account to which the webhook belongs.
  • Webhook Id (required) — The numeric ID of the webhook to update.
  • Url — The new URL where webhook events should be sent.
  • Subscriptions — A JSON array specifying the events to subscribe the webhook to.

Output shape

a single record representing the updated webhook details

The response contains the updated webhook data as returned from ChatWoot. No pagination applies.

Examples

Example 1: Update an existing webhook's URL and subscriptions for a specific account and webhook

Set Account Id and Webhook Id to identify the webhook, provide new Url string, and specify event subscriptions as a JSON array.

Discussion