Hospitable webhooks (instant updates)
Hospitable's API has no way to register a webhook, so the host adds one in Hospitable, once. Every Hospitable connection has its own webhook URL. Once it is added, new bookings, changes and guest messages reach Repull the moment they happen in Hospitable, and the connection stops being polled.
What the host does in Hospitable
- In Hospitable, open Apps → Webhooks (under Tools) and click + Add new.
- Give it a name (for example "Repull") and paste the connection's webhook URL.
- Tick Reservations, Messages, Properties and Reviews, then click Save.
- Click Test. Hospitable sends a sample right away, and the connection's webhook status turns
receiving.
The URL looks like https://api.repull.dev/webhooks/pms/hospitable?token=…. It belongs to one connection and stays the same when the host reconnects, so it only has to be added once. Every delivery is verified (the token in the URL and Hospitable's signature) before anything is used.
In hosted Connect
When a host connects Hospitable through Connect, an optional Get instant updates step follows the access token step. It shows the URL with a Copy button and where to paste it in Hospitable, and its status turns verified when the first delivery arrives. Continue returns the host to your app either way, so skipping it never blocks the connection.
Show the URL in your own app
If you connect hosts with your own UI, read webhook and show the host its URL. Hospitable connections carry it on GET /v1/connect, on GET /v1/connect/hospitable and on the POST /v1/connect/hospitable/credentials response. Other providers do not have it.
curl https://api.repull.dev/v1/connect \
-H 'Authorization: Bearer sk_live_...'
# { "data": [
# { "id": "142", "provider": "hospitable", "status": "active",
# "webhook": {
# "url": "https://api.repull.dev/webhooks/pms/hospitable?token=4f9c2a7e1b3d5f60a8c9e2b4d6f8a0c1",
# "status": "not_configured",
# "lastReceivedAt": null,
# "events": ["Reservations", "Messages", "Properties", "Reviews"]
# } } ] }The webhook object
urlstringThe webhook URL to paste into Hospitable. Unique to this connection; a reconnect keeps it.
statusstringnot_configured: no delivery yet (the host has not added the URL). receiving: a delivery arrived in the last 24 hours. stale: deliveries arrived before, none in the last 24 hours.
lastReceivedAtstring | nullWhen the last verified delivery arrived (ISO 8601); null before the first.
eventsstring[]The webhook types to tick in Hospitable: Reservations, Messages, Properties, Reviews.
How syncing changes with the webhook
receiving: the connection is updated from webhooks alone and is not polled at all. Guest messages arrive instantly.not_configuredorstale: the connection is polled every minute, as it is without a webhook. The first poll after it goes stale re-reads the whole silent window, so nothing is lost.- Polling picks up reservations; guest messages come in instantly only through the webhook. That is the main reason to set it up.
A quiet account can read stale
stale while its webhook still works. Nothing is missed in the meantime (it is polled every minute), and the next delivery flips it back to receiving. If it stays stale while the host is busy, ask them to check the webhook in Hospitable and click Test.See also Connect (multi-channel), the Hospitable guide and Repull webhooks for events sent to your app.