Actions137
- Business Actions
- Add Product to Collection
- Add Tag to Chat
- Create Collection
- Create Product
- Create Tag
- Delete Collection
- Delete Product
- Delete Tag
- Edit Collection
- Edit Tag
- Get Available Categories
- Get Business Profile
- Get Product
- Get Products By Phone
- Get Tag Colors
- List Collection Products
- List Collections
- List Products
- List Tags
- Remove Product From Collection
- Remove Tag From Chat
- Save Catalog Config
- Set Business Hours
- Set Categories
- Chat Actions
- Community Actions
- Contact Actions
- Event Actions
- Group Actions
- Instance Actions
- Interactive Message Actions
- Message Actions
- Message Action Actions
- Message Status Actions
- Newsletter Actions
- Poll Actions
- Privacy Actions
- Profile Actions
- Proxy Actions
- Queue Actions
- Status/Story Actions
- Webhook Actions
Webhook → Update Chat Presence Webhook
AI-generatedSummary
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.