Ze da API icon

Ze da API

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

Actions137

Webhook → Update Chat Presence Webhook

AI-generated

Summary

Create or update a webhook for chat presence presence

Inputs

  • value — The webhook URL to receive events. Must start with http:// or https://. Leave empty to clear.
  • requestOptions — Configuration for additional request options, including 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 (and start the response body) before aborting the request.

Output shape

a webhook object

Returns the updated webhook details; may include fields such as id, url, and status.

Examples

Example 1: Create a new chat presence webhook with batching enabled

Set value to https://example.com/webhook, enable batching with batchSize 50, set timeout 10000, leave proxy empty, keep allowUnauthorizedCerts false.

Example 2: Update an existing webhook and disable SSL verification

Leave value empty to clear, set allowUnauthorizedCerts true, keep default requestOptions, use default proxy and timeout.

Links

Discussion