Update webhook

Update an existing Duve Connect webhook configuration.

Path parameters

idstringRequired

Headers

AuthorizationstringRequired

Bearer access token. See Authentication endpoint for details.

Request

This endpoint expects an object.
namestringRequired
eventstringRequired

Event key. See Appendix - Webhook events.

urlstringRequired
conditionslist of objectsOptional
dataPointslist of stringsOptional

See Appendix - Webhook data points.

isEnabledbooleanOptionalDefaults to true
headerslist of objectsOptional
brandslist of stringsOptional

Brand ids (ObjectId as string) to limit delivery

valueNameToComparestringOptional

Used for specific events like reservationDetailsUpdated to target ETA/ETD/stayDateChanged

notifyOnWebhookFailuresbooleanOptional
Email notification on webhook failures
failureNotificationEmailslist of stringsOptional
Email addresses to notify on webhook failures

Response

Updated successfully
_idstring or null
namestring or null
eventstring or null

Event key. See Appendix - Webhook events.

urlstring or null
conditionslist of objects or null
dataPointslist of strings or null

See Appendix - Webhook data points.

isEnabledboolean or nullDefaults to true
headerslist of objects or null
brandslist of strings or null

Brand ids (ObjectId as string) to limit delivery

valueNameToComparestring or null

Used for specific events like reservationDetailsUpdated to target ETA/ETD/stayDateChanged

notifyOnWebhookFailuresboolean or null
Email notification on webhook failures
failureNotificationEmailslist of strings or null
Email addresses to notify on webhook failures

Errors