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

Introduction to Webhooks

📘

The OnceHub Webhooks API is currently only supported with ScheduleOnce bookings.

What are Webhooks?

Our Webhooks API is an advanced feature that can be used to build integrations with third party applications. It is suitable for developers or technically savvy users with scripting or programming knowledge. Using OnceHub Webhooks you can develop custom integrations with your own web applications, services, or data warehouse.

The OnceHub Webhooks API

The OnceHub Webhooks API is used to communicate with third-party web services. Webhook subscriptions are configured with a POST URL and an array of User-specified event triggers representing different booking lifecycle events.

Multiple Webhook subscriptions can be associated with the same OnceHub account. This lets you create different triggers for different booking lifecycle events.

An HTTP POST message is used to push relevant booking data to the Webhook URL, and is triggered whenever the defined lifecycle event occurs. The data is sent as JSON key-value pairs (KVPs) to your receiving server when a booking lifecycle event occurs in your OnceHub account. For example, you can create a Webhook that sends customer details whenever a new booking is scheduled.

Managing your Webhooks

Webhook subscriptions can be created, deleted, and retrieved via the Webhooks API. You can also view and delete your Webhooks from the ScheduleOnce > Setup > Integrations > API Integration page. Learn more about managing Webhook subscriptions

3360

Figure 1: API Integration page with navigation menu