The webhook is called when a customer uses the kiosk to check in to an appointment by entering a customer ID. (The "Check-In with customer ID" option must be enabled on the Kiosk).
Calling webhooks before searching for customer appointments in calendars allows you to use Cubu's S2S API to create ad-hoc appointments for the customer.
API
[base-url]/kiosk/actions/beforeQueryAppointments
Request Body
queryType: Supported values: CustomerId
unitId: The kiosk’s parent unit Id
kioskId: The ID of the kiosk which triggered the webhook.
customerId: The ID entered by the customer on the Kiosk