Webhooks

Webhook Event Reference

A worked example payload for every Booklink webhook event, including session events, plus the payment, coupon and location fields a booking carries.

Last updated

Every webhook request has the same outer envelope, with the changed booking, enrollment or session inside data. The examples below show a realistic payload for each event type. Identifiers are 16-character strings and all times are UTC in ISO 8601 format.

The envelope

{
  "id": "evt_8HgT2kQm9vLxRp4c",
  "type": "booking.created",
  "created": "2026-08-29T09:12:04.512Z",
  "data": { }
}
id
Unique per event, prefixed evt_. Use it to make your handler idempotent: the same event can arrive more than once.
type
One of the fourteen event names, or ping for a test.
created
When Booklink generated the event. Use it to discard payloads that arrive out of order after a retry.
data
The full booking for booking.* events, the full enrollment for enrollment.* events, the package purchase for package.* events, the session for session.* events, and null for a ping.

Empty fields are omitted

Optional fields are left out of the JSON when they have no value, so do not assume every key below is always present. Always read fields defensively.

Referral attribution

Every booking.* and enrollment.* payload can carry an attribution object. It holds the ref, utm_source, utm_medium, utm_campaign, utm_term and utm_content query parameters, plus the ad click IDs gclid, gbraid and wbraid (Google Ads), fbclid (Meta) and msclkid (Microsoft Ads), that were on your booking link when the customer landed on it, so a link such as https://app.booklink.co.za/to/your-business?ref=partner-a&utm_source=newsletter lets you credit the booking to that partner or campaign in your own tools. Only those keys are kept, each value is trimmed to 200 characters, and the object is set once at creation and never changes afterwards. It is omitted entirely when the link carried none of them.

Visit location

Every booking.* payload carries a location object that says where the appointment happens. For a visit at the client's address it looks like this:

"location": {
  "type": "at_client",
  "place_id": "osm:n2547718423",
  "place_name": "Kenilworth",
  "area_id": "4VcR8mQt2LpN7KxB",
  "address": "12 Main Road, Unit 4"
}
type
Always present: at_business, at_client or online.
place_id
The suburb the client chose: osm: followed by an OpenStreetMap id, or custom: followed by an id for a suburb you added yourself.
place_name
The suburb name as it was when the booking was made.
area_id
The service area that covered the booking. Left out when the booking is outside your areas or was made without one.
address
The street address the client typed. Treat it like customer_email and customer_phone: it is personal information.

type is always there. The other fields are left out when they are empty, so a booking at your business or online usually has just type.

The same details also appear at the top level of the booking, as location_type, place_id, place_name, area_id and client_address. client_address is the same street address as location.address, so treat it like customer_email and customer_phone too. Those are left out when empty, and bookings made before service areas existed have no location_type. Prefer the location object: it is always present.

Payments, coupons and other booking fields

Booking payloads carry the whole booking, so they include more than the examples below show. The fields worth knowing:

payments
The booking's payment ledger, one entry per payment: id, amount_cents, method, source (gateway for an online payment, operator for one recorded by your team), an optional reference and note, and created. Left out while nothing has been paid.
balance_due_cents
What is still owed on the booking. Always present; 0 when nothing is owed, for a cancelled booking and for one paid with a package.
payment_recordable
Always present: whether your team can still record a payment on the booking.
amount_paid_cents
The total paid so far.
payment_method
How the booking was paid or is being paid: the gateway name (yoco, paystack, payfast or ikhokha) for an online payment, eft for a bank transfer (chosen on the booking page or recorded by your team), or cash, card or other for a payment your team recorded.
payment_reference
The short reference a client quotes when paying by bank transfer.
pay_in_full
true when the client chose to pay the full price instead of the deposit.
coupon_id, coupon_code, coupon_discount_cents
The coupon used on the booking and what it took off.
discount_cents
What a sale took off the price.
price_overridden, list_price_cents
Set when your team booked at a custom price: list_price_cents is the normal price.
session_id, seat_count
For a group session booking: the session and how many spots the booking holds.
enrollment_id
The enrollment a session booking belongs to, when the client is enrolled in a group or cohort.
client_package_id
The client package the booking was paid with.
series_id, series_visit, series_discount_cents
Set when the booking is a visit of a repeating appointment: the series it belongs to, its place in the series (1 for the first visit) and what the series discount took off the price. All three are left out when empty: a booking outside a series has none of them, and a series visit with no discount has no series_discount_cents. Each entry in items carries series_discount_cents when a discount applied.
payment_overdue
Always present: true when a visit of a repeating appointment has passed its pay-by time and is still unpaid, false otherwise.
video_provider
zoom or google_meet when the booking has a video call, with the join link in meet_link.
staff_notes
Your team's internal notes on the booking. Clients never see them, but they are in the payload, so keep them out of anything you share.

Each entry in items can also carry original_price_cents, discount_cents, sale_label and coupon_discount_cents when a sale or coupon applied to that service.

booking.created

Sent as soon as a booking exists. On a service that requires payment, the booking arrives pending and unpaid. A booking.confirmed event follows later once payment lands or you confirm it manually.

{
  "id": "evt_8HgT2kQm9vLxRp4c",
  "type": "booking.created",
  "created": "2026-08-29T09:12:04.512Z",
  "data": {
    "id": "9mKr4Tq7XbNc2VdW",
    "client_id": "5pQz8LmT3nRk9WxB",
    "service_id": "2VnJ7kQx4LmT8pRc",
    "team_member_id": "7XcT2mQk9nLp4VrB",
    "room_id": "3JbN8vQt5mXd2LcR",
    "customer_name": "Naledi Mokoena",
    "customer_email": "naledi@example.com",
    "customer_phone": "+27821234567",
    "notes": "First visit. Allergic to almond oil.",
    "start_time": "2026-09-03T09:00:00Z",
    "end_time": "2026-09-03T10:00:00Z",
    "status": "pending",
    "payment_status": "unpaid",
    "reschedule_count": 0,
    "variant_id": "6TbK9mQx2nLp7VrD",
    "price_cents": 45000,
    "payment_expiry_minutes": 30,
    "conflict_status": "none",
    "balance_due_cents": 45000,
    "payment_recordable": true,
    "custom_answers": [
      {
        "field_id": "4KcR7pQm2nTx9VbL",
        "label": "How did you hear about us?",
        "type": "text",
        "value": "Instagram"
      }
    ],
    "attribution": {
      "ref": "partner-a",
      "utm_source": "newsletter",
      "utm_campaign": "spring"
    },
    "items": [
      {
        "service_id": "2VnJ7kQx4LmT8pRc",
        "variant_id": "6TbK9mQx2nLp7VrD",
        "service_name": "Deep Tissue Massage",
        "variant_name": "60 minutes",
        "duration_minutes": 60,
        "price_cents": 45000,
        "payment_required": true,
        "deposit_cents": 15000
      }
    ],
    "policy_snapshot": {
      "auto_confirm": false,
      "payment_required": true,
      "deposit_cents": 15000,
      "payment_expiry_minutes": 30,
      "allow_cancel": true,
      "cancel_deadline_hours": 24,
      "allow_reschedule": true,
      "reschedule_deadline_hours": 24,
      "max_reschedules": 2,
      "booking_cutoff_minutes": 120,
      "require_phone": true
    },
    "location_type": "at_business",
    "location": {
      "type": "at_business"
    },
    "created_at": "2026-08-29T09:12:04.487Z"
  }
}

A few fields are worth calling out. items is always present and lists every service on the booking, so a multi-service booking has more than one entry. policy_snapshot is the booking policy frozen at the time of booking, which is what your cancellation and reschedule logic should honour. All money is in cents, so 45000 means R450.00.

booking.confirmed

Sent when the booking becomes confirmed. On an auto-confirm service this arrives immediately after booking.created. After an online payment it arrives once the gateway confirms, with the payment fields filled in.

{
  "id": "evt_2QxL9mTk7RpN4VcB",
  "type": "booking.confirmed",
  "created": "2026-08-29T09:14:51.203Z",
  "data": {
    "id": "9mKr4Tq7XbNc2VdW",
    "client_id": "5pQz8LmT3nRk9WxB",
    "service_id": "2VnJ7kQx4LmT8pRc",
    "team_member_id": "7XcT2mQk9nLp4VrB",
    "customer_name": "Naledi Mokoena",
    "customer_email": "naledi@example.com",
    "customer_phone": "+27821234567",
    "start_time": "2026-09-03T09:00:00Z",
    "end_time": "2026-09-03T10:00:00Z",
    "status": "confirmed",
    "payment_status": "paid",
    "meet_link": "https://meet.google.com/abc-defg-hij",
    "transaction_id": "8LpQ2mXt4RvN7KcB",
    "amount_paid_cents": 45000,
    "payment_method": "yoco",
    "reschedule_count": 0,
    "variant_id": "6TbK9mQx2nLp7VrD",
    "price_cents": 45000,
    "conflict_status": "none",
    "payments": [
      {
        "id": "3QvN8mTx2LcR7KpB",
        "amount_cents": 45000,
        "method": "yoco",
        "source": "gateway",
        "reference": "8LpQ2mXt4RvN7KcB",
        "created": "2026-08-29T09:14:50.918Z"
      }
    ],
    "balance_due_cents": 0,
    "payment_recordable": false,
    "items": [
      {
        "service_id": "2VnJ7kQx4LmT8pRc",
        "variant_id": "6TbK9mQx2nLp7VrD",
        "service_name": "Deep Tissue Massage",
        "variant_name": "60 minutes",
        "duration_minutes": 60,
        "price_cents": 45000,
        "payment_required": true,
        "deposit_cents": 15000
      }
    ],
    "policy_snapshot": {
      "auto_confirm": false,
      "payment_required": true,
      "deposit_cents": 15000,
      "payment_expiry_minutes": 30,
      "allow_cancel": true,
      "cancel_deadline_hours": 24,
      "allow_reschedule": true,
      "reschedule_deadline_hours": 24,
      "max_reschedules": 2,
      "booking_cutoff_minutes": 120,
      "require_phone": true
    },
    "location_type": "online",
    "location": {
      "type": "online"
    },
    "created_at": "2026-08-29T09:12:04.487Z"
  }
}

booking.rescheduled

Sent when a booking moves. The payload carries the new times only, so store the previous times on your side if you need a before and after. reschedule_count tells you how many times the booking has moved.

{
  "id": "evt_5RpT8mQx2LcN9VbK",
  "type": "booking.rescheduled",
  "created": "2026-08-30T11:02:17.884Z",
  "data": {
    "id": "9mKr4Tq7XbNc2VdW",
    "client_id": "5pQz8LmT3nRk9WxB",
    "service_id": "2VnJ7kQx4LmT8pRc",
    "team_member_id": "7XcT2mQk9nLp4VrB",
    "customer_name": "Naledi Mokoena",
    "customer_email": "naledi@example.com",
    "customer_phone": "+27821234567",
    "start_time": "2026-09-05T14:00:00Z",
    "end_time": "2026-09-05T15:00:00Z",
    "status": "confirmed",
    "payment_status": "paid",
    "external_event_id": "6f2n8kqm4tvc9xbr",
    "transaction_id": "8LpQ2mXt4RvN7KcB",
    "amount_paid_cents": 45000,
    "payment_method": "yoco",
    "reschedule_count": 1,
    "calendar_sequence": 1,
    "variant_id": "6TbK9mQx2nLp7VrD",
    "price_cents": 45000,
    "conflict_status": "none",
    "payments": [
      {
        "id": "3QvN8mTx2LcR7KpB",
        "amount_cents": 45000,
        "method": "yoco",
        "source": "gateway",
        "reference": "8LpQ2mXt4RvN7KcB",
        "created": "2026-08-29T09:14:50.918Z"
      }
    ],
    "balance_due_cents": 0,
    "payment_recordable": false,
    "items": [
      {
        "service_id": "2VnJ7kQx4LmT8pRc",
        "variant_id": "6TbK9mQx2nLp7VrD",
        "service_name": "Deep Tissue Massage",
        "variant_name": "60 minutes",
        "duration_minutes": 60,
        "price_cents": 45000,
        "payment_required": true,
        "deposit_cents": 15000
      }
    ],
    "policy_snapshot": {
      "auto_confirm": false,
      "payment_required": true,
      "deposit_cents": 15000,
      "payment_expiry_minutes": 30,
      "allow_cancel": true,
      "cancel_deadline_hours": 24,
      "allow_reschedule": true,
      "reschedule_deadline_hours": 24,
      "max_reschedules": 2,
      "booking_cutoff_minutes": 120,
      "require_phone": true
    },
    "location_type": "at_business",
    "location": {
      "type": "at_business"
    },
    "created_at": "2026-08-29T09:12:04.487Z"
  }
}

booking.updated

Sent when you change or add services on a booking. The payload has the same shape as booking.rescheduled and carries the booking as it is now: the new service_id, price_cents, times and, for more than one service, items. When the change moves the start or end time (a new time, or a longer or shorter visit), a booking.rescheduled event with the same booking is sent too. reschedule_count does not change.

To see what is still owed, read balance_due_cents: the new total less everything paid so far. It is 0 when the booking needs no payment. Do not work it out from price_cents, which leaves out extras and, on a booking with more than one service, every service after the first.

booking.cancelled

Sent whenever a booking is cancelled. cancelled_by tells you who did it: operator for someone in your team, client for a self-service cancellation from the manage link, and system for automatic cancellations such as an unpaid booking expiring or a session being cancelled.

{
  "id": "evt_7VcN4mQt9LpR2KxB",
  "type": "booking.cancelled",
  "created": "2026-09-01T06:45:09.331Z",
  "data": {
    "id": "9mKr4Tq7XbNc2VdW",
    "client_id": "5pQz8LmT3nRk9WxB",
    "service_id": "2VnJ7kQx4LmT8pRc",
    "team_member_id": "7XcT2mQk9nLp4VrB",
    "customer_name": "Naledi Mokoena",
    "customer_email": "naledi@example.com",
    "customer_phone": "+27821234567",
    "start_time": "2026-09-05T14:00:00Z",
    "end_time": "2026-09-05T15:00:00Z",
    "status": "cancelled",
    "payment_status": "paid",
    "transaction_id": "8LpQ2mXt4RvN7KcB",
    "amount_paid_cents": 45000,
    "payment_method": "yoco",
    "reschedule_count": 1,
    "variant_id": "6TbK9mQx2nLp7VrD",
    "price_cents": 45000,
    "conflict_status": "none",
    "payments": [
      {
        "id": "3QvN8mTx2LcR7KpB",
        "amount_cents": 45000,
        "method": "yoco",
        "source": "gateway",
        "reference": "8LpQ2mXt4RvN7KcB",
        "created": "2026-08-29T09:14:50.918Z"
      }
    ],
    "balance_due_cents": 0,
    "payment_recordable": false,
    "cancellation_reason": "Client is unwell.",
    "cancelled_by": "client",
    "cancelled_time": "2026-09-01T06:45:09.298Z",
    "items": [
      {
        "service_id": "2VnJ7kQx4LmT8pRc",
        "variant_id": "6TbK9mQx2nLp7VrD",
        "service_name": "Deep Tissue Massage",
        "variant_name": "60 minutes",
        "duration_minutes": 60,
        "price_cents": 45000,
        "payment_required": true,
        "deposit_cents": 15000
      }
    ],
    "policy_snapshot": {
      "auto_confirm": false,
      "payment_required": true,
      "deposit_cents": 15000,
      "payment_expiry_minutes": 30,
      "allow_cancel": true,
      "cancel_deadline_hours": 24,
      "allow_reschedule": true,
      "reschedule_deadline_hours": 24,
      "max_reschedules": 2,
      "booking_cutoff_minutes": 120,
      "require_phone": true
    },
    "location_type": "at_business",
    "location": {
      "type": "at_business"
    },
    "created_at": "2026-08-29T09:12:04.487Z"
  }
}

booking.completed

Sent after a confirmed booking’s end time passes. A background sweep looks for newly ended bookings, so expect this shortly after the end time rather than on the exact second. The booking status stays confirmed; the event itself is what tells you the appointment is done.

{
  "id": "evt_3KxQ7mTv2NpL9RcB",
  "type": "booking.completed",
  "created": "2026-09-05T15:05:00.642Z",
  "data": {
    "id": "9mKr4Tq7XbNc2VdW",
    "client_id": "5pQz8LmT3nRk9WxB",
    "service_id": "2VnJ7kQx4LmT8pRc",
    "team_member_id": "7XcT2mQk9nLp4VrB",
    "customer_name": "Naledi Mokoena",
    "customer_email": "naledi@example.com",
    "customer_phone": "+27821234567",
    "start_time": "2026-09-05T14:00:00Z",
    "end_time": "2026-09-05T15:00:00Z",
    "status": "confirmed",
    "payment_status": "paid",
    "transaction_id": "8LpQ2mXt4RvN7KcB",
    "amount_paid_cents": 45000,
    "payment_method": "yoco",
    "reschedule_count": 1,
    "variant_id": "6TbK9mQx2nLp7VrD",
    "price_cents": 45000,
    "conflict_status": "none",
    "payments": [
      {
        "id": "3QvN8mTx2LcR7KpB",
        "amount_cents": 45000,
        "method": "yoco",
        "source": "gateway",
        "reference": "8LpQ2mXt4RvN7KcB",
        "created": "2026-08-29T09:14:50.918Z"
      }
    ],
    "balance_due_cents": 0,
    "payment_recordable": false,
    "items": [
      {
        "service_id": "2VnJ7kQx4LmT8pRc",
        "variant_id": "6TbK9mQx2nLp7VrD",
        "service_name": "Deep Tissue Massage",
        "variant_name": "60 minutes",
        "duration_minutes": 60,
        "price_cents": 45000,
        "payment_required": true,
        "deposit_cents": 15000
      }
    ],
    "policy_snapshot": {
      "auto_confirm": false,
      "payment_required": true,
      "deposit_cents": 15000,
      "payment_expiry_minutes": 30,
      "allow_cancel": true,
      "cancel_deadline_hours": 24,
      "allow_reschedule": true,
      "reschedule_deadline_hours": 24,
      "max_reschedules": 2,
      "booking_cutoff_minutes": 120,
      "require_phone": true
    },
    "location_type": "at_business",
    "location": {
      "type": "at_business"
    },
    "created_at": "2026-08-29T09:12:04.487Z"
  }
}

enrollment.created

Sent when a client is enrolled into a group or cohort, whether you added them or they signed up from the booking page. The data is the enrollment, not a booking, so the shape is different.

{
  "id": "evt_6NpL2mQx8TvR4KcB",
  "type": "enrollment.created",
  "created": "2026-08-29T13:22:41.907Z",
  "data": {
    "id": "4TbN9mQx7LpR2VcK",
    "cohort_id": "8VcR3mQt5LpN7KxB",
    "client_id": "5pQz8LmT3nRk9WxB",
    "customer_name": "Sipho Dlamini",
    "customer_email": "sipho@example.com",
    "customer_phone": "+27835557788",
    "variant_id": "2LmQ9xTv4RpN8KcB",
    "payment_model": "upfront",
    "total_amount_cents": 240000,
    "paid_amount_cents": 240000,
    "refunded_amount_cents": 0,
    "payment_status": "paid",
    "transaction_id": "9KxT4mQp2LvN7RcB",
    "checkout_id": "7RcB2mQx9LpT4VkN",
    "accepted_terms_at": "2026-08-29T13:22:38.114Z",
    "status": "active",
    "created_at": "2026-08-29T13:22:41.882Z"
  }
}

payment_model is one of upfront, deposit, or per_session. status is active, cancelled, or completed.

enrollment.cancelled

Sent when an enrollment is cancelled. Booklink first sends a booking.cancelled event for each of the enrollment’s remaining session bookings, then this event. Handle both, or you will see session cancellations without knowing the enrollment behind them ended.

{
  "id": "evt_9LcT4mQx7RpN2VbK",
  "type": "enrollment.cancelled",
  "created": "2026-09-02T08:15:33.441Z",
  "data": {
    "id": "4TbN9mQx7LpR2VcK",
    "cohort_id": "8VcR3mQt5LpN7KxB",
    "client_id": "5pQz8LmT3nRk9WxB",
    "customer_name": "Sipho Dlamini",
    "customer_email": "sipho@example.com",
    "customer_phone": "+27835557788",
    "variant_id": "2LmQ9xTv4RpN8KcB",
    "payment_model": "upfront",
    "total_amount_cents": 240000,
    "paid_amount_cents": 240000,
    "refunded_amount_cents": 120000,
    "payment_status": "paid",
    "transaction_id": "9KxT4mQp2LvN7RcB",
    "accepted_terms_at": "2026-08-29T13:22:38.114Z",
    "status": "cancelled",
    "created_at": "2026-08-29T13:22:41.882Z"
  }
}

Package events

The two package events share one payload, which describes a package a client holds. package.purchased is sent when a client buys a package online and the payment activates it, and when you sell a package to a client yourself. A client who pays after their purchase was cancelled does not get an active package, so that sends no package.purchased. package.cancelled is sent when a package is cancelled, including a purchase that was never paid, which carries an amount paid of 0.

{
  "id": "evt_5KtR8mQx2LpN7VcB",
  "type": "package.purchased",
  "created": "2026-11-01T10:00:02.318Z",
  "data": {
    "id": "cp1",
    "package_id": "pkg1",
    "package_name": "10 session pass",
    "client": {
      "id": "cl1",
      "name": "Ada Lovelace",
      "email": "ada@example.com"
    },
    "amount_paid_cents": 150000,
    "currency": "ZAR",
    "source": "online",
    "paid_at": "2026-11-01T10:00:00Z",
    "credits_total": 10,
    "expiry": "2027-05-01T09:00:00Z"
  }
}

A cancelled package has the same fields, plus cancelled_at and, when you entered an amount refunded, refunded_cents:

{
  "id": "evt_3VnT6mQx9LpR4KcB",
  "type": "package.cancelled",
  "created": "2026-11-20T08:30:01.052Z",
  "data": {
    "id": "cp1",
    "package_id": "pkg1",
    "package_name": "10 session pass",
    "client": {
      "id": "cl1",
      "name": "Ada Lovelace",
      "email": "ada@example.com"
    },
    "amount_paid_cents": 150000,
    "currency": "ZAR",
    "source": "operator",
    "paid_at": "2026-11-01T10:00:00Z",
    "credits_total": 10,
    "expiry": "2027-05-01T09:00:00Z",
    "refunded_cents": 50000,
    "cancelled_at": "2026-11-20T08:30:00Z"
  }
}

source is online when the client bought it on your booking page and operator when you sold it. paid_at and expiry are left out when they do not apply, for example when the package never expires. client holds the client’s name and email as saved in Booklink.

Session events

The four session events are session.created, session.updated, session.cancelled and session.deleted. They share one payload, which describes the session and its capacity. It never includes customer details or meeting links, so it is safe to show on your own website.

Only group sessions send these events. 1:1 bookings send none, and neither does a session that has already ended. session.updated is sent for any change to the payload, including every change in booked seats, so seats_booked and seats_available stay current without you combining booking events. Cancelling a session sends only session.cancelled, and attaching a session to a program or detaching it sends session.updated.

{
  "id": "evt_6TqN3mKx8RpL2VcB",
  "type": "session.updated",
  "created": "2026-09-01T07:31:12.406Z",
  "data": {
    "id": "6VqT3mNk8LpR2XcB",
    "service_id": "2VnJ7kQx4LmT8pRc",
    "service_name": "Morning Pilates",
    "team_member_id": "7XcT2mQk9nLp4VrB",
    "team_member_name": "Thandi Nkosi",
    "room_id": "3JbN8vQt5mXd2LcR",
    "recurrence_id": "9KxT4mQp2LvN7RcB",
    "start_time": "2026-09-08T06:00:00Z",
    "end_time": "2026-09-08T06:45:00Z",
    "capacity": 20,
    "seats_booked": 14,
    "seats_available": 6,
    "status": "scheduled",
    "created": "2026-08-29T09:00:00.214Z",
    "updated": "2026-09-01T07:31:12.388Z"
  }
}
FieldWhat it holds
idThe session id. This is the same id a booking carries as session_id.
service_idThe service the session belongs to.
service_nameThe title to show customers: the session's own name if it has one, otherwise the service name.
nameThe session's own name, only when you gave it one. Compare it with service_name to tell an override from the default.
descriptionThe session description, when there is one.
team_member_idThe team member running the session.
team_member_nameThe team member's display name. Empty if that team member has since been removed.
room_idThe room, when one is set.
recurrence_idThe recurring series the session came from, when it belongs to one.
cohort_idThe program (cohort) the session is attached to, when it is part of one.
start_time, end_timeWhen the session starts and ends, in UTC.
capacityThe total number of seats.
seats_bookedSeats taken right now.
seats_availableSeats still open.
statusscheduled, cancelled or completed.
video_providerzoom or google_meet when the session is online. The join link is never included.
createdWhen the session was created.
updatedWhen the session was last changed. Use it to order events, as described below.

Fields with no value (name, description, room_id, recurrence_id, cohort_id and video_provider) are left out of the JSON.

Keeping sessions in the right order

Deliveries can arrive late or out of order, for example when one is retried. For each session id, keep the payload with the newest updated and ignore any older one. Two bookings made seconds apart can arrive as 6 seats booked and then 5, and updated is what tells you which one is current.

When a service or team member is renamed, Booklink sends session.updated for their upcoming sessions in the next 90 days so that service_name and team_member_name stay correct. The session itself did not change, so updated stays the same as before. What is new is the envelope created. When two events for a session carry the same updated, keep the one with the newer envelope created.

session.deleted carries the session as it was just before it was deleted. Remove that session id from your copy and ignore any session.updated for it that arrives afterwards.

Missed a delivery?

Webhooks are retried for about 24 hours, but a long outage can still leave a gap, and a missed session.deleted leaves a deleted class on your site. Re-read the session feed now and then to put your copy right.

ping

Sent only when you click Test on an endpoint. It is signed exactly like a real event and carries no data.

{
  "id": "evt_4Lm7QxT2kR9pVcNb",
  "type": "ping",
  "created": "2026-08-29T09:10:00.118Z",
  "data": null
}

Field values you can rely on

FieldPossible values
status (booking)pending, confirmed, cancelled
payment_statusunpaid, pending, partial, manual, paid, failed, package
cancelled_byoperator, client, system
conflict_statusnone, flagged, resolved
status (enrollment)active, cancelled, completed
payment_modelupfront, deposit, per_session

New values may be added

Treat these lists as the current set, not a permanent one. Write your handler so an unrecognised status or event type is logged and ignored rather than throwing an error, otherwise a future addition will start failing your deliveries.

Was this article helpful?

Still need help?

Our support team is happy to help you get the most out of Booklink.

Contact support