Webhook Integration
Webhooks let your systems receive real-time notifications when events happen on your Wink account — new bookings, cancellations, payment updates, and more. This guide walks you through setup and best practices.
Audience
Section titled “Audience”This guide is for developers integrating Wink with external systems such as property management systems (PMS), channel managers, CRMs, or custom dashboards.
How webhooks work
Section titled “How webhooks work”- You register a webhook URL on Wink.
- When an event occurs (e.g., a new booking), Wink sends an HTTP POST to your URL.
- Your server processes the payload and responds with a
200 OK.
Setting up a webhook
Section titled “Setting up a webhook”- Log in to your account (Extranet, Studio, or TripPay — all support webhooks).
- Navigate to
Applicationsand thenWebhooks. See Webhooks. - Click
Create webhook. - Enter a name (e.g., “PMS Booking Sync”).
- Enter your webhook URL — the HTTPS endpoint on your server.
- Select events — Choose specific events to subscribe to, or leave empty to receive all events.
- Toggle Enabled to on.
- Click
Save.
Event types
Section titled “Event types”Wink supports a variety of event types. Common events include:
- Booking created — A new booking has been confirmed.
- Booking cancelled — A booking has been cancelled.
- Payment completed — Payment has been processed.
- Booking updated — Details on a booking have changed.
Best practices
Section titled “Best practices”- Use HTTPS — Wink sends payloads to HTTPS endpoints only.
- Respond quickly — Return a
200 OKas soon as you receive the payload. Do any heavy processing asynchronously. - Idempotency — Your handler should be idempotent. Wink may retry delivery if it does not receive a
200response. - Validate the source — Verify that incoming requests are from Wink before processing.
- Logging — Log every webhook payload you receive. This makes debugging integration issues much easier.
Pausing and deleting
Section titled “Pausing and deleting”You can disable a webhook without deleting it. This pauses delivery so you can troubleshoot without losing your configuration. When you’re ready, toggle it back on.
Deleting a webhook permanently removes it. Any integration relying on that webhook will stop receiving notifications.
Further reading
Section titled “Further reading”- Webhooks — Full reference for webhook management.
- Applications — Manage your API credentials.
- Developers > APIs — Full API documentation.