Update a webhook subscription
Changed onReplace the set of events a webhook is subscribed to. The destination URL is fixed at creation — sending a different url is rejected with 400, so create a new webhook instead. At least one valid event name is required. Returns 204 with no body on success.
Request
- Base URLhttps://open-api.guesty.com/v1
- URLhttps://open-api.guesty.com/v1/webhooks/{id}
- AuthAPI key in header authorization
Path parameters
Webhook ID
Request body
Example request
{
"url": "https://www.hookurl.com"
}Response
Webhook was updated successfully
Changes
- breaking
removed the enum value
calendar.updated.v2of the request property - breaking
removed the enum value
guest.createdof the request property - breaking
removed the enum value
guest.deletedof the request property - breaking
removed the enum value
guest.updatedof the request property - breaking
removed the enum value
listing.calendar.updatedof the request property - breaking
removed the enum value
listing.newof the request property - breaking
removed the enum value
listing.removedof the request property - breaking
removed the enum value
listing.updatedof the request property - breaking
removed the enum value
payments.failedof the request property - breaking
removed the enum value
payments.method.receivedof the request property - breaking
removed the enum value
reservation.created.v2of the request property - breaking
removed the enum value
reservation.messageReceivedof the request property - breaking
removed the enum value
reservation.messageSentof the request property - breaking
removed the enum value
reservation.newof the request property - breaking
removed the enum value
reservation.updatedof the request property - breaking
removed the enum value
reservation.updated.v2of the request property - breaking
removed the enum value
reservation_update_shortlistof the request property - breaking
removed the enum value
task.createdof the request property - breaking
removed the enum value
task.deletedof the request property - breaking
removed the enum value
task.updatedof the request property - breaking
the
request property format changed from no format touri - breaking
removed the success response with the status
- info
api operation id
accountsWebhookUpdatewas added - info
added the new
guest-folio.createdenum value to the request property/ - info
added the new
guest-folio.updatedenum value to the request property/ - info
added the new
payments.authenticationRequiredenum value to the request property/ - info
added the new
payments.authorizationHoldFailedenum value to the request property/ - info
added the new
payments.disputesenum value to the request property/ - info
added the new
payments.invalidPaymentMethodenum value to the request property/ - info
added the new
payments.overcharge.expectedenum value to the request property/ - info
added the new
payments.overchargedenum value to the request property/ - info
added the new
payments.overdueenum value to the request property/ - info
added the new
payments.receivedenum value to the request property/ - info
added the new
payments.refundedenum value to the request property/ - info
added the non-success response with the status
- info
added the success response with the status
- breaking