---
title: "Introduction — Documentation"
canonical: "https://repull.dev/docs/webhooks-introduction"
description: "Receive signed real-time webhooks for reservation changes, guest messages, listing and calendar updates, payments and account events."
updated: "2026-11-30T00:48:58.694Z"
commit: "18314c12fefb59a7545ef7607c0893919de20aa9"
---

# Webhooks

TL;DR

POST `/v1/webhooks`with a URL and event list. Repull sends HMAC-SHA256 signed JSON payloads on reservation changes, guest messages, listing & calendar updates, payments, and account events.

Receive real-time HTTP POST notifications when events happen in connected PMS accounts. Instead of polling the API, webhooks push data to your server the moment something changes.

## How It Works

1. You register a webhook URL and select which event types to subscribe to
2. When an event occurs (e.g. a new reservation is created), Repull sends an HTTP POST to your URL
3. The request body contains the full event payload with all relevant data
4. Your server verifies the HMAC-SHA256 signature and processes the event
5. Return a 2xx status within 10 seconds to acknowledge receipt

## Available Events

| Event | Description |
| --- | --- |
| `reservation.created` | A new reservation arrived from any connected channel or direct booking |
| `reservation.updated` | Dates, guest count, status, or pricing changed on a reservation |
| `reservation.cancelled` | A reservation was cancelled by the guest, host, or platform |
| `reservation.message.received` | A new inbound guest message arrived on a reservation thread |
| `reservation.message.sent` | A host message was sent on a reservation thread, in the channel's app or through Repull |
| `reservation.message.updated` | A message was edited on the channel; carries the new and previous text |
| `reservation.message.read` | The guest read your message (Airbnb read receipts); everything before it was read too |
| `reservation.message.reaction` | A reaction was added to or removed from a message (Airbnb): emoji, who and when |
| `listing.created` | A new property was synced from a connected PMS or channel |
| `listing.updated` | Listing content, amenities, photos, or status changed |
| `listing.deleted` | A property was removed from Repull or the upstream PMS |
| `account.created` | An OAuth or API credential connection was completed |
| `account.disconnected` | A connection was revoked, expired, or rejected upstream |
| `ai.operation.completed` | An async AI run (review response, message draft, pricing) finished |
| `ai.operation.failed` | An async AI run terminated with an error and will not retry |
| `payment.completed` | A guest payment was successfully captured |
| `payment.refunded` | A previous payment was refunded in part or in full |
| `repull.ping` | A diagnostic delivery used to verify endpoint reachability |

See **Event Types** for the full payload schema of each event.

> **Note: Inactive listings do not send events**
>
> Events about an inactive listing (reservations, messages, alterations, reviews, payments, calendar and listing events) are not delivered. They are not held for later either: activating the listing resumes delivery for events from that moment on, and the data that changed in the meantime is already synced. Account-level events are always delivered. See [Active & inactive listings](https://repull.dev/docs/manage-listings.md).

> **Note: Connecting an account does not replay its history**
>
> Webhooks describe what happens after an account is connected. When you connect an account, Repull imports its existing reservations, payments, reviews and messages, but does not send an event for each of them: after `account.created`, read what is already there with `GET /v1/reservations` and the other list endpoints, then rely on webhooks for everything that changes from then on. New bookings, messages, payments and reviews after the connection, and changes to anything you already have, are delivered as usual. Each change is delivered once, even if the account is synced again or reconnected.

> **Note: Which account an event is about**
>
> Every event carries an `account` block: `externalAccountId`is the platform's own account id (Airbnb host id, Booking.com hotel id, the Booking.com account id behind an Extranet login, the Vrbo account id, the PMS account id) and `id` is our connection record, the `X-Account-Id`. Account fields inside `data` (`externalAccountId`, `accountId`, `connectionId`) follow the same rule. Extranet and Vrbo events used Repull's login id here until November 2026; see [Account ids](https://repull.dev/docs/identifiers.md#account-ids).

## Routing events to a workspace

If you open a [workspace per customer](https://repull.dev/docs/workspaces.md), events from every customer workspace arrive on the endpoints registered on your own workspace. Each one carries a top-level `workspaceId` naming the workspace it happened in:

```
{
  "event": "reservation.created",
  "eventId": "3f1c9a2e-8b7d-4c6a-9e0f-1a2b3c4d5e6f",
  "apiVersion": "2026-04",
  "timestamp": "2026-05-01T12:34:56.000Z",
  "account": { "id": 135, "provider": "airbnb", "externalAccountId": "79730216" },
  "workspaceId": 2042,
  "data": { /* per-event payload */ }
}
```

- `workspaceId`is present only on events from a customer workspace. Events from your own workspace don't have the field at all, so a missing `workspaceId`means "mine".
- It is the same id as `workspaceId` from `POST /v1/connect` and `GET /v1/workspaces` and the `X-Workspace-Id` header. Those return it as a string (`"2042"`); the event carries a JSON number (`2042`). Compare as strings.

```
const ws = event.workspaceId == null ? null : String(event.workspaceId)
const customer = ws === null ? myOwnWorkspace : await findCustomerByWorkspaceId(ws) // the "workspaceId" you stored
```

## Quick Example

Create a webhook subscription that listens for new and updated reservations:

```
curl -X POST https://api.repull.dev/v1/webhooks \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://your-app.com/webhooks",
    "events": ["reservation.created", "reservation.updated"]
  }'
```

## Security

Every delivery is signed with HMAC-SHA256 using a per-subscription signing secret. Always verify the `X-Repull-Signature` header before processing events. See **Verify Signatures** for implementation examples in Node.js and Python.

> **Note: Reliability**
>
> Failed deliveries are automatically retried 7 times over 24 hours, with backoff (1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours and 24 hours after the first attempt). You can also manually replay any delivery. See **Retries & Replay** for details.
