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

# Events

> The events NowBookIt sends, and what each request contains.

## Booking events

Need `reservations:read` on your API key.

| Event | Sent when |
| - | - |
| `booking.created` | A booking is created. A booking that needs a deposit is sent once its payment is complete |
| `booking.updated` | Anything else about the booking changes, such as time, party size, table, notes or status. Also a move to another date (see `previousBookingId`) |
| `booking.seated` | The guests are seated. Sent instead of `booking.updated` for that change |
| `booking.finished` | The booking is finished. Sent instead of `booking.updated` for that change |
| `booking.cancelled` | The booking is cancelled |

Bookings that are pending payment, or marked as a no-show, are never sent. A booking cancelled before its deposit was paid is never sent either.

## Gift card events (coming soon)

> [!NOTE]
>
> Gift card events are coming soon. You can subscribe to them now, but they aren't sent yet.

Need `giftcards:read` on your API key.

| Event | Sent when |
| - | - |
| `giftcard.created` | A gift card is created: bought through the venue's widget, or issued by the venue |
| `giftcard.updated` | The venue changes a gift card |
| `giftcard.cancelled` | A gift card is cancelled |
| `giftcard.redeemed` | Some or all of a gift card is redeemed |

## The request

```http theme={null}
POST https://example.com/nowbookit
Content-Type: application/json
NBI-Signature: t=1792675202,v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bd
```

```json Booking event theme={null}
{
  "eventId": "booking.updated:booking_2026-10-26_LJJHLCXQTG3OV_1792675201738:2-d4e5f6",
  "eventType": "booking.updated",
  "schemaVersion": 1,
  "occurredAt": "2026-10-22T13:20:02.138Z",
  "orgId": "b1afc6a1-3ed8-4d5f-9764-b47919502cee",
  "nbiVenueId": "6319",
  "posLocationId": "POS-01",
  "bookingId": "booking_2026-10-26_LJJHLCXQTG3OV_1792675201738",
  "source": { "channel": "api", "integrationId": "your-integration-id" },
  "data": {
    "booking": {
      "id": "booking_2026-10-26_LJJHLCXQTG3OV_1792675201738",
      "bookingRef": "75201738",
      "status": "Confirmed",
      "bookingDateTime": "2026-10-26T11:30:00",
      "durationMinutes": 90,
      "partySize": 2,
      "service": { "id": "service_J7RPZKEI2AMLB_1755046058952", "name": "Lunch" },
      "diner": { "firstName": "Alex", "lastName": "Ng", "email": "alex@example.com", "phone": "+61400000000" },
      "tableIds": ["table_FCH5JRCACH93G_1755045970027"]
    },
    "changes": [{ "field": "status", "oldValue": "Unconfirmed", "newValue": "Confirmed" }]
  }
}
```

```json Gift card event (coming soon) theme={null}
{
  "eventId": "giftcard.redeemed:88123:4",
  "eventType": "giftcard.redeemed",
  "schemaVersion": 1,
  "occurredAt": "2026-11-05T01:00:00.000Z",
  "orgId": "b1afc6a1-3ed8-4d5f-9764-b47919502cee",
  "nbiVenueId": "6314",
  "giftCardId": "88123",
  "source": { "integrationId": "your-integration-id" },
  "data": {
    "giftCard": {
      "maskedCardNumber": "***-****-****-1934",
      "paymentTransactionId": "pi_3PZbQx2eZvKYlo2C",
      "amountInCents": 10000,
      "redeemedAmountInCents": 2500,
      "status": "PartiallyRedeemed",
      "currency": "AUD"
    }
  }
}
```

```json Test event theme={null}
{
  "eventId": "0f6d7f38-5c1e-4b7a-9d2f-3e8a1b6c4d90",
  "eventType": "webhook.test",
  "schemaVersion": 1,
  "occurredAt": "2026-11-05T01:00:00.000Z",
  "nbiVenueId": "6319",
  "data": {
    "message": "A test event from NowBookIt. Check the NBI-Signature with this venue's secret."
  }
}
```

### Fields

**eventId** `string` *required*

Unique per change. Treat it as an opaque string. A retry sends the same `eventId` again, so skip one you've already handled.

**eventType** `string` *required*

One of the events above, or `webhook.test`.

**schemaVersion** `integer` *required*

`1`. New fields may be added without changing it. A breaking change gets a new version.

**occurredAt** `string` *required*

When NowBookIt recorded the change (ISO 8601, UTC).

**orgId** `string`

The venue's organisation.

**nbiVenueId** `string`

The NowBookIt venue id. Use it to choose the signing secret. Left out of a group webhook's test event.

**posLocationId** `string`

Your own id for this venue, when one is set up.

**bookingId** `string`

Booking events. The booking after the change. On a date move this is the new booking's id.

**previousBookingId** `string`

Date moves only. The original booking, now cancelled.

**giftCardId** `string`

Gift card events. The gift card's id.

**source** `object`

Who made the change.

**properties**

**channel** `string`

Booking events. How the change was made, such as `api`, `diary` or `widget`.

**integrationId** `string`

The integration whose API key made the change. Left out when there is none, such as a change in the diary or the booking widget.

On gift card events, `source` appears only when an API key made the change.

**data.booking** `object`

Booking events. The full booking after the change, in the same shape as [Get a Reservation](https://api-docs.nowbookit.com/platform/reservation/get-reservation.md). It includes the guest's name, email and phone, so handle it as personal data.

`status` is always one of `Unconfirmed`, `Confirmed`, `Seated`, `Cancelled`, `Finished`, even if the venue renamed its statuses.

**data.changes** `object[]`

`booking.updated`, `booking.seated` and `booking.finished` only. Each changed `field`, with its `oldValue` and `newValue`.

**data.giftCard** `object`

Gift card events.

**properties**

**maskedCardNumber** `string`

Only the last 4 characters are shown, so you can match a card but not redeem it.

**paymentTransactionId** `string`

The payment transaction recorded for the card.

**amountInCents** `integer`

The card's value, in cents.

**redeemedAmountInCents** `integer`

The amount this redemption took. `0` for other events.

**status** `string`

One of `Active`, `Cancelled`, `Redeemed`, `AwaitingPayment`, `PendingPostage`, `PartiallyRedeemed`, `Expired`.

**currency** `string`

ISO 4217 code, e.g. `AUD`.


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