Webhook Events
React to booking activity in real time. Astrocal sends signed HTTP POST requests to your endpoint whenever a booking is created, confirmed, cancelled, or rescheduled.
Key parameters
| Name | Type | Default | Description | Required |
|---|---|---|---|---|
| event | string | — | Event type, e.g. booking.created or booking.cancelled. | — |
| created_at | string | — | ISO 8601 timestamp of when the event occurred. | — |
| data | object | — | The full booking object associated with this event. | — |
Example payload
{
"event": "booking.created",
"created_at": "2026-03-15T10:00:00Z",
"data": {
"id": "bkg_01abc",
"status": "confirmed",
"start_time": "2026-03-20T14:00:00Z"
}
}