Ze da API icon

Ze da API

WhatsApp API powered by Ze da API - Send messages, manage groups, contacts and more

Actions137

Webhook → Update Connected Webhook

AI-generated

Summary

Update an existing connected webhook configuration

Inputs

  • value (required) — The webhook URL to receive events. Must start with http:// or https://. Leave empty to clear.
  • requestOptions — Add options such as batching settings.
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible.
  • proxy — HTTP proxy to use. If authentication is required it can be defined as follow: http://username:password@myproxy:3128
  • timeout — Time in ms to wait for the server to send response headers before aborting the request.

Output shape

a single webhook object

Returns the updated webhook payload; errors are reported in an error field.

Examples

Example 1: Set a new webhook URL for order events

value: https://myshop.com/webhook, timeout: 15000, requestOptions: {"batch": {"batchSize": 100}}

Example 2: Enable insecure SSL and use a proxy

allowUnauthorizedCerts: true, proxy: "http://proxy:3128"

Example 3: Clear the webhook URL

value: ""

Links

Discussion