Payload used to update an existing webhook endpoint configuration.
Payload used to update an existing webhook endpoint configuration.
Field | Type | Description | Values |
eventTypes Optional | array<string> | Replace the list of subscribed event types. | Example [
"message.received",
"message.updated"
] |
headers Optional | object nullable | Replace the set of custom headers included with each delivery. | — |
isActive Optional | boolean | Toggle whether events should be delivered. | Example true |
retryCount Optional | number | Adjust the maximum retry attempts. | Example 5 |
retryDelayMs Optional | number | Update the delay between retry attempts. | Example 2000 |
secret Optional | string nullable | Rotate the signing secret used for payload verification. | Example whsec_newsecret |
timeoutMs Optional | number | Update the timeout in milliseconds. | Example 45000 |
url Optional | string | Updated target URL for webhook deliveries. | Example https://hooks.example.com/riposte |