Webhooks
Receive real-time notifications:
typescript
// Settings > API > Webhooks
// Add Webhook URL
// Supported events:
const webhookEvents = [
'booking.created',
'booking.updated',
'booking.cancelled',
'payment.received',
'payment.failed',
'customer.created',
];Payload Example:
json
{
"event": "booking.created",
"timestamp": "2024-01-15T10:00:00Z",
"data": {
"id": "bk_123456",
"customerName": "John Doe",
"service": "Haircut",
"dateTime": "2024-01-15T14:00:00Z",
"status": "confirmed"
}
}