Chat icon

Chat

Interact with the Chat API

Actions253

Integration → Update Hook

AI-generated

Summary

Update an integration hook

Inputs

  • accountId (required) — Select the account to use; can be chosen from a list or provided as a numeric ID.
  • hookId (required) — Numeric identifier of the integration hook to update.
  • payload (required) — JSON payload representing the request body expected by the API for the hook update.

Output shape

a single updated hook object

Returns the updated hook details; fields include the hook ID and any modified attributes; errors are propagated by n8n.

Examples

Example 1: Modify an existing integration hook's endpoint

accountId=123, hookId=456, payload={"url":"https://new.example.com/webhook"}

Example 2: Enable a hook after editing its payload

accountId=987, hookId=101, payload={"enabled":true,"method":"POST"}

Links

Discussion