Glossary
Webhook
Webhook is an HTTP callback in which one system sends an automatic request to another system's URL when a specified event occurs, such as a booking being created or canceled.
Webhook explained
With a webhook, the receiving system does not need to poll an API repeatedly to detect changes. Instead, it registers an endpoint, and the sending system posts an event message there as soon as something happens. In travel, typical webhook events include new bookings, cancellations, amendments, payment confirmations and availability changes.
Reliable webhooks need several safeguards. Messages should be signed, for example with an HMAC-SHA256 signature, so the receiver can verify the sender. Receivers should respond quickly, process events idempotently because a message may be delivered more than once, and fall back to API checks if events are missed. Senders should retry failed deliveries with backoff.
Itinerary Tech's APIs provide signed webhooks for booking and inventory events, and VacoTours notifies operators of new bookings by webhook as well as in the operator panel.
Learn more
Related terms
- APIAPI is a documented interface that lets one software system request data or actions from another, such as searching availability or creating a booking.
- OAuthOAuth is an open authorization standard, currently OAuth 2.0 (RFC 6749), that lets an application obtain limited, token-based access to an API without handling the user's password.
- Sandbox environmentSandbox environment is an isolated test version of a system or API where developers can make test calls and bookings without affecting live inventory, payments or customers.