Update a subscription
Write. Change the URL, events or property filter, or pause delivery with is_active: false.
patch
https://api.konghotels.cloud/webhooks/{webhookId}
Path Parameters
webhookIdstringrequired
Match pattern:^whk_
Body
application/json
Body
application/json
WebhookUpdate
urlstring(uri)
eventsarray[string]
Allowed values:reservation.createdreservation.modifiedreservation.cancelledreservation.add_ons_changedavailability.changedrates.changedproperty.updatedpromotion.publishedreview.publishedgroup_request.createdgroup_request.updatedwebhook.ping
property_codesarray | null[string]
descriptionstring | null
is_activeboolean
Response
application/json
Response
application/json
Updated subscription.
dataobject
Show Child Parameters
patch/webhooks/{webhookId}
Authentication
Path Parameters
Body
{}
application/json
Delete a subscription
Write.
delete
https://api.konghotels.cloud/webhooks/{webhookId}
Path Parameters
webhookIdstringrequired
Match pattern:^whk_
Response
Response
Deleted.
delete/webhooks/{webhookId}
Authentication
Path Parameters
Send a test event
Write. Queues a signed webhook.ping delivery to the endpoint.
post
https://api.konghotels.cloud/webhooks/{webhookId}/ping
Path Parameters
webhookIdstringrequired
Match pattern:^whk_
Response
application/json
Response
application/json
Ping queued.
dataobject
Show Child Parameters
post/webhooks/{webhookId}/ping
Authentication
Path Parameters
application/json
Rotate the signing secret
Write. Issues a new secret; the old one stops working immediately.
post
https://api.konghotels.cloud/webhooks/{webhookId}/rotate-secret
Path Parameters
webhookIdstringrequired
Match pattern:^whk_
Response
application/json
Response
application/json
Subscription with its new secret.
dataobject
Show Child Parameters
post/webhooks/{webhookId}/rotate-secret
Authentication
Path Parameters
application/json
List delivery attempts
get
https://api.konghotels.cloud/webhooks/{webhookId}/deliveries
Query Parameters
per_pageinteger
>= 1<= 100
cursorstring
Opaque cursor from meta.next_cursor / links.next.
Path Parameters
webhookIdstringrequired
Match pattern:^whk_
Response
application/json
Response
application/json
Deliveries, newest first.
linksobject
Show Child Parameters
metaobject
Show Child Parameters
dataarray[object]
Show Child Parameters
get/webhooks/{webhookId}/deliveries
Authentication
Path Parameters
Query Parameters
application/json