Calendar Event Webhooks
The Klen AI API can send webhook notifications for various calendar events, allowing you to integrate with external systems and keep them in sync with your Klen AI calendar.Available Event Types
When configuring a webhook endpoint, you can subscribe to the following calendar event types:Event Type | Description |
---|---|
calendar.created | A calendar event has been created |
calendar.updated | A calendar event has been updated |
calendar.cancelled | A calendar event has been cancelled |
calendar.completed | A calendar event has been completed |
calendar.reminder | A reminder for a calendar event has been sent |
Webhook Payload
When a calendar event occurs, the webhook will receive a payload with the following structure:Event-Specific Payload Differences
Depending on the event type, the payload may contain additional information.calendar.updated
Forcalendar.updated
events, the payload may include information about what was changed:
calendar.cancelled
Forcalendar.cancelled
events, the payload may include a cancellation reason:
Webhook Security
All webhook requests include a signature in theX-Klen-Signature
header for verification. See the Webhook Security documentation for details on how to verify webhook signatures.
Configuring Webhooks
To configure a webhook for calendar events:- Go to the Webhooks page in the Klen AI dashboard
- Click “Create new webhook”
- Enter a name and URL for your webhook
- Select the calendar event types you want to subscribe to
- Click “Create webhook”