> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.buqipi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Webhooks

> Signed outbound events with retries and event IDs.

Webhooks are sent as JSON over HTTPS.

## Headers

| Header | Meaning |
| - | - |
| `X-Buqipi-Signature` | Hex HMAC-SHA256 of `X-Buqipi-Timestamp + "." + raw body`. |
| `X-Buqipi-Timestamp` | Unix timestamp used in the signature. |
| `X-Buqipi-Event` | Event name. |
| `X-Buqipi-Event-Id` | Stable event identifier for deduplication. |

Verify the signature with the endpoint secret and reject stale timestamps.

## Events

| Event | When |
| - | - |
| `booking.created` | A checkout completed and the reservation was created. |
| `booking.updated` | Notes, ETA or guest names changed. |
| `booking.cancelled` | A booking was cancelled. |
| `payment.updated` | The payment provider reported a status change. |
| `inventory.changed` | Availability, inventory or rates changed for a property/category. |

Retries use exponential backoff. Store `X-Buqipi-Event-Id` and ignore duplicates.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.