Mailhooks icon

Mailhooks

Consume the Mailhooks API

Webhook → Update

AI-generated

Summary

Update an existing webhook's URL or its activation status by specifying the webhook ID and the fields to change.

Inputs

  • Webhook ID (required) — The ID of the webhook to update.
  • URL — The new webhook URL to replace the existing one.
  • Active — Boolean flag to activate or deactivate the webhook.
  • Events — Events to subscribe to (optional for update, defined in create/update UI but not sent during update API call).
  • Inbox Name or ID — Optionally restrict the webhook to a specific inbox (visible in create/update UI but unused in update operation).

Output shape

a single record

Returns the updated webhook object as JSON in the output data. Only the webhook URL and active status can be updated; events and inbox restriction are not included in update API payload according to source code.

Examples

Example 1: Update webhook URL and set it as active

Provide Webhook ID, set new URL, and enable the Active flag.

Links

Discussion