These docs are for v1.0.0. Click to read the latest docs for v2.0.0.

Creates a Webhook subscription.

Input parameters

When creating the Webhook, you should provide a name, a url for receiving POST messages, and an array of events in the request body.

You may specify specific booking lifecycle events you wish to subscribe to, or you can pass the booking event to trigger the POST payload message whenever any of the supported booking lifecycle events occurs. Learn more about events

Make sure that you pass the full URL. For security reasons, we only accept HTTPS URLs.

You must authenticate the request by passing a valid API key in the API-Key header parameter. Learn more about the API key

Returns

Returns the Webhook object if the call succeeded. Returns an error if something goes wrong. Learn more about errors

Language
Credentials
Header
Click Try It! to start a request and see the response here!