---
title: "Hospitable webhooks — Documentation"
canonical: "https://repull.dev/docs/connect/hospitable-webhooks"
description: "Instant updates for Hospitable connections: the webhook URL the host adds in Hospitable, its status, and how polling stops while deliveries arrive."
updated: "2026-11-30T00:48:58.694Z"
commit: "18314c12fefb59a7545ef7607c0893919de20aa9"
---

# 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

1. In Hospitable, open **Apps → Webhooks** (under Tools) and click **\+ Add new**.
2. Give it a name (for example "Repull") and paste the connection's webhook URL.
3. Tick **Reservations**, **Messages**, **Properties** and **Reviews**, then click **Save**.
4. 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](https://repull.dev/docs/connect.md), 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**

```bash
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"]
#     } } ] }
```

**TypeScript**

```typescript
const res = await fetch('https://api.repull.dev/v1/connect', {
  headers: { Authorization: `Bearer ${process.env.REPULL_API_KEY}` },
})
const { data } = await res.json()

for (const conn of data) {
  if (conn.provider !== 'hospitable' || !conn.webhook) continue
  const { url, status, lastReceivedAt } = conn.webhook
  if (status !== 'receiving') {
    // Ask the host to add `url` in Hospitable: Apps → Webhooks → + Add new,
    // tick Reservations, Messages, Properties and Reviews, Save, then Test.
    console.log(`Connection ${conn.id}: add ${url} in Hospitable (last delivery: ${lastReceivedAt ?? 'never'})`)
  }
}
```

## The webhook object

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | `string` | No | The webhook URL to paste into Hospitable. Unique to this connection; a reconnect keeps it. |
| `status` | `string` | No | not\_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. |
| `lastReceivedAt` | `string \| null` | No | When the last verified delivery arrived (ISO 8601); null before the first. |
| `events` | `string[]` | No | 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_configured` or `stale`**: 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.

> **Note: A quiet account can read stale**
>
> An account with no bookings or messages for a day can show `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)](https://repull.dev/docs/connect.md), the [Hospitable guide](https://repull.dev/docs/pms/hospitable.md) and [Repull webhooks](https://repull.dev/docs/webhooks-introduction.md) for events sent to your app.
