OpenWA icon

OpenWA

Interact with OpenWA WhatsApp API Gateway

Actions138

Webhook → Update

AI-generated

Summary

Updates a webhook for the selected OpenWA session, changing only the fields provided. Use it to change the delivery URL, enabled state, subscribed events, filters, headers, retry count, or signing secret.

Inputs

  • Session Name or ID (required) — Select or enter the session that owns the webhook.
  • Webhook Name or ID (required) — Select or enter the webhook to update; the choices depend on the selected session.
  • Update Fields — Set any fields to change. Active enables or disables the webhook. Events replaces the full subscribed event set. URL sets the delivery URL. Filters accepts a JSON object or null to clear existing filters. Headers accepts a flat JSON object of string values and replaces the stored header map; use {} to clear it. Retry Count sets total attempts per event, from 0 to 5; 0 and 1 both make one attempt with no retry. Secret rotates the HMAC-SHA256 signing secret and must be 16–255 characters. Turn on Clear Secret to remove the stored secret and stop signing; it takes precedence over Secret. Blank Secret values are ignored.

Output shape

A single item containing the API response record for the updated webhook.

Only provided fields are changed; omitted fields retain their stored values. The server does not return stored headers, so they may be absent from the response.

Links

Discussion