Ze da API icon

Ze da API

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

Actions137

Webhook → Update History Sync Webhook

AI-generated

Summary

Create or update a webhook for receiving history sync events from Ze da API.

Inputs

  • value — The webhook URL to receive events; must start with http:// or https://, can be left empty to clear the webhook.
  • requestOptions — HTTP request options such as batching configuration.
  • allowUnauthorizedCerts — Whether to skip SSL certificate validation for the request.
  • proxy — HTTP proxy to use for the request, including optional authentication.
  • timeout — Request timeout in milliseconds; default is 10000 ms.

Output shape

a status object indicating success or failure of the webhook update

Typically returns a simple acknowledgment; may include error details on failure.

Examples

Example 1: Configure webhook URL and enable batching

Set Webhook URL to https://myserver.com/webhook, enable batching with batchSize 100 and batchInterval 500 ms, keep default timeout.

Example 2: Clear the webhook

Leave Webhook URL empty; all other settings use their defaults.

Links

Discussion