Hindsight icon

Hindsight

Interact with the Hindsight AI memory API

Webhook → Update

AI-generated

Summary

Update an existing webhook within a specified bank by modifying its properties such as URL, secret, event types, activation status, and HTTP delivery configuration.

Inputs

  • Bank ID (required) — Specifies the ID of the bank containing the webhook to update.
  • Webhook ID (required) — Specifies the ID of the webhook to be updated.
  • Additional Fields — Optional properties to update, including webhook URL, secret for signing, event types to deliver, webhook enabled status, and HTTP configuration like method, timeout, headers, and query parameters.

Output shape

a single updated webhook record as a JSON object

The response is the updated webhook resource returned from Hindsight API after the PATCH request. The output includes fields as updated via the provided parameters.

Examples

Example 1: Update the URL and enable status of a webhook

Provide the bankId and webhookId of the webhook, and set the new URL and 'enabled' flag in the additionalFields.

Links

Discussion